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

Detailed Description

JSON formatting helpers for percentile metrics.

Definition in file percentile_format_json.hpp.

Go to the source code of this file.

Namespaces

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

Functions

std::string utils::statistics::GetPercentileFieldName (double perc)
 
template<typename T>
formats::json::ValueBuilder utils::statistics::PercentileToJson (const T &perc, std::initializer_list< double > percents)
 
template<typename T>
formats::json::ValueBuilder utils::statistics::PercentileToJson (const T &perc)