From 813d057c6da3bfa981c40e2c66aa17ae1089ddda Mon Sep 17 00:00:00 2001 From: jenkins Date: Tue, 19 May 2026 02:29:16 -0300 Subject: [PATCH] monitoring(testing): clarify category panel window --- scripts/dashboards_render_atlas.py | 2 +- scripts/tests/test_dashboards_render_atlas.py | 2 ++ services/monitoring/dashboards/atlas-overview.json | 2 +- services/monitoring/grafana-dashboard-overview.yaml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/dashboards_render_atlas.py b/scripts/dashboards_render_atlas.py index dac81afe..b793a3d2 100644 --- a/scripts/dashboards_render_atlas.py +++ b/scripts/dashboards_render_atlas.py @@ -2431,7 +2431,7 @@ def build_overview(): legend="{{category}}", thresholds=test_success_thresholds, links=overview_link("atlas-testing"), - description="Pass rate by major test category across all suites over the selected time range. Blue is clean; warmer colors show categories needing attention.", + description="Pass rate by major test category across all suites over the last 24 hours. Blue is clean; warmer colors show categories needing attention.", ) ) panels[-1]["options"]["legend"] = {"displayMode": "list", "placement": "bottom", "showLegend": False} diff --git a/scripts/tests/test_dashboards_render_atlas.py b/scripts/tests/test_dashboards_render_atlas.py index de6fd3bd..4840b109 100644 --- a/scripts/tests/test_dashboards_render_atlas.py +++ b/scripts/tests/test_dashboards_render_atlas.py @@ -77,6 +77,8 @@ def test_overview_uses_readable_quality_power_and_gitops_panels(): assert panels_by_title["Test Category Pass Rate"]["targets"][0]["legendFormat"] == "{{category}}" assert "${overview_suite:regex}" not in panels_by_title["Test Category Pass Rate"]["targets"][0]["expr"] assert mod.PLATFORM_TEST_SUITE_CANONICAL_MATCHER in panels_by_title["Test Category Pass Rate"]["targets"][0]["expr"] + assert "platform_quality:test_case_pass_rate:percent_1h" in panels_by_title["Test Category Pass Rate"]["targets"][0]["expr"] + assert panels_by_title["Test Category Pass Rate"]["timeFrom"] == "24h" assert f'category=~"{mod.PLATFORM_TEST_OVERVIEW_CATEGORY_REGEX}"' in panels_by_title["Test Category Pass Rate"]["targets"][0]["expr"] assert "manual" not in mod.PLATFORM_TEST_OVERVIEW_CATEGORY_REGEX assert "unit" not in mod.PLATFORM_TEST_OVERVIEW_CATEGORY_REGEX diff --git a/services/monitoring/dashboards/atlas-overview.json b/services/monitoring/dashboards/atlas-overview.json index 24b24518..37dd6aef 100644 --- a/services/monitoring/dashboards/atlas-overview.json +++ b/services/monitoring/dashboards/atlas-overview.json @@ -2796,7 +2796,7 @@ "id": 46, "type": "state-timeline", "title": "Test Category Pass Rate", - "description": "Pass rate by major test category across all suites over the selected time range. Blue is clean; warmer colors show categories needing attention.", + "description": "Pass rate by major test category across all suites over the last 24 hours. Blue is clean; warmer colors show categories needing attention.", "datasource": { "type": "prometheus", "uid": "atlas-vm" diff --git a/services/monitoring/grafana-dashboard-overview.yaml b/services/monitoring/grafana-dashboard-overview.yaml index 77f49e72..e35da1ab 100644 --- a/services/monitoring/grafana-dashboard-overview.yaml +++ b/services/monitoring/grafana-dashboard-overview.yaml @@ -2805,7 +2805,7 @@ data: "id": 46, "type": "state-timeline", "title": "Test Category Pass Rate", - "description": "Pass rate by major test category across all suites over the selected time range. Blue is clean; warmer colors show categories needing attention.", + "description": "Pass rate by major test category across all suites over the last 24 hours. Blue is clean; warmer colors show categories needing attention.", "datasource": { "type": "prometheus", "uid": "atlas-vm"