|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Aggregated uptime metrics for the system. More...
#include <uptime_collector.h>

Public Attributes | |
| double | uptime_seconds {0.0} |
| Time since boot in seconds (gauge) | |
| int64_t | boot_timestamp {0} |
| Unix timestamp of last boot (gauge) | |
| double | idle_seconds {0.0} |
| Total idle time in seconds (Linux only) | |
| bool | metrics_available {false} |
| Whether metrics are available. | |
| std::chrono::system_clock::time_point | timestamp |
| Reading timestamp. | |
Aggregated uptime metrics for the system.
Definition at line 39 of file uptime_collector.h.
| int64_t kcenon::monitoring::uptime_metrics::boot_timestamp {0} |
| double kcenon::monitoring::uptime_metrics::idle_seconds {0.0} |
| bool kcenon::monitoring::uptime_metrics::metrics_available {false} |
| std::chrono::system_clock::time_point kcenon::monitoring::uptime_metrics::timestamp |
Reading timestamp.
Definition at line 45 of file uptime_collector.h.
| double kcenon::monitoring::uptime_metrics::uptime_seconds {0.0} |