|
PACS System 0.1.0
PACS DICOM system library
|
Database connection health information. More...
#include <health_status.h>

Public Attributes | |
| bool | connected {false} |
| Whether database connection is active. | |
| std::optional< std::chrono::system_clock::time_point > | last_connected |
| Last successful connection timestamp. | |
| std::uint32_t | active_connections {0} |
| Number of active database connections. | |
| std::optional< std::chrono::milliseconds > | response_time |
| Database response time in milliseconds. | |
| std::optional< std::string > | error_message |
| Error message if connection failed. | |
Database connection health information.
Definition at line 69 of file health_status.h.
| std::uint32_t kcenon::pacs::monitoring::database_status::active_connections {0} |
| bool kcenon::pacs::monitoring::database_status::connected {false} |
Whether database connection is active.
Definition at line 71 of file health_status.h.
Referenced by kcenon::pacs::monitoring::health_status::update_level().
| std::optional<std::string> kcenon::pacs::monitoring::database_status::error_message |
Error message if connection failed.
Definition at line 83 of file health_status.h.
| std::optional<std::chrono::system_clock::time_point> kcenon::pacs::monitoring::database_status::last_connected |
Last successful connection timestamp.
Definition at line 74 of file health_status.h.
| std::optional<std::chrono::milliseconds> kcenon::pacs::monitoring::database_status::response_time |
Database response time in milliseconds.
Definition at line 80 of file health_status.h.