|
| counter (value_type initial_value) noexcept |
|
| counter (span< const label >) noexcept |
|
void | inc () noexcept |
| Increments the counter by 1.
|
|
void | inc (value_type amount) noexcept |
| Increments the counter by amount .
|
|
template<class T = ValueType> |
std::enable_if_t< std::is_same_v< T, int64_t >, T > | operator++ () noexcept |
| Increments the counter by 1.
|
|
template<class T = ValueType> |
std::enable_if_t< std::is_same_v< T, int64_t >, T > | operator++ (int) noexcept |
| Increments the counter by 1.
|
|
value_type | value () const noexcept |
| Returns the current value of the counter.
|
|
template<class ValueType>
class caf::telemetry::counter< ValueType >
A metric that represents a single value that can only go up.