Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
kcenon::common::interfaces::health_monitor_stats Struct Reference

Statistics for health monitoring. More...

#include <health_monitor.h>

Collaboration diagram for kcenon::common::interfaces::health_monitor_stats:
Collaboration graph

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}
 

Detailed Description

Statistics for health monitoring.

Definition at line 35 of file health_monitor.h.

Member Data Documentation

◆ check_executions

std::size_t kcenon::common::interfaces::health_monitor_stats::check_executions {0}

◆ degraded_count

◆ healthy_count

◆ last_check_duration

std::chrono::milliseconds kcenon::common::interfaces::health_monitor_stats::last_check_duration {0}

◆ last_check_time

std::chrono::system_clock::time_point kcenon::common::interfaces::health_monitor_stats::last_check_time

◆ recovery_attempts

std::size_t kcenon::common::interfaces::health_monitor_stats::recovery_attempts {0}

Definition at line 42 of file health_monitor.h.

42{0};

Referenced by kcenon::common::interfaces::health_monitor::attempt_recovery().

◆ successful_recoveries

std::size_t kcenon::common::interfaces::health_monitor_stats::successful_recoveries {0}

Definition at line 43 of file health_monitor.h.

43{0};

Referenced by kcenon::common::interfaces::health_monitor::attempt_recovery().

◆ total_checks

std::size_t kcenon::common::interfaces::health_monitor_stats::total_checks {0}

◆ unhealthy_count

◆ unknown_count


The documentation for this struct was generated from the following file: