monitoring(testing): clarify category panel window

This commit is contained in:
jenkins 2026-05-19 02:29:16 -03:00
parent 9789ff5338
commit 813d057c6d
4 changed files with 5 additions and 3 deletions

View File

@ -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}

View File

@ -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

View File

@ -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"

View File

@ -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"