Monitoring
3.3.4
O2 Monitoring library
|
Enables Calculation of derived metrics. More...
#include <DerivedMetrics.h>
Public Member Functions | |
DerivedMetrics ()=default | |
Default constructor. | |
~DerivedMetrics ()=default | |
Default destructor. | |
void | process (Metric &metric, DerivedMetricMode mode) |
Public Attributes | |
std::unordered_map< std::string, Metric > | mStorage |
Metrics store necessary for derived metrics. | |
Enables Calculation of derived metrics.
Calculates derived metrics such as rate or increment values... (available modes are enumerated in DerivedMetricMode class) For this purpose metrics are stored in a container.
void o2::monitoring::DerivedMetrics::process | ( | Metric & | metric, |
DerivedMetricMode | mode | ||
) |
Entry method to DerivedMetrics Switches over processing modes: rate and increment
create pseudo unique key