From 663c2d92b0cede723bb6048538317663236d9b3b Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Mon, 9 Feb 2026 17:39:19 -0800 Subject: [PATCH] Fix dashboard: correct metric name and stat panel layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - smartctl_device_smart_healthy → smartctl_device_smart_status - Make all stat panels full-width with auto orientation so 4 device values display side-by-side instead of stacked vertically Co-Authored-By: Claude Opus 4.6 --- .../dashboards/configmap-sifaka-disks.yaml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/argocd/manifests/grafana-config/dashboards/configmap-sifaka-disks.yaml b/argocd/manifests/grafana-config/dashboards/configmap-sifaka-disks.yaml index 5d994ee..8dd86f3 100644 --- a/argocd/manifests/grafana-config/dashboards/configmap-sifaka-disks.yaml +++ b/argocd/manifests/grafana-config/dashboards/configmap-sifaka-disks.yaml @@ -46,7 +46,7 @@ data: "textMode": "value_and_name" }, "targets": [ - { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "smartctl_device_smart_healthy{job=\"smartctl-sifaka\"}", "legendFormat": "{{device}} ({{model_name}})", "refId": "A" } + { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "smartctl_device_smart_status{job=\"smartctl-sifaka\"}", "legendFormat": "{{device}} ({{model_name}})", "refId": "A" } ], "title": "SMART Health Status", "type": "stat" @@ -76,7 +76,7 @@ data: "colorMode": "value", "graphMode": "none", "justifyMode": "center", - "orientation": "horizontal", + "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" }, @@ -144,13 +144,13 @@ data: }, "overrides": [] }, - "gridPos": { "h": 4, "w": 12, "x": 0, "y": 19 }, + "gridPos": { "h": 4, "w": 24, "x": 0, "y": 19 }, "id": 4, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", - "orientation": "horizontal", + "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" }, @@ -170,13 +170,13 @@ data: }, "overrides": [] }, - "gridPos": { "h": 4, "w": 12, "x": 12, "y": 19 }, + "gridPos": { "h": 4, "w": 24, "x": 0, "y": 23 }, "id": 5, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", - "orientation": "horizontal", + "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" }, @@ -196,13 +196,13 @@ data: }, "overrides": [] }, - "gridPos": { "h": 4, "w": 12, "x": 0, "y": 23 }, + "gridPos": { "h": 4, "w": 24, "x": 0, "y": 27 }, "id": 6, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", - "orientation": "horizontal", + "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" }, @@ -222,13 +222,13 @@ data: }, "overrides": [] }, - "gridPos": { "h": 4, "w": 12, "x": 12, "y": 23 }, + "gridPos": { "h": 4, "w": 24, "x": 0, "y": 31 }, "id": 7, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", - "orientation": "horizontal", + "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" }, @@ -240,7 +240,7 @@ data: }, { "collapsed": false, - "gridPos": { "h": 1, "w": 24, "x": 0, "y": 27 }, + "gridPos": { "h": 1, "w": 24, "x": 0, "y": 35 }, "id": 103, "panels": [], "title": "Lifetime", @@ -257,13 +257,13 @@ data: }, "overrides": [] }, - "gridPos": { "h": 4, "w": 12, "x": 0, "y": 28 }, + "gridPos": { "h": 4, "w": 24, "x": 0, "y": 36 }, "id": 8, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", - "orientation": "horizontal", + "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" }, @@ -283,13 +283,13 @@ data: }, "overrides": [] }, - "gridPos": { "h": 4, "w": 12, "x": 12, "y": 28 }, + "gridPos": { "h": 4, "w": 24, "x": 0, "y": 40 }, "id": 9, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", - "orientation": "horizontal", + "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" },