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

#include <metrics_impl.hpp>

Inheritance diagram for kagome::metrics::PrometheusSummary:
Collaboration diagram for kagome::metrics::PrometheusSummary:

Public Member Functions

 PrometheusSummary (prometheus::Summary &m)
 
void observe (const double value) override
 Observe the given amount. More...
 
- Public Member Functions inherited from kagome::metrics::Summary
virtual ~Summary ()=default
 

Private Attributes

prometheus::Summary & m_
 

Friends

class PrometheusRegistry
 

Detailed Description

Definition at line 46 of file metrics_impl.hpp.

Constructor & Destructor Documentation

kagome::metrics::PrometheusSummary::PrometheusSummary ( prometheus::Summary &  m)

Definition at line 46 of file metrics_impl.cpp.

Member Function Documentation

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

Observe the given amount.

Implements kagome::metrics::Summary.

Definition at line 48 of file metrics_impl.cpp.

Friends And Related Function Documentation

friend class PrometheusRegistry
friend

Definition at line 47 of file metrics_impl.hpp.

Member Data Documentation

prometheus::Summary& kagome::metrics::PrometheusSummary::m_
private

Definition at line 48 of file metrics_impl.hpp.


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