diff --git a/dashboard/src/ui/widgets/system.rs b/dashboard/src/ui/widgets/system.rs index 0599e88..3e1e7ba 100644 --- a/dashboard/src/ui/widgets/system.rs +++ b/dashboard/src/ui/widgets/system.rs @@ -357,6 +357,23 @@ impl Widget for SystemWidget { self.memory_total_gb = Some(total); } } + + // Tmpfs metrics + "memory_tmp_usage_percent" => { + if let MetricValue::Float(usage) = metric.value { + self.tmp_usage_percent = Some(usage); + } + } + "memory_tmp_used_gb" => { + if let MetricValue::Float(used) = metric.value { + self.tmp_used_gb = Some(used); + } + } + "memory_tmp_total_gb" => { + if let MetricValue::Float(total) = metric.value { + self.tmp_total_gb = Some(total); + } + } _ => {} } }