From c600adf5ccdf84749b942b055f0bb59b30e8fb50 Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Tue, 23 Dec 2025 22:50:49 +1100 Subject: [PATCH] Fix ram gauge --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index b435bd8..8104ffc 100644 --- a/app.py +++ b/app.py @@ -235,6 +235,8 @@ def collect(): "cpu_total_pct": clamp(total_cpu_pct), # sum of container CPU%, can exceed 100 if multi-core; we clamp for display "ram_used_bytes": total_mem_used_bytes, "ram_total_bytes": host_mem_total, + "ram_used_h": format_bytes(total_mem_used_bytes), + "ram_total_h": format_bytes(host_mem_total), "ram_pct": clamp(ram_pct), "docker_images_size_bytes": images_size_bytes, "docker_images_used_bytes": images_used_bytes,