From 2ae886ec74360dd8da349f214448c4c828af6e3f Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Mon, 13 Apr 2026 04:27:13 -0300 Subject: [PATCH] monitoring: make split climate and ups panels value-only --- scripts/dashboards_render_atlas.py | 12 +++++--- .../monitoring/dashboards/atlas-overview.json | 28 +++++++++++++------ .../grafana-dashboard-overview.yaml | 28 +++++++++++++------ 3 files changed, 48 insertions(+), 20 deletions(-) diff --git a/scripts/dashboards_render_atlas.py b/scripts/dashboards_render_atlas.py index 61e285d5..b747799d 100644 --- a/scripts/dashboards_render_atlas.py +++ b/scripts/dashboards_render_atlas.py @@ -1747,10 +1747,11 @@ def build_overview(): {"h": 2, "w": 6, "x": 0, "y": 7}, unit="none", decimals=1, - text_mode="name_and_value", + text_mode="value", orientation="horizontal", wide_layout=True, graph_mode="none", + value_size=30, targets=[ {"refId": "A", "expr": ANANKE_UPS_DRAW_WATTS_DB, "legendFormat": "Draw", "instant": True}, {"refId": "B", "expr": ANANKE_UPS_RUNTIME_DB, "legendFormat": "Runtime", "instant": True}, @@ -1770,10 +1771,11 @@ def build_overview(): {"h": 3, "w": 6, "x": 0, "y": 9}, unit="none", decimals=1, - text_mode="name_and_value", + text_mode="value", orientation="horizontal", wide_layout=True, graph_mode="none", + value_size=30, targets=[ {"refId": "A", "expr": ANANKE_UPS_DRAW_WATTS_TETHYS, "legendFormat": "Draw", "instant": True}, {"refId": "B", "expr": ANANKE_UPS_RUNTIME_TETHYS, "legendFormat": "Runtime", "instant": True}, @@ -1809,10 +1811,11 @@ def build_overview(): None, {"h": 3, "w": 6, "x": 0, "y": 12}, unit="none", - text_mode="name_and_value", + text_mode="value", orientation="horizontal", wide_layout=True, graph_mode="none", + value_size=30, targets=[ {"refId": "A", "expr": CLIMATE_TEMP_MAX, "legendFormat": "°C", "instant": True}, {"refId": "B", "expr": CLIMATE_TEMP_FAHRENHEIT_MAX, "legendFormat": "°F", "instant": True}, @@ -1831,10 +1834,11 @@ def build_overview(): None, {"h": 3, "w": 6, "x": 0, "y": 15}, unit="none", - text_mode="name_and_value", + text_mode="value", orientation="horizontal", wide_layout=True, graph_mode="none", + value_size=30, targets=[ {"refId": "A", "expr": CLIMATE_HUMIDITY_MAX, "legendFormat": "%RH", "instant": True}, {"refId": "B", "expr": CLIMATE_PRESSURE_CURRENT, "legendFormat": "kPa", "instant": True}, diff --git a/services/monitoring/dashboards/atlas-overview.json b/services/monitoring/dashboards/atlas-overview.json index fb44bce5..b4e31ad3 100644 --- a/services/monitoring/dashboards/atlas-overview.json +++ b/services/monitoring/dashboards/atlas-overview.json @@ -1161,9 +1161,12 @@ "fields": "", "values": false }, - "textMode": "name_and_value", + "textMode": "value", "orientation": "horizontal", - "wideLayout": true + "wideLayout": true, + "text": { + "valueSize": 30 + } }, "links": [ { @@ -1264,9 +1267,12 @@ "fields": "", "values": false }, - "textMode": "name_and_value", + "textMode": "value", "orientation": "horizontal", - "wideLayout": true + "wideLayout": true, + "text": { + "valueSize": 30 + } }, "links": [ { @@ -1420,9 +1426,12 @@ "fields": "", "values": false }, - "textMode": "name_and_value", + "textMode": "value", "orientation": "horizontal", - "wideLayout": true + "wideLayout": true, + "text": { + "valueSize": 30 + } }, "links": [ { @@ -1522,9 +1531,12 @@ "fields": "", "values": false }, - "textMode": "name_and_value", + "textMode": "value", "orientation": "horizontal", - "wideLayout": true + "wideLayout": true, + "text": { + "valueSize": 30 + } }, "links": [ { diff --git a/services/monitoring/grafana-dashboard-overview.yaml b/services/monitoring/grafana-dashboard-overview.yaml index 3f2ef069..29cb0758 100644 --- a/services/monitoring/grafana-dashboard-overview.yaml +++ b/services/monitoring/grafana-dashboard-overview.yaml @@ -1170,9 +1170,12 @@ data: "fields": "", "values": false }, - "textMode": "name_and_value", + "textMode": "value", "orientation": "horizontal", - "wideLayout": true + "wideLayout": true, + "text": { + "valueSize": 30 + } }, "links": [ { @@ -1273,9 +1276,12 @@ data: "fields": "", "values": false }, - "textMode": "name_and_value", + "textMode": "value", "orientation": "horizontal", - "wideLayout": true + "wideLayout": true, + "text": { + "valueSize": 30 + } }, "links": [ { @@ -1429,9 +1435,12 @@ data: "fields": "", "values": false }, - "textMode": "name_and_value", + "textMode": "value", "orientation": "horizontal", - "wideLayout": true + "wideLayout": true, + "text": { + "valueSize": 30 + } }, "links": [ { @@ -1531,9 +1540,12 @@ data: "fields": "", "values": false }, - "textMode": "name_and_value", + "textMode": "value", "orientation": "horizontal", - "wideLayout": true + "wideLayout": true, + "text": { + "valueSize": 30 + } }, "links": [ {