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

Public Attributes | |
| std::chrono::milliseconds | check_interval {std::chrono::milliseconds(5000)} |
| Interval between automatic health check cycles. | |
| std::chrono::seconds | cache_duration {std::chrono::seconds(1)} |
| Duration to cache health check results. | |
| bool | enable_auto_recovery {true} |
| Whether to invoke recovery handlers on failure. | |
| size_t | max_consecutive_failures {3} |
| Failures before triggering recovery. | |
| std::chrono::seconds | recovery_timeout {std::chrono::seconds(30)} |
| Maximum time allowed for a recovery attempt. | |
Configuration for the health_monitor.
Definition at line 78 of file health_monitor.h.
| std::chrono::seconds kcenon::monitoring::health_monitor_config::cache_duration {std::chrono::seconds(1)} |
Duration to cache health check results.
Definition at line 80 of file health_monitor.h.
Referenced by demonstrate_health_monitoring().
| std::chrono::milliseconds kcenon::monitoring::health_monitor_config::check_interval {std::chrono::milliseconds(5000)} |
Interval between automatic health check cycles.
Definition at line 79 of file health_monitor.h.
Referenced by demonstrate_health_monitoring(), main(), kcenon::monitoring::health_monitor::run_monitoring_loop(), and TEST_F().
| bool kcenon::monitoring::health_monitor_config::enable_auto_recovery {true} |
Whether to invoke recovery handlers on failure.
Definition at line 81 of file health_monitor.h.
Referenced by main(), kcenon::monitoring::health_monitor::refresh(), and TEST_F().
| size_t kcenon::monitoring::health_monitor_config::max_consecutive_failures {3} |
| std::chrono::seconds kcenon::monitoring::health_monitor_config::recovery_timeout {std::chrono::seconds(30)} |
Maximum time allowed for a recovery attempt.
Definition at line 83 of file health_monitor.h.