Template Class ObserverResultT
Defined in File observer_result.h
Inheritance Relationships
Derived Type
public opentelemetry::sdk::metrics::ObserverResultT< T >
(Template Class ObserverResultT)
Class Documentation
-
template<class T>
class ObserverResultT ObserverResultT class is necessary for the callback recording asynchronous instrument use.
Subclassed by opentelemetry::sdk::metrics::ObserverResultT< T >
Public Functions
-
virtual ~ObserverResultT() = default
-
virtual void Observe(T value, const common::KeyValueIterable &attributes) noexcept = 0
-
template<class U, nostd::enable_if_t<common::detail::is_key_value_iterable<U>::value>* = nullptr>
inline void Observe(T value, const U &attributes) noexcept
-
inline void Observe(T value, std::initializer_list<std::pair<nostd::string_view, common::AttributeValue>> attributes) noexcept
-
virtual ~ObserverResultT() = default