#include <PrometheusRegistry.hpp>
|
| void | inc_counter (const std::string &name, const std::string &labels="", double value=1.0) |
| |
| void | set_gauge (const std::string &name, const std::string &labels, double value) |
| |
| void | inc_gauge (const std::string &name, const std::string &labels="", double value=1.0) |
| |
| void | dec_gauge (const std::string &name, const std::string &labels="", double value=1.0) |
| |
| void | observe_histogram (const std::string &name, const std::string &labels, double value) |
| |
| std::string | expose () const |
| |
|
| std::mutex | mutex_ |
| |
| std::unordered_map< std::string, std::unordered_map< std::string, Metric > > | counters_ |
| |
| std::unordered_map< std::string, std::unordered_map< std::string, Metric > > | gauges_ |
| |
| std::unordered_map< std::string, std::unordered_map< std::string, Metric > > | histograms_ |
| |
| std::unordered_map< std::string, std::string > | help_text_ |
| |
| std::unordered_map< std::string, std::string > | type_text_ |
| |
◆ PrometheusRegistry()
| orbit::utils::PrometheusRegistry::PrometheusRegistry |
( |
| ) |
|
|
privatedefault |
◆ dec_gauge()
| void orbit::utils::PrometheusRegistry::dec_gauge |
( |
const std::string & |
name, |
|
|
const std::string & |
labels = "", |
|
|
double |
value = 1.0 |
|
) |
| |
◆ expose()
| std::string orbit::utils::PrometheusRegistry::expose |
( |
| ) |
const |
◆ get_instance()
◆ inc_counter()
| void orbit::utils::PrometheusRegistry::inc_counter |
( |
const std::string & |
name, |
|
|
const std::string & |
labels = "", |
|
|
double |
value = 1.0 |
|
) |
| |
◆ inc_gauge()
| void orbit::utils::PrometheusRegistry::inc_gauge |
( |
const std::string & |
name, |
|
|
const std::string & |
labels = "", |
|
|
double |
value = 1.0 |
|
) |
| |
◆ observe_histogram()
| void orbit::utils::PrometheusRegistry::observe_histogram |
( |
const std::string & |
name, |
|
|
const std::string & |
labels, |
|
|
double |
value |
|
) |
| |
◆ set_gauge()
| void orbit::utils::PrometheusRegistry::set_gauge |
( |
const std::string & |
name, |
|
|
const std::string & |
labels, |
|
|
double |
value |
|
) |
| |
◆ counters_
| std::unordered_map<std::string, std::unordered_map<std::string, Metric> > orbit::utils::PrometheusRegistry::counters_ |
|
private |
◆ gauges_
| std::unordered_map<std::string, std::unordered_map<std::string, Metric> > orbit::utils::PrometheusRegistry::gauges_ |
|
private |
◆ help_text_
| std::unordered_map<std::string, std::string> orbit::utils::PrometheusRegistry::help_text_ |
|
private |
◆ histograms_
| std::unordered_map<std::string, std::unordered_map<std::string, Metric> > orbit::utils::PrometheusRegistry::histograms_ |
|
private |
◆ mutex_
| std::mutex orbit::utils::PrometheusRegistry::mutex_ |
|
mutableprivate |
◆ type_text_
| std::unordered_map<std::string, std::string> orbit::utils::PrometheusRegistry::type_text_ |
|
private |
The documentation for this class was generated from the following file: