|
PACS System 0.1.0
PACS DICOM system library
|
Configuration options for the health checker. More...
#include <health_checker.h>

Public Attributes | |
| std::chrono::seconds | check_interval {30} |
| Interval between automatic health checks. | |
| std::chrono::milliseconds | database_timeout {5000} |
| Timeout for database connectivity test. | |
| std::chrono::milliseconds | storage_timeout {5000} |
| Timeout for storage write test. | |
| double | storage_warning_threshold {80.0} |
| Storage usage threshold for degraded status (percentage) | |
| double | storage_critical_threshold {95.0} |
| Storage usage threshold for unhealthy status (percentage) | |
| std::chrono::seconds | cache_duration {5} |
| Cache health check results for this duration. | |
| bool | background_checks_enabled {false} |
| Enable background health checking. | |
Configuration options for the health checker.
Definition at line 44 of file health_checker.h.
| bool kcenon::pacs::monitoring::health_checker_config::background_checks_enabled {false} |
| std::chrono::seconds kcenon::pacs::monitoring::health_checker_config::cache_duration {5} |
Cache health check results for this duration.
Definition at line 61 of file health_checker.h.
Referenced by kcenon::pacs::monitoring::health_checker::get_status().
| std::chrono::seconds kcenon::pacs::monitoring::health_checker_config::check_interval {30} |
| std::chrono::milliseconds kcenon::pacs::monitoring::health_checker_config::database_timeout {5000} |
Timeout for database connectivity test.
Definition at line 49 of file health_checker.h.
Referenced by kcenon::pacs::monitoring::health_checker::check_database().
| double kcenon::pacs::monitoring::health_checker_config::storage_critical_threshold {95.0} |
Storage usage threshold for unhealthy status (percentage)
Definition at line 58 of file health_checker.h.
Referenced by kcenon::pacs::monitoring::health_checker::check_storage().
| std::chrono::milliseconds kcenon::pacs::monitoring::health_checker_config::storage_timeout {5000} |
| double kcenon::pacs::monitoring::health_checker_config::storage_warning_threshold {80.0} |
Storage usage threshold for degraded status (percentage)
Definition at line 55 of file health_checker.h.
Referenced by kcenon::pacs::monitoring::health_checker::check_storage().