Kagome
Polkadot Runtime Engine in C++17
kagome::metrics::Histogram Class Referenceabstract

A histogram metric to represent aggregatable distributions of events. More...

#include <metrics.hpp>

Inheritance diagram for kagome::metrics::Histogram:
Collaboration diagram for kagome::metrics::Histogram:

Public Member Functions

virtual ~Histogram ()=default
 
virtual void observe (const double value)=0
 Observe the given amount. More...
 

Detailed Description

A histogram metric to represent aggregatable distributions of events.

This class represents the metric type histogram: https://prometheus.io/docs/concepts/metric_types/#histogram

Definition at line 108 of file metrics.hpp.

Constructor & Destructor Documentation

virtual kagome::metrics::Histogram::~Histogram ( )
virtualdefault

Member Function Documentation

virtual void kagome::metrics::Histogram::observe ( const double  value)
pure virtual

Observe the given amount.

Implemented in kagome::metrics::PrometheusHistogram.


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