A histogram instrument that records values.
Definition at line 19 of file includes/opentelemetry/metrics/meter.h.

Public Member Functions | |
| virtual void | Record (T value, const context::Context &context) noexcept=0 |
| Records a value. More... | |
| virtual void | Record (T value, const common::KeyValueIterable &attributes, const context::Context &context) noexcept=0 |
| Records a value with a set of attributes. More... | |
| template<class U , nostd::enable_if_t< common::detail::is_key_value_iterable< U >::value > * = nullptr> | |
| void | Record (T value, const U &attributes, const context::Context &context) noexcept |
| void | Record (T value, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes, const context::Context &context) noexcept |
| virtual void | Record (T value, const context::Context &context) noexcept=0 |
| Records a value. More... | |
| virtual void | Record (T value, const common::KeyValueIterable &attributes, const context::Context &context) noexcept=0 |
| Records a value with a set of attributes. More... | |
| template<class U , nostd::enable_if_t< common::detail::is_key_value_iterable< U >::value > * = nullptr> | |
| void | Record (T value, const U &attributes, const context::Context &context) noexcept |
| void | Record (T value, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes, const context::Context &context) noexcept |
|
pure virtualnoexcept |
Records a value with a set of attributes.
| value | The measurement value. MUST be non-negative. |
| attributes | A set of attributes to associate with the value.. |
| context | The explicit context to associate with this measurement. |
Implemented in metrics::NoopHistogram< T >, and metrics::NoopHistogram< T >.
|
pure virtualnoexcept |
Records a value with a set of attributes.
| value | The measurement value. MUST be non-negative. |
| attributes | A set of attributes to associate with the value.. |
| context | The explicit context to associate with this measurement. |
Implemented in metrics::NoopHistogram< T >, and metrics::NoopHistogram< T >.
|
pure virtualnoexcept |
Records a value.
| value | The measurement value. MUST be non-negative. |
| context | The explicit context to associate with this measurement. |
Implemented in metrics::NoopHistogram< T >, and metrics::NoopHistogram< T >.
Referenced by metrics::Histogram< T >::Record().
|
pure virtualnoexcept |
Records a value.
| value | The measurement value. MUST be non-negative. |
| context | The explicit context to associate with this measurement. |
Implemented in metrics::NoopHistogram< T >, and metrics::NoopHistogram< T >.
|
inlinenoexcept |
Definition at line 160 of file 9.2/includes/opentelemetry/metrics/sync_instruments.h.
References metrics::Histogram< T >::Record().
|
inlinenoexcept |
Definition at line 160 of file includes/opentelemetry/metrics/sync_instruments.h.
References metrics::Histogram< T >::Record().
|
inlinenoexcept |
Definition at line 165 of file includes/opentelemetry/metrics/sync_instruments.h.
References nostd::span< T, Extent >::begin(), and metrics::Histogram< T >::Record().
|
inlinenoexcept |
Definition at line 165 of file 9.2/includes/opentelemetry/metrics/sync_instruments.h.
References nostd::span< T, Extent >::begin(), and metrics::Histogram< T >::Record().