added error handling in metrics handle

This commit is contained in:
2025-10-27 23:03:49 +01:00
parent 432a798210
commit 16020eea50
3 changed files with 60 additions and 39 deletions

View File

@@ -235,7 +235,7 @@ pub struct DockerContainerCpuDto {
#[derive(Debug, Serialize, Clone)]
pub struct DockerContainerRamDto {
pub cpu_load: Option<f64>,
pub ram_load: Option<f64>,
}
#[derive(Debug, Serialize, Clone)]