userver: userver/utils/statistics/rate.hpp File Reference
Loading...
Searching...
No Matches
rate.hpp File Reference

Detailed Description

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.

Definition in file rate.hpp.

Go to the source code of this file.

#include <cstdint>
#include <fmt/format.h>
+ This graph shows which files directly or indirectly include this file:

Classes

struct  utils::statistics::Rate
 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. More...
 
class  fmt::formatter<::utils::statistics::Rate >
 

Namespaces

namespace  utils
 General-purpose utilities used across userver libraries.
 
namespace  utils::statistics
 Statistics writers, metric types, and histogram helpers.
 

Functions

Rate utils::statistics::operator+ (Rate first, Rate second) noexcept