pub struct HealthMetrics {Show 13 fields
pub cpu_usage_percent: Option<f64>,
pub memory_usage_mb: Option<f64>,
pub memory_usage_percent: Option<f64>,
pub disk_usage_percent: Option<f64>,
pub loxone_latency_ms: Option<f64>,
pub connection_pool_active: Option<u32>,
pub connection_pool_idle: Option<u32>,
pub connection_pool_max: Option<u32>,
pub uptime_seconds: u64,
pub gc_collections: Option<u64>,
pub gc_time_ms: Option<f64>,
pub last_health_check_success: bool,
pub last_health_check_time: u64,
}
Expand description
System health metrics
Fields§
§cpu_usage_percent: Option<f64>
CPU usage percentage
memory_usage_mb: Option<f64>
Memory usage in MB
memory_usage_percent: Option<f64>
Memory usage percentage
disk_usage_percent: Option<f64>
Disk usage percentage
loxone_latency_ms: Option<f64>
Network latency to Loxone server
connection_pool_active: Option<u32>
Connection pool statistics
connection_pool_idle: Option<u32>
§connection_pool_max: Option<u32>
§uptime_seconds: u64
System uptime in seconds
gc_collections: Option<u64>
Garbage collection metrics (if available)
gc_time_ms: Option<f64>
§last_health_check_success: bool
Last health check status
last_health_check_time: u64
Trait Implementations§
Source§impl Clone for HealthMetrics
impl Clone for HealthMetrics
Source§fn clone(&self) -> HealthMetrics
fn clone(&self) -> HealthMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HealthMetrics
impl Debug for HealthMetrics
Source§impl Default for HealthMetrics
impl Default for HealthMetrics
Source§impl<'de> Deserialize<'de> for HealthMetrics
impl<'de> Deserialize<'de> for HealthMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HealthMetrics
impl RefUnwindSafe for HealthMetrics
impl Send for HealthMetrics
impl Sync for HealthMetrics
impl Unpin for HealthMetrics
impl UnwindSafe for HealthMetrics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more