Kagome
Polkadot Runtime Engine in C++17
kagome::metrics::PrometheusHistogram Class Reference

#include <metrics_impl.hpp>

Inheritance diagram for kagome::metrics::PrometheusHistogram:
Collaboration diagram for kagome::metrics::PrometheusHistogram:

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
 

Detailed Description

Definition at line 57 of file metrics_impl.hpp.

Constructor & Destructor Documentation

kagome::metrics::PrometheusHistogram::PrometheusHistogram ( prometheus::Histogram &  m)

Definition at line 52 of file metrics_impl.cpp.

Member Function Documentation

void kagome::metrics::PrometheusHistogram::observe ( const double  value)
overridevirtual

Observe the given amount.

Implements kagome::metrics::Histogram.

Definition at line 54 of file metrics_impl.cpp.

Friends And Related Function Documentation

friend class PrometheusRegistry
friend

Definition at line 58 of file metrics_impl.hpp.

Member Data Documentation

prometheus::Histogram& kagome::metrics::PrometheusHistogram::m_
private

Definition at line 59 of file metrics_impl.hpp.


The documentation for this class was generated from the following files: