Kagome
Polkadot Runtime Engine in C++17
|
#include <metrics_impl.hpp>
Public Member Functions | |
PrometheusHistogram (prometheus::Histogram &m) | |
void | observe (const double value) override |
Observe the given amount. More... | |
Public Member Functions inherited from kagome::metrics::Histogram | |
virtual | ~Histogram ()=default |
Private Attributes | |
prometheus::Histogram & | m_ |
Friends | |
class | PrometheusRegistry |
Definition at line 57 of file metrics_impl.hpp.
kagome::metrics::PrometheusHistogram::PrometheusHistogram | ( | prometheus::Histogram & | m | ) |
Definition at line 52 of file metrics_impl.cpp.
|
overridevirtual |
Observe the given amount.
Implements kagome::metrics::Histogram.
Definition at line 54 of file metrics_impl.cpp.
|
friend |
Definition at line 58 of file metrics_impl.hpp.
|
private |
Definition at line 59 of file metrics_impl.hpp.