From 7fdc067bdc59fbc8cea3145ea105d9c9a56b079b Mon Sep 17 00:00:00 2001 From: Seth Etter Date: Sun, 30 Aug 2026 22:04:19 -0500 Subject: [PATCH] observability: memory panel shows total vs used, gap = available --- .../files/dashboards/boards/host-overview.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/observability/ansible/roles/svc-grafana/files/dashboards/boards/host-overview.json b/observability/ansible/roles/svc-grafana/files/dashboards/boards/host-overview.json index d8f5b59..26dcddb 100644 --- a/observability/ansible/roles/svc-grafana/files/dashboards/boards/host-overview.json +++ b/observability/ansible/roles/svc-grafana/files/dashboards/boards/host-overview.json @@ -116,8 +116,8 @@ { "id": 4, "type": "timeseries", - "title": "Memory used / available", - "description": "Used = total minus available. Available is the kernel's reclaim-aware estimate.", + "title": "Memory used / total", + "description": "The gap between the two lines is available memory.", "datasource": { "type": "prometheus", "uid": "mimir" }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 8 }, "fieldConfig": { @@ -133,7 +133,7 @@ }, "overrides": [ { - "matcher": { "id": "byRegexp", "options": ".* available" }, + "matcher": { "id": "byRegexp", "options": ".* total" }, "properties": [ { "id": "custom.lineStyle", "value": { "dash": [10, 10], "fill": "dash" } }, { "id": "custom.fillOpacity", "value": 0 } @@ -150,8 +150,8 @@ }, { "refId": "B", - "expr": "node_memory_MemAvailable_bytes{host=~\"$host\"}", - "legendFormat": "{{host}} available" + "expr": "node_memory_MemTotal_bytes{host=~\"$host\"}", + "legendFormat": "{{host}} total" } ] }, -- 2.51.2