This commit is contained in:
2025-10-12 19:57:05 +02:00
parent 9c836e0862
commit 59bc3adad5
6 changed files with 79 additions and 33 deletions

View File

@@ -44,6 +44,8 @@ pub struct ServiceSummary {
pub healthy: usize,
pub degraded: usize,
pub failed: usize,
#[serde(default)]
pub services_status: Option<String>,
pub memory_used_mb: f32,
pub memory_quota_mb: f32,
#[serde(default)]
@@ -51,6 +53,8 @@ pub struct ServiceSummary {
#[serde(default)]
pub system_memory_total_mb: f32,
#[serde(default)]
pub memory_status: Option<String>,
#[serde(default)]
pub disk_used_gb: f32,
#[serde(default)]
pub disk_total_gb: f32,
@@ -61,6 +65,8 @@ pub struct ServiceSummary {
#[serde(default)]
pub cpu_load_15: f32,
#[serde(default)]
pub cpu_status: Option<String>,
#[serde(default)]
pub cpu_cstate: Option<Vec<String>>,
#[serde(default)]
pub cpu_temp_c: Option<f32>,