|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Accumulated statistics for health monitoring operations. More...
#include <health_monitor.h>

Public Attributes | |
| size_t | total_checks {0} |
| Total number of health checks performed. | |
| size_t | healthy_checks {0} |
| Number of checks that returned healthy. | |
| size_t | unhealthy_checks {0} |
| Number of checks that returned unhealthy. | |
| size_t | degraded_checks {0} |
| Number of checks that returned degraded. | |
| size_t | recovery_attempts {0} |
| Number of auto-recovery attempts made. | |
| size_t | successful_recoveries {0} |
| Number of successful recovery attempts. | |
| std::chrono::system_clock::time_point | last_check_time |
| Timestamp of the last check cycle. | |
Accumulated statistics for health monitoring operations.
Definition at line 89 of file health_monitor.h.
| size_t kcenon::monitoring::health_monitor_stats::degraded_checks {0} |
Number of checks that returned degraded.
Definition at line 93 of file health_monitor.h.
Referenced by kcenon::monitoring::health_monitor::update_stats().
| size_t kcenon::monitoring::health_monitor_stats::healthy_checks {0} |
Number of checks that returned healthy.
Definition at line 91 of file health_monitor.h.
Referenced by kcenon::monitoring::health_monitor::update_stats().
| std::chrono::system_clock::time_point kcenon::monitoring::health_monitor_stats::last_check_time |
Timestamp of the last check cycle.
Definition at line 96 of file health_monitor.h.
Referenced by kcenon::monitoring::health_monitor::refresh().
| size_t kcenon::monitoring::health_monitor_stats::recovery_attempts {0} |
Number of auto-recovery attempts made.
Definition at line 94 of file health_monitor.h.
Referenced by kcenon::monitoring::health_monitor::refresh().
| size_t kcenon::monitoring::health_monitor_stats::successful_recoveries {0} |
Number of successful recovery attempts.
Definition at line 95 of file health_monitor.h.
Referenced by kcenon::monitoring::health_monitor::refresh().
| size_t kcenon::monitoring::health_monitor_stats::total_checks {0} |
Total number of health checks performed.
Definition at line 90 of file health_monitor.h.
Referenced by kcenon::monitoring::health_monitor::update_stats().
| size_t kcenon::monitoring::health_monitor_stats::unhealthy_checks {0} |
Number of checks that returned unhealthy.
Definition at line 92 of file health_monitor.h.
Referenced by kcenon::monitoring::health_monitor::update_stats().