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
 Utilities.
 

Functions

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

Function Documentation

◆ operator+()

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

Definition at line 58 of file rate.hpp.