#include <userver/utils/statistics/rate.hpp>
Public Types | |
using | ValueType = std::uint64_t |
Public Member Functions | |
Rate & | operator+= (Rate other) noexcept |
operator bool () const noexcept | |
bool | operator== (const Rate &rhs) const noexcept |
bool | operator!= (const Rate &rhs) const noexcept |
bool | operator< (const Rate &rhs) const noexcept |
bool | operator> (const Rate &rhs) const noexcept |
bool | operator<= (const Rate &rhs) const noexcept |
bool | operator>= (const Rate &rhs) const noexcept |
Public Attributes | |
ValueType | value {0} |
Rate
metrics (or "counter" metrics) are metrics that only monotonically increase or are reset to zero on restart. Some monitoring systems give them special treatment with regard to maintaining proper non-negative derivative.
|
inlineexplicitnoexcept |