C++ Actor Framework 1.0.0
|
A metric that represents a single integer value that can arbitrarily go up and down. More...
#include <dbl_gauge.hpp>
Public Types | |
using | value_type = double |
using | family_setting = unit_t |
Public Member Functions | |
dbl_gauge (double value) noexcept | |
dbl_gauge (span< const label >) noexcept | |
void | inc () noexcept |
Increments the gauge by 1. | |
void | inc (double amount) noexcept |
Increments the gauge by amount . | |
void | dec () noexcept |
Decrements the gauge by 1. | |
void | dec (double amount) noexcept |
Decrements the gauge by amount . | |
void | value (double x) noexcept |
Sets the gauge to x . | |
double | value () const noexcept |
Returns the current value of the gauge. | |
Static Public Attributes | |
static constexpr metric_type | runtime_type = metric_type::dbl_gauge |
A metric that represents a single integer value that can arbitrarily go up and down.