|
PACS System 0.1.0
PACS DICOM system library
|
Result of a health check operation. More...
#include <pacs_monitor.h>

Public Member Functions | |
| health_check_result () | |
| bool | is_healthy () const |
| bool | is_operational () const |
Public Attributes | |
| monitor_health_status | status {monitor_health_status::unknown} |
| std::string | message |
| std::chrono::system_clock::time_point | timestamp |
| std::chrono::milliseconds | check_duration {0} |
| std::unordered_map< std::string, std::string > | metadata |
Result of a health check operation.
Definition at line 131 of file pacs_monitor.h.
|
inline |
Definition at line 138 of file pacs_monitor.h.
|
inlinenodiscard |
Definition at line 141 of file pacs_monitor.h.
References kcenon::pacs::monitoring::healthy, and status.
|
inlinenodiscard |
Definition at line 145 of file pacs_monitor.h.
References kcenon::pacs::monitoring::degraded, kcenon::pacs::monitoring::healthy, and status.
| std::chrono::milliseconds kcenon::pacs::monitoring::health_check_result::check_duration {0} |
Definition at line 135 of file pacs_monitor.h.
Referenced by kcenon::pacs::monitoring::pacs_monitor::check_health().
| std::string kcenon::pacs::monitoring::health_check_result::message |
Definition at line 133 of file pacs_monitor.h.
Referenced by kcenon::pacs::monitoring::pacs_monitor::check_health().
| std::unordered_map<std::string, std::string> kcenon::pacs::monitoring::health_check_result::metadata |
Definition at line 136 of file pacs_monitor.h.
Referenced by kcenon::pacs::monitoring::pacs_monitor::check_health().
| monitor_health_status kcenon::pacs::monitoring::health_check_result::status {monitor_health_status::unknown} |
Definition at line 132 of file pacs_monitor.h.
Referenced by kcenon::pacs::monitoring::pacs_monitor::check_health(), is_healthy(), and is_operational().
| std::chrono::system_clock::time_point kcenon::pacs::monitoring::health_check_result::timestamp |
Definition at line 134 of file pacs_monitor.h.