|
Common System 0.2.0
Common interfaces and patterns for system integration
|
Statistics for health monitoring. More...
#include <health_monitor.h>

Public Attributes | |
| std::size_t | total_checks {0} |
| std::size_t | healthy_count {0} |
| std::size_t | degraded_count {0} |
| std::size_t | unhealthy_count {0} |
| std::size_t | unknown_count {0} |
| std::size_t | check_executions {0} |
| std::size_t | recovery_attempts {0} |
| std::size_t | successful_recoveries {0} |
| std::chrono::system_clock::time_point | last_check_time |
| std::chrono::milliseconds | last_check_duration {0} |
Statistics for health monitoring.
Definition at line 35 of file health_monitor.h.
| std::size_t kcenon::common::interfaces::health_monitor_stats::check_executions {0} |
Definition at line 41 of file health_monitor.h.
Referenced by kcenon::common::interfaces::health_monitor::check(), and kcenon::common::interfaces::health_monitor::refresh().
| std::size_t kcenon::common::interfaces::health_monitor_stats::degraded_count {0} |
Definition at line 38 of file health_monitor.h.
Referenced by kcenon::common::interfaces::health_monitor::get_health_report(), kcenon::common::interfaces::health_monitor::get_overall_status(), kcenon::common::interfaces::health_monitor::get_overall_status_internal(), kcenon::common::interfaces::health_monitor::refresh(), and kcenon::common::interfaces::health_monitor::update_stats_after_check().
| std::size_t kcenon::common::interfaces::health_monitor_stats::healthy_count {0} |
Definition at line 37 of file health_monitor.h.
Referenced by kcenon::common::interfaces::health_monitor::get_health_report(), kcenon::common::interfaces::health_monitor::get_overall_status(), kcenon::common::interfaces::health_monitor::get_overall_status_internal(), kcenon::common::interfaces::health_monitor::refresh(), and kcenon::common::interfaces::health_monitor::update_stats_after_check().
| std::chrono::milliseconds kcenon::common::interfaces::health_monitor_stats::last_check_duration {0} |
Definition at line 45 of file health_monitor.h.
Referenced by kcenon::common::interfaces::health_monitor::check(), and kcenon::common::interfaces::health_monitor::refresh().
| std::chrono::system_clock::time_point kcenon::common::interfaces::health_monitor_stats::last_check_time |
Definition at line 44 of file health_monitor.h.
Referenced by kcenon::common::interfaces::health_monitor::check(), and kcenon::common::interfaces::health_monitor::refresh().
| std::size_t kcenon::common::interfaces::health_monitor_stats::recovery_attempts {0} |
Definition at line 42 of file health_monitor.h.
Referenced by kcenon::common::interfaces::health_monitor::attempt_recovery().
| std::size_t kcenon::common::interfaces::health_monitor_stats::successful_recoveries {0} |
Definition at line 43 of file health_monitor.h.
Referenced by kcenon::common::interfaces::health_monitor::attempt_recovery().
| std::size_t kcenon::common::interfaces::health_monitor_stats::total_checks {0} |
Definition at line 36 of file health_monitor.h.
Referenced by kcenon::common::interfaces::health_monitor::get_health_report(), kcenon::common::interfaces::health_monitor::register_check(), and kcenon::common::interfaces::health_monitor::unregister_check().
| std::size_t kcenon::common::interfaces::health_monitor_stats::unhealthy_count {0} |
Definition at line 39 of file health_monitor.h.
Referenced by kcenon::common::interfaces::health_monitor::get_health_report(), kcenon::common::interfaces::health_monitor::get_overall_status(), kcenon::common::interfaces::health_monitor::get_overall_status_internal(), kcenon::common::interfaces::health_monitor::refresh(), and kcenon::common::interfaces::health_monitor::update_stats_after_check().
| std::size_t kcenon::common::interfaces::health_monitor_stats::unknown_count {0} |
Definition at line 40 of file health_monitor.h.
Referenced by kcenon::common::interfaces::health_monitor::get_health_report(), kcenon::common::interfaces::health_monitor::get_overall_status(), kcenon::common::interfaces::health_monitor::get_overall_status_internal(), kcenon::common::interfaces::health_monitor::refresh(), and kcenon::common::interfaces::health_monitor::update_stats_after_check().