The MonitoringPlan is a config class to represent what metrics shall be collected and how.
More...
#include <MonitoringPlan.hpp>
The MonitoringPlan is a config class to represent what metrics shall be collected and how.
◆ addMetric()
bool NES::Monitoring::MonitoringPlan::addMetric |
( |
MetricType |
metric | ) |
|
Add a specific metric to the plan.
- Parameters
-
◆ create()
◆ defaultCollectors()
Returns the default collectors of the plan.
- Returns
- A set of collectors.
◆ defaultPlan()
◆ getCollectorTypes()
const std::set< MetricCollectorType > NES::Monitoring::MonitoringPlan::getCollectorTypes |
( |
| ) |
const |
Returns the MetricType objects that represent the plan.
- Returns
- A set of metric type objects.
◆ getMetricTypes()
const std::set< MetricType > & NES::Monitoring::MonitoringPlan::getMetricTypes |
( |
| ) |
const |
Returns the MetricType objects that represent the plan.
- Returns
- A set of metric type objects.
◆ hasMetric()
bool NES::Monitoring::MonitoringPlan::hasMetric |
( |
MetricType |
metric | ) |
const |
Checks if a metric is part of the MonitoringPlan.
- Parameters
-
- Returns
- true if contained, else false
◆ toString()
std::string NES::Monitoring::MonitoringPlan::toString |
( |
| ) |
const |
Returns a string representation of the plan.
- Returns
- The string representation
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
strm, |
|
|
const MonitoringPlan & |
plan |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: