Statistics output in Prometheus format.
Definition in file prometheus.hpp.
Go to the source code of this file.
Namespaces | |
namespace | utils |
Utilities. | |
Functions | |
std::string | utils::statistics::ToPrometheusFormat (const utils::statistics::Storage &statistics, const utils::statistics::Request &request={}) |
Output statistics in Prometheus format, each metric has gauge type. | |
std::string | utils::statistics::ToPrometheusFormatUntyped (const utils::statistics::Storage &statistics, const utils::statistics::Request &request={}) |
Output statistics in Prometheus format, without metric types. | |