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

Public Member Functions | |
| bool | validate () const |
| Validate configuration. | |
Public Attributes | |
| std::chrono::milliseconds | group_wait {30000} |
| Initial wait before sending. | |
| std::chrono::milliseconds | group_interval {300000} |
| Interval between group sends. | |
| std::chrono::milliseconds | resolve_timeout {300000} |
| Time before removing resolved. | |
| std::vector< std::string > | group_by_labels |
| Labels to group by. | |
Configuration for alert aggregation.
Definition at line 33 of file alert_pipeline.h.
|
inline |
Validate configuration.
Definition at line 42 of file alert_pipeline.h.
References group_interval, group_wait, and resolve_timeout.
| std::vector<std::string> kcenon::monitoring::alert_aggregator_config::group_by_labels |
Labels to group by.
Definition at line 37 of file alert_pipeline.h.
Referenced by kcenon::monitoring::alert_aggregator::compute_group_key(), kcenon::monitoring::alert_aggregator::extract_common_labels(), and main().
| std::chrono::milliseconds kcenon::monitoring::alert_aggregator_config::group_interval {300000} |
Interval between group sends.
Definition at line 35 of file alert_pipeline.h.
Referenced by kcenon::monitoring::alert_aggregator::get_ready_groups(), main(), and validate().
| std::chrono::milliseconds kcenon::monitoring::alert_aggregator_config::group_wait {30000} |
Initial wait before sending.
Definition at line 34 of file alert_pipeline.h.
Referenced by kcenon::monitoring::alert_aggregator::get_ready_groups(), main(), and validate().
| std::chrono::milliseconds kcenon::monitoring::alert_aggregator_config::resolve_timeout {300000} |
Time before removing resolved.
Definition at line 36 of file alert_pipeline.h.
Referenced by kcenon::monitoring::alert_aggregator::cleanup(), main(), and validate().