An up-down-counter instrument that adds or reduce values.
Definition at line 22 of file includes/opentelemetry/metrics/meter.h.

Public Member Functions | |
| virtual void | Add (T value) noexcept=0 |
| Record a value. More... | |
| virtual void | Add (T value, const context::Context &context) noexcept=0 |
| Record a value. More... | |
| virtual void | Add (T value, const common::KeyValueIterable &attributes) noexcept=0 |
| Record a value with a set of attributes. More... | |
| virtual void | Add (T value, const common::KeyValueIterable &attributes, const context::Context &context) noexcept=0 |
| Record 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 | Add (T value, const U &attributes) noexcept |
| template<class U , nostd::enable_if_t< common::detail::is_key_value_iterable< U >::value > * = nullptr> | |
| void | Add (T value, const U &attributes, const context::Context &context) noexcept |
| void | Add (T value, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes) noexcept |
| void | Add (T value, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes, const context::Context &context) noexcept |
| virtual void | Add (T value) noexcept=0 |
| Record a value. More... | |
| virtual void | Add (T value, const context::Context &context) noexcept=0 |
| Record a value. More... | |
| virtual void | Add (T value, const common::KeyValueIterable &attributes) noexcept=0 |
| Record a value with a set of attributes. More... | |
| virtual void | Add (T value, const common::KeyValueIterable &attributes, const context::Context &context) noexcept=0 |
| Record 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 | Add (T value, const U &attributes) noexcept |
| template<class U , nostd::enable_if_t< common::detail::is_key_value_iterable< U >::value > * = nullptr> | |
| void | Add (T value, const U &attributes, const context::Context &context) noexcept |
| void | Add (T value, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes) noexcept |
| void | Add (T value, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes, const context::Context &context) noexcept |
|
pure virtualnoexcept |
Record a value.
| value | The increment amount. May be positive, negative or zero. |
Implemented in metrics::NoopUpDownCounter< T >, and metrics::NoopUpDownCounter< T >.
Referenced by metrics::UpDownCounter< T >::Add().
|
pure virtualnoexcept |
Record a value.
| value | The increment amount. May be positive, negative or zero. |
Implemented in metrics::NoopUpDownCounter< T >, and metrics::NoopUpDownCounter< T >.
|
pure virtualnoexcept |
Record a value with a set of attributes.
| value | The increment amount. May be positive, negative or zero. |
| attributes | A set of attributes to associate with the count. |
Implemented in metrics::NoopUpDownCounter< T >, and metrics::NoopUpDownCounter< T >.
|
pure virtualnoexcept |
Record a value with a set of attributes.
| value | The increment amount. May be positive, negative or zero. |
| attributes | A set of attributes to associate with the count. |
Implemented in metrics::NoopUpDownCounter< T >, and metrics::NoopUpDownCounter< T >.
|
pure virtualnoexcept |
Record a value with a set of attributes.
| value | The increment amount. May be positive, negative or zero. |
| attributes | A set of attributes to associate with the count. |
| context | The explicit context to associate with this measurement. |
Implemented in metrics::NoopUpDownCounter< T >, and metrics::NoopUpDownCounter< T >.
|
pure virtualnoexcept |
Record a value with a set of attributes.
| value | The increment amount. May be positive, negative or zero. |
| attributes | A set of attributes to associate with the count. |
| context | The explicit context to associate with this measurement. |
Implemented in metrics::NoopUpDownCounter< T >, and metrics::NoopUpDownCounter< T >.
|
pure virtualnoexcept |
Record a value.
| value | The increment amount. May be positive, negative or zero. |
| context | The explicit context to associate with this measurement. |
Implemented in metrics::NoopUpDownCounter< T >, and metrics::NoopUpDownCounter< T >.
|
pure virtualnoexcept |
Record a value.
| value | The increment amount. May be positive, negative or zero. |
| context | The explicit context to associate with this measurement. |
Implemented in metrics::NoopUpDownCounter< T >, and metrics::NoopUpDownCounter< T >.
|
inlinenoexcept |
Definition at line 219 of file includes/opentelemetry/metrics/sync_instruments.h.
References metrics::UpDownCounter< T >::Add().
|
inlinenoexcept |
Definition at line 219 of file 9.2/includes/opentelemetry/metrics/sync_instruments.h.
References metrics::UpDownCounter< T >::Add().
|
inlinenoexcept |
Definition at line 226 of file 9.2/includes/opentelemetry/metrics/sync_instruments.h.
References metrics::UpDownCounter< T >::Add().
|
inlinenoexcept |
Definition at line 226 of file includes/opentelemetry/metrics/sync_instruments.h.
References metrics::UpDownCounter< T >::Add().
|
inlinenoexcept |
Definition at line 231 of file 9.2/includes/opentelemetry/metrics/sync_instruments.h.
References metrics::UpDownCounter< T >::Add(), and nostd::span< T, Extent >::begin().
|
inlinenoexcept |
Definition at line 231 of file includes/opentelemetry/metrics/sync_instruments.h.
References metrics::UpDownCounter< T >::Add(), and nostd::span< T, Extent >::begin().
|
inlinenoexcept |
Definition at line 239 of file includes/opentelemetry/metrics/sync_instruments.h.
References metrics::UpDownCounter< T >::Add(), and nostd::span< T, Extent >::begin().
|
inlinenoexcept |
Definition at line 239 of file 9.2/includes/opentelemetry/metrics/sync_instruments.h.
References metrics::UpDownCounter< T >::Add(), and nostd::span< T, Extent >::begin().