6 #ifndef KAGOME_CORE_METRICS_IMPL_PROMETHEUS_METRICS_IMPL_HPP 7 #define KAGOME_CORE_METRICS_IMPL_PROMETHEUS_METRICS_IMPL_HPP 21 prometheus::Counter &
m_;
28 void inc(
double val)
override;
33 prometheus::Gauge &
m_;
40 void inc(
double val)
override;
42 void dec(
double val)
override;
43 void set(
double val)
override;
48 prometheus::Summary &
m_;
54 void observe(
const double value)
override;
59 prometheus::Histogram &
m_;
65 void observe(
const double value)
override;
69 #endif // KAGOME_CORE_METRICS_IMPL_PROMETHEUS_METRICS_IMPL_HPP
A histogram metric to represent aggregatable distributions of events.
A summary metric samples observations over a sliding window of time.
A gauge metric to represent a value that can arbitrarily go up and down.
A counter metric to represent a monotonically increasing value.
prometheus::Histogram & m_