|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Configuration for metric aggregation. More...
#include <aggregation_processor.h>

Public Member Functions | |
| common::VoidResult | validate () const |
| Validate the aggregation rule. | |
Public Attributes | |
| std::string | source_metric |
| Source metric name. | |
| std::string | target_metric_prefix |
| Prefix for aggregated metrics. | |
| std::chrono::milliseconds | aggregation_interval {60000} |
| Aggregation interval. | |
| std::vector< double > | percentiles = {0.5, 0.9, 0.95, 0.99} |
| Percentiles to compute. | |
| bool | compute_rate = false |
| Compute rate of change. | |
| bool | detect_outliers = true |
| Enable outlier detection. | |
| double | outlier_threshold = 3.0 |
| Outlier detection threshold. | |
Configuration for metric aggregation.
Definition at line 35 of file aggregation_processor.h.
|
inline |
Validate the aggregation rule.
Definition at line 47 of file aggregation_processor.h.
References aggregation_interval, kcenon::monitoring::invalid_configuration, source_metric, and target_metric_prefix.
Referenced by kcenon::monitoring::aggregation_processor::add_aggregation_rule(), and TEST_F().

| std::chrono::milliseconds kcenon::monitoring::aggregation_rule::aggregation_interval {60000} |
Aggregation interval.
Definition at line 38 of file aggregation_processor.h.
Referenced by kcenon::monitoring::create_standard_aggregation_rules(), TEST_F(), TEST_F(), TEST_F(), and validate().
| bool kcenon::monitoring::aggregation_rule::compute_rate = false |
Compute rate of change.
Definition at line 40 of file aggregation_processor.h.
Referenced by kcenon::monitoring::create_standard_aggregation_rules(), and TEST_F().
| bool kcenon::monitoring::aggregation_rule::detect_outliers = true |
Enable outlier detection.
Definition at line 41 of file aggregation_processor.h.
Referenced by kcenon::monitoring::aggregation_processor::add_aggregation_rule(), kcenon::monitoring::create_standard_aggregation_rules(), and TEST_F().
| double kcenon::monitoring::aggregation_rule::outlier_threshold = 3.0 |
Outlier detection threshold.
Definition at line 42 of file aggregation_processor.h.
Referenced by kcenon::monitoring::aggregation_processor::add_aggregation_rule(), and kcenon::monitoring::create_standard_aggregation_rules().
| std::vector<double> kcenon::monitoring::aggregation_rule::percentiles = {0.5, 0.9, 0.95, 0.99} |
Percentiles to compute.
Definition at line 39 of file aggregation_processor.h.
Referenced by kcenon::monitoring::aggregation_processor::add_aggregation_rule(), kcenon::monitoring::create_standard_aggregation_rules(), TEST_F(), and TEST_F().
| std::string kcenon::monitoring::aggregation_rule::source_metric |
Source metric name.
Definition at line 36 of file aggregation_processor.h.
Referenced by kcenon::monitoring::aggregation_processor::add_aggregation_rule(), kcenon::monitoring::create_standard_aggregation_rules(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and validate().
| std::string kcenon::monitoring::aggregation_rule::target_metric_prefix |
Prefix for aggregated metrics.
Definition at line 37 of file aggregation_processor.h.
Referenced by kcenon::monitoring::create_standard_aggregation_rules(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and validate().