template<class T>
class metrics::ObserverResultT< T >
ObserverResultT class is necessary for the callback recording asynchronous instrument use.
Definition at line 24 of file includes/opentelemetry/metrics/observer_result.h.
|
| virtual | ~ObserverResultT ()=default |
| |
| virtual void | Observe (T value) noexcept=0 |
| |
| 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> |
| void | Observe (T value, const U &attributes) noexcept |
| |
| void | Observe (T value, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes) noexcept |
| |
| virtual | ~ObserverResultT ()=default |
| |
| virtual void | Observe (T value) noexcept=0 |
| |
| 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> |
| void | Observe (T value, const U &attributes) noexcept |
| |
| void | Observe (T value, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes) noexcept |
| |