Kagome
Polkadot Runtime Engine in C++17
|
A summary metric samples observations over a sliding window of time. More...
#include <metrics.hpp>
Public Member Functions | |
virtual | ~Summary ()=default |
virtual void | observe (const double value)=0 |
Observe the given amount. More... | |
A summary metric samples observations over a sliding window of time.
This class represents the metric type summary: https://prometheus.io/docs/instrumenting/writing_clientlibs/#summary
Definition at line 91 of file metrics.hpp.
|
virtualdefault |
|
pure virtual |
Observe the given amount.
Implemented in kagome::metrics::PrometheusSummary.