From 4a10163b1038597998ae542315d0413a7a968937 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sun, 12 Apr 2026 22:03:13 -0300 Subject: [PATCH] monitoring(overview): tune stat sizing for 2x2 climate/ups cards --- scripts/dashboards_render_atlas.py | 8 ++++++++ services/monitoring/dashboards/atlas-overview.json | 12 ++++++++++-- services/monitoring/dashboards/atlas-power.json | 12 ++++++++++-- services/monitoring/grafana-dashboard-overview.yaml | 12 ++++++++++-- services/monitoring/grafana-dashboard-power.yaml | 12 ++++++++++-- 5 files changed, 48 insertions(+), 8 deletions(-) diff --git a/scripts/dashboards_render_atlas.py b/scripts/dashboards_render_atlas.py index 5a54a0aa..247cb288 100644 --- a/scripts/dashboards_render_atlas.py +++ b/scripts/dashboards_render_atlas.py @@ -1474,6 +1474,8 @@ def build_overview(): description="Per-UPS live snapshot: draw, discharge runtime, and status.", orientation="vertical", wide_layout=False, + title_size=14, + value_size=24, ) ) panels.append( @@ -1514,6 +1516,8 @@ def build_overview(): description="Current tent values: Temp °C, Temp °F, Humidity, Pressure.", orientation="vertical", wide_layout=False, + title_size=16, + value_size=28, ) ) panels.append( @@ -3533,6 +3537,8 @@ def build_power_dashboard(): ], orientation="vertical", wide_layout=False, + title_size=14, + value_size=24, description=( "Per-UPS live snapshot: draw, discharge runtime, and charging/discharging status." ), @@ -3574,6 +3580,8 @@ def build_power_dashboard(): ], orientation="vertical", wide_layout=False, + title_size=16, + value_size=28, description="Current tent values: Temp °C, Temp °F, Humidity, Pressure.", ) ) diff --git a/services/monitoring/dashboards/atlas-overview.json b/services/monitoring/dashboards/atlas-overview.json index 12495c81..5b6c1f71 100644 --- a/services/monitoring/dashboards/atlas-overview.json +++ b/services/monitoring/dashboards/atlas-overview.json @@ -1157,7 +1157,11 @@ }, "textMode": "name_and_value", "orientation": "vertical", - "wideLayout": false + "wideLayout": false, + "text": { + "titleSize": 14, + "valueSize": 24 + } }, "links": [ { @@ -1333,7 +1337,11 @@ }, "textMode": "name_and_value", "orientation": "vertical", - "wideLayout": false + "wideLayout": false, + "text": { + "titleSize": 16, + "valueSize": 28 + } }, "links": [ { diff --git a/services/monitoring/dashboards/atlas-power.json b/services/monitoring/dashboards/atlas-power.json index 4c0326d6..d243fe19 100644 --- a/services/monitoring/dashboards/atlas-power.json +++ b/services/monitoring/dashboards/atlas-power.json @@ -91,7 +91,11 @@ }, "textMode": "name_and_value", "orientation": "vertical", - "wideLayout": false + "wideLayout": false, + "text": { + "titleSize": 14, + "valueSize": 24 + } }, "description": "Per-UPS live snapshot: draw, discharge runtime, and charging/discharging status." }, @@ -254,7 +258,11 @@ }, "textMode": "name_and_value", "orientation": "vertical", - "wideLayout": false + "wideLayout": false, + "text": { + "titleSize": 16, + "valueSize": 28 + } }, "description": "Current tent values: Temp \u00b0C, Temp \u00b0F, Humidity, Pressure." }, diff --git a/services/monitoring/grafana-dashboard-overview.yaml b/services/monitoring/grafana-dashboard-overview.yaml index 6bcf9f74..d86b021a 100644 --- a/services/monitoring/grafana-dashboard-overview.yaml +++ b/services/monitoring/grafana-dashboard-overview.yaml @@ -1166,7 +1166,11 @@ data: }, "textMode": "name_and_value", "orientation": "vertical", - "wideLayout": false + "wideLayout": false, + "text": { + "titleSize": 14, + "valueSize": 24 + } }, "links": [ { @@ -1342,7 +1346,11 @@ data: }, "textMode": "name_and_value", "orientation": "vertical", - "wideLayout": false + "wideLayout": false, + "text": { + "titleSize": 16, + "valueSize": 28 + } }, "links": [ { diff --git a/services/monitoring/grafana-dashboard-power.yaml b/services/monitoring/grafana-dashboard-power.yaml index d295f257..77073e2b 100644 --- a/services/monitoring/grafana-dashboard-power.yaml +++ b/services/monitoring/grafana-dashboard-power.yaml @@ -100,7 +100,11 @@ data: }, "textMode": "name_and_value", "orientation": "vertical", - "wideLayout": false + "wideLayout": false, + "text": { + "titleSize": 14, + "valueSize": 24 + } }, "description": "Per-UPS live snapshot: draw, discharge runtime, and charging/discharging status." }, @@ -263,7 +267,11 @@ data: }, "textMode": "name_and_value", "orientation": "vertical", - "wideLayout": false + "wideLayout": false, + "text": { + "titleSize": 16, + "valueSize": 28 + } }, "description": "Current tent values: Temp \u00b0C, Temp \u00b0F, Humidity, Pressure." },