#include <userver/utils/statistics/rate.hpp>
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 nonnegative derivative.
Public Types  
using  ValueType = std::uint64_t 
Public Member Functions  
Rate &  operator+= (Rate other) noexcept 
operator bool () const noexcept  
bool  operator== (Rate rhs) const noexcept 
bool  operator!= (Rate rhs) const noexcept 
bool  operator< (Rate rhs) const noexcept 
bool  operator> (Rate rhs) const noexcept 
bool  operator<= (Rate rhs) const noexcept 
bool  operator>= (Rate rhs) const noexcept 
bool  operator== (std::uint64_t rhs) const noexcept 
bool  operator!= (std::uint64_t rhs) const noexcept 
bool  operator< (std::uint64_t rhs) const noexcept 
bool  operator> (std::uint64_t rhs) const noexcept 
bool  operator<= (std::uint64_t rhs) const noexcept 
bool  operator>= (std::uint64_t rhs) const noexcept 
Public Attributes  
ValueType  value {0} 

inlineexplicitnoexcept 

inlinenoexcept 

inlinenoexcept 

inlinenoexcept 

inlinenoexcept 

inlinenoexcept 

inlinenoexcept 