diff --git a/scripts/dashboards_render_atlas.py b/scripts/dashboards_render_atlas.py index 35cb96c0..bf448b69 100644 --- a/scripts/dashboards_render_atlas.py +++ b/scripts/dashboards_render_atlas.py @@ -2110,7 +2110,7 @@ def build_overview(): thresholds=age_thresholds, limit=12, decimals=2, - links=overview_link("atlas-jobs"), + links=overview_link("atlas-testing"), include_color=False, ) ) @@ -2126,7 +2126,7 @@ def build_overview(): ], legend_display="table", legend_placement="right", - links=overview_link("atlas-jobs"), + links=overview_link("atlas-testing"), ) ariadne_volume["fieldConfig"]["overrides"] = fixed_color_overrides( {"Attempts": dark_blue, "Failures": dark_red} @@ -2228,7 +2228,7 @@ def build_overview(): "text": {"titleSize": 11, "valueSize": 11}, }, "transformations": [{"id": "sortBy", "options": {"fields": ["Value"], "order": "asc"}}], - "links": overview_link("atlas-jobs"), + "links": overview_link("atlas-testing"), "description": description, } ) @@ -4856,10 +4856,6 @@ DASHBOARDS = { "builder": build_mail_dashboard, "configmap": ROOT / "services" / "monitoring" / "grafana-dashboard-mail.yaml", }, - "atlas-jobs": { - "builder": build_jobs_dashboard, - "configmap": ROOT / "services" / "monitoring" / "grafana-dashboard-jobs.yaml", - }, "atlas-testing": { "builder": build_testing_dashboard, "configmap": ROOT / "services" / "monitoring" / "grafana-dashboard-testing.yaml", diff --git a/scripts/tests/test_dashboards_render_atlas.py b/scripts/tests/test_dashboards_render_atlas.py index 0b4bbdb8..f472e661 100644 --- a/scripts/tests/test_dashboards_render_atlas.py +++ b/scripts/tests/test_dashboards_render_atlas.py @@ -70,6 +70,7 @@ def test_overview_uses_readable_quality_power_and_gitops_panels(): assert dashboard["links"] == [ {"title": "Open Atlas Testing", "url": "/d/atlas-testing", "targetBlank": True} ] + assert "atlas-jobs" not in repr(dashboard) assert "Platform Test Success Rate" not in panels_by_title assert panels_by_title["Gate Checks Passing by Suite"]["type"] == "bargauge" assert panels_by_title["Gate Checks Passing by Suite"]["options"]["displayMode"] == "basic" diff --git a/services/monitoring/dashboards/atlas-jobs.json b/services/monitoring/dashboards/atlas-jobs.json deleted file mode 100644 index 02959976..00000000 --- a/services/monitoring/dashboards/atlas-jobs.json +++ /dev/null @@ -1,4268 +0,0 @@ -{ - "uid": "atlas-jobs", - "title": "Atlas Testing", - "folderUid": "atlas-internal", - "editable": true, - "panels": [ - { - "id": 2, - "type": "stat", - "title": "Run Reliability (24h)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 0, - "y": 0 - }, - "targets": [ - { - "expr": "100 * ((sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[24h])) or on() vector(0))) / clamp_min(((sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h])) or on() vector(0))), 1)", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "unit": "percent", - "custom": { - "displayMode": "auto" - }, - "decimals": 2 - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 3, - "type": "stat", - "title": "Run Reliability (30d)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 4, - "y": 0 - }, - "targets": [ - { - "expr": "100 * ((sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[30d])) or on() vector(0))) / clamp_min(((sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[30d])) or on() vector(0))), 1)", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "unit": "percent", - "custom": { - "displayMode": "auto" - }, - "decimals": 2 - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 4, - "type": "stat", - "title": "Failed Runs (24h)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 8, - "y": 0 - }, - "targets": [ - { - "expr": "(sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status!~\"ok|passed|success\"}[24h])) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 5, - "type": "stat", - "title": "Runs (24h)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 12, - "y": 0 - }, - "targets": [ - { - "expr": "(sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h])) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-green", - "value": 1 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 6, - "type": "stat", - "title": "Avg Coverage (%)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 16, - "y": 0 - }, - "targets": [ - { - "expr": "(avg(((max by (suite) ({__name__=~\".*_quality_gate_coverage_percent\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) or on(suite) (max by (suite) (platform_quality_gate_workspace_line_coverage_percent{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})))) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "unit": "percent", - "custom": { - "displayMode": "auto" - }, - "decimals": 2 - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 7, - "type": "stat", - "title": "Suites with LOC >500", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 20, - "y": 0 - }, - "targets": [ - { - "expr": "(sum(((max by (suite) (platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) > bool 0)) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-green", - "value": 0 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 8, - "type": "bargauge", - "title": "Current Gate Health by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 4 - }, - "targets": [ - { - "expr": "sort((100 * sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0))) / clamp_min(sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"} > bool 0))), 1)) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 2 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "asc" - } - } - ], - "description": "Current pass percentage across the required gate dimensions reported by each suite. This is the fastest place to answer whether the latest suite quality signal is healthy." - }, - { - "id": 9, - "type": "bargauge", - "title": "Run Reliability by Suite (24h)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 4 - }, - "targets": [ - { - "expr": "sort_desc(((100 * (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[24h]))) / clamp_min((sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h]))), 1)) and on(suite) ((sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h]))) > 0)) or on(suite) ((0 * (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h])))) - 1))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 2, - "mappings": [ - { - "type": "value", - "options": { - "-1": { - "text": "no runs" - } - } - } - ] - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "asc" - } - } - ], - "description": "Rolling CI run success rate. This can stay low after failed/debug runs even when Current Gate Health is green." - }, - { - "id": 17, - "type": "bargauge", - "title": "Coverage by Suite (Latest, gate 95)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 11 - }, - "targets": [ - { - "expr": "sort(((max by (suite) ({__name__=~\".*_quality_gate_coverage_percent\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) or on(suite) (max by (suite) (platform_quality_gate_workspace_line_coverage_percent{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}))) or on(suite) ((0 * (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[30d])))) - 1))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 2, - "mappings": [ - { - "type": "value", - "options": { - "-1": { - "text": "missing" - } - } - } - ] - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "asc" - } - } - ] - }, - { - "id": 18, - "type": "bargauge", - "title": "Files <=500 LOC by Suite (Latest)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 11 - }, - "targets": [ - { - "expr": "sort(((100 * clamp_min((max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) - (max by (suite) (platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})), 0) / (max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}))) and on(suite) ((max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) > 0)) or on(suite) (100 * (1 - clamp_max((max by (suite) (platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})), 1))) or on(suite) ((0 * (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[30d])))) - 1))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0, - "mappings": [ - { - "type": "value", - "options": { - "-1": { - "text": "missing" - } - } - } - ] - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "asc" - } - } - ], - "description": "Percent of managed LOC-gated files at or under 500 lines. Older suite payloads fall back to 100%/0% until they emit platform_quality_gate_source_files_total." - }, - { - "id": 500, - "type": "row", - "title": "Reliability And Run History", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 18 - }, - "collapsed": true, - "panels": [ - { - "id": 11, - "type": "state-timeline", - "title": "Run Reliability by Suite (7d rolling)", - "description": "Seven-day rolling run success rate per suite. Each suite gets its own lane, so brief failed/debug runs lower the lane color without creating unreadable 0/100 spikes.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 19 - }, - "targets": [ - { - "expr": "(100 * sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[7d])) / (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[7d])))) and on(suite) ((sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[7d]))) > 0)", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 12, - "type": "timeseries", - "title": "Daily Run Volume (Selected Scope)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 19 - }, - "targets": [ - { - "refId": "A", - "expr": "sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[24h])) or on() vector(0)", - "legendFormat": "Success" - }, - { - "refId": "B", - "expr": "sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status!~\"ok|passed|success\"}[24h])) or on() vector(0)", - "legendFormat": "Failure" - } - ], - "fieldConfig": { - "defaults": { - "unit": "none", - "min": 0, - "custom": { - "drawStyle": "bars", - "barAlignment": 0, - "lineWidth": 0, - "fillOpacity": 70, - "stacking": { - "mode": "normal", - "group": "A" - } - } - }, - "overrides": [] - }, - "options": { - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "multi" - } - }, - "description": "Twenty-four-hour rolling run counts for the selected suite/branch scope. This is volume, not a pass-rate percentage." - }, - { - "id": 13, - "type": "state-timeline", - "title": "Coverage History by Suite", - "description": "Latest reported line coverage per suite over time. Coverage is separate from LOC compliance so one signal cannot hide the other.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 27 - }, - "targets": [ - { - "expr": "(max by (suite) (platform_quality_gate_workspace_line_coverage_percent{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) or on(suite) (max by (suite) ({__name__=~\".*_quality_gate_coverage_percent\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 14, - "type": "state-timeline", - "title": "Files <=500 LOC History by Suite", - "description": "Percent of LOC-gated source files at or under the 500-line limit. This uses the existing file-count telemetry; longest-file history needs a new publisher metric.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 27 - }, - "targets": [ - { - "expr": "((100 * clamp_min((max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) - (max by (suite) (platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})), 0) / (max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}))) and on(suite) ((max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) > 0)) or on(suite) (100 * (1 - clamp_max((max by (suite) (platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})), 1)))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - } - ] - }, - { - "id": 501, - "type": "row", - "title": "Check Failure Rates By Suite", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 19 - }, - "collapsed": true, - "panels": [ - { - "id": 130, - "type": "state-timeline", - "title": "Tests Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 29 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"tests|unit|build\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"tests|unit|build\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 131, - "type": "state-timeline", - "title": "Coverage Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 6, - "y": 29 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"coverage\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"coverage\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 132, - "type": "state-timeline", - "title": "LOC Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 12, - "y": 29 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"loc|smell\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"loc|smell\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 133, - "type": "state-timeline", - "title": "Style Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 18, - "y": 29 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"docs|naming|hygiene|lint|docs_naming|style\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"docs|naming|hygiene|lint|docs_naming|style\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 134, - "type": "state-timeline", - "title": "Gate Glue Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 36 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"gate|glue|gate_glue\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"gate|glue|gate_glue\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 135, - "type": "state-timeline", - "title": "SonarQube Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 36 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"sonarqube|sonar\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"sonarqube|sonar\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 136, - "type": "state-timeline", - "title": "Supply Chain Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 36 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"ironbank|supply_chain|image_compliance|artifact_security\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"ironbank|supply_chain|image_compliance|artifact_security\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - } - ] - }, - { - "id": 502, - "type": "row", - "title": "Check Healthy Rates By Suite", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 20 - }, - "collapsed": true, - "panels": [ - { - "id": 138, - "type": "state-timeline", - "title": "Tests Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 43 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"tests|unit|build\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"tests|unit|build\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 139, - "type": "state-timeline", - "title": "Coverage Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 6, - "y": 43 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"coverage\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"coverage\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 140, - "type": "state-timeline", - "title": "LOC Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 12, - "y": 43 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"loc|smell\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"loc|smell\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 141, - "type": "state-timeline", - "title": "Style Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 18, - "y": 43 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"docs|naming|hygiene|lint|docs_naming|style\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"docs|naming|hygiene|lint|docs_naming|style\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 142, - "type": "state-timeline", - "title": "Gate Glue Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 50 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"gate|glue|gate_glue\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"gate|glue|gate_glue\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 143, - "type": "state-timeline", - "title": "SonarQube Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 50 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"sonarqube|sonar\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"sonarqube|sonar\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 144, - "type": "state-timeline", - "title": "Supply Chain Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 50 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"ironbank|supply_chain|image_compliance|artifact_security\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"ironbank|supply_chain|image_compliance|artifact_security\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - } - ] - }, - { - "id": 503, - "type": "row", - "title": "Test Drilldowns And Problem Tests", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 21 - }, - "collapsed": true, - "panels": [ - { - "id": 145, - "type": "state-timeline", - "title": "Problematic Tests Over Time (Top failures)", - "description": "Top failing test cases over time, using memoized hourly rollups. Blank branch/test labels and placeholder no-test-case rows are excluded.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 74 - }, - "targets": [ - { - "expr": "topk(12, ((sum by (suite, test) (platform_quality:test_case_status:count_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test!=\"__no_test_cases__\",status=\"failed\"})) or on(suite, test) (sum by (suite, test) (max_over_time(platform_quality_gate_test_case_result{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test!=\"__no_test_cases__\",exported_job=\"platform-quality-ci\",status=\"failed\"}[$__interval])))))", - "refId": "A", - "legendFormat": "{{suite}} - {{test}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "none", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "links": [ - { - "title": "Open latest artifacts", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "Open Jenkins job", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/", - "targetBlank": true - } - ] - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ] - }, - { - "id": 147, - "type": "bargauge", - "title": "Most Problematic Test by Suite (30d)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 83 - }, - "targets": [ - { - "expr": "sort_desc(topk by (suite) (1, ((sum by (suite, test) (sum_over_time(platform_quality:test_case_status:count_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test!=\"__no_test_cases__\",status=\"failed\"}[30d:1h]))) or on(suite, test) (sum by (suite, test) (increase(platform_quality_gate_test_case_result{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test!=\"__no_test_cases__\",exported_job=\"platform-quality-ci\",status=\"failed\"}[30d]))))))", - "refId": "A", - "legendFormat": "{{suite}} \u00b7 {{test}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "none", - "min": 0, - "max": null, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "links": [ - { - "title": "Open latest artifacts", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "Open Jenkins job", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/", - "targetBlank": true - } - ] - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ], - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - }, - { - "id": "limit", - "options": { - "limit": 9 - } - } - ] - }, - { - "id": 146, - "type": "timeseries", - "title": "Selected Test Pass/Fail History", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 83 - }, - "targets": [ - { - "refId": "A", - "expr": "(sum(platform_quality:test_case_status:count_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test=~\"${test:regex}\",test!=\"__no_test_cases__\",status=\"passed\"}) or on() vector(0))", - "legendFormat": "Passed" - }, - { - "refId": "B", - "expr": "(sum(platform_quality:test_case_status:count_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test=~\"${test:regex}\",test!=\"__no_test_cases__\",status=\"failed\"}) or on() vector(0))", - "legendFormat": "Failed" - }, - { - "refId": "C", - "expr": "(sum(platform_quality:test_case_status:count_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test=~\"${test:regex}\",test!=\"__no_test_cases__\",status=\"skipped\"}) or on() vector(0))", - "legendFormat": "Skipped" - } - ], - "fieldConfig": { - "defaults": { - "unit": "none", - "links": [ - { - "title": "Open build artifacts", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/${__field.labels.build_number}/artifact/", - "targetBlank": true - }, - { - "title": "Open build", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/${__field.labels.build_number}/", - "targetBlank": true - } - ], - "min": 0, - "custom": { - "drawStyle": "bars", - "barAlignment": 0, - "lineWidth": 0, - "fillOpacity": 70, - "stacking": { - "mode": "normal", - "group": "A" - } - } - }, - "overrides": [] - }, - "options": { - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "multi" - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ], - "description": "Stacked hourly outcome volume for the selected suite/branch/test scope. This uses vmalert rollups only, avoiding expensive raw 30-day per-test scans." - }, - { - "id": 152, - "type": "state-timeline", - "title": "Selected Test Pass Rate History", - "description": "Average pass rate per suite for the selected test filter, using memoized hourly test-case pass-rate rollups instead of raw historical scans.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 83 - }, - "targets": [ - { - "expr": "avg by (suite) (platform_quality:test_case_pass_rate:percent_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test=~\"${test:regex}\",test!=\"__no_test_cases__\"})", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100, - "links": [ - { - "title": "Open build artifacts", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/${__field.labels.build_number}/artifact/", - "targetBlank": true - }, - { - "title": "Open build", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/${__field.labels.build_number}/", - "targetBlank": true - } - ] - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ] - } - ] - }, - { - "id": 504, - "type": "row", - "title": "Telemetry Completeness And Branches", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 22 - }, - "collapsed": true, - "panels": [ - { - "id": 27, - "type": "bargauge", - "title": "Tests Metrics Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 94 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) ({__name__=~\".*_quality_gate_tests_total\",exported_job=\"platform-quality-ci\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 28, - "type": "bargauge", - "title": "Checks Metrics Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 6, - "y": 94 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) ({__name__=~\".*_quality_gate_checks_total\",exported_job=\"platform-quality-ci\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 29, - "type": "bargauge", - "title": "Coverage Metrics Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 12, - "y": 94 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) (platform_quality_gate_workspace_line_coverage_percent{exported_job=\"platform-quality-ci\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 30, - "type": "bargauge", - "title": "LOC Compliance Metrics Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 18, - "y": 94 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) (platform_quality_gate_source_lines_over_500_total{exported_job=\"platform-quality-ci\"}) and on(suite) count by (suite) (platform_quality_gate_source_files_total{exported_job=\"platform-quality-ci\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 148, - "type": "bargauge", - "title": "Test-Case Metrics Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 101 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) (platform_quality_gate_test_case_result{exported_job=\"platform-quality-ci\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 151, - "type": "bargauge", - "title": "Real Test Cases Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 6, - "y": 101 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) (platform_quality_gate_test_case_result{exported_job=\"platform-quality-ci\",test!=\"__no_test_cases__\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 149, - "type": "bargauge", - "title": "Recent Branch Evidence by Suite (30d)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 12, - "y": 101 - }, - "targets": [ - { - "expr": "sort_desc(count by (suite, branch) (max_over_time(platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}[30d])))", - "refId": "A", - "legendFormat": "{{suite}} \u00b7 {{branch}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "none", - "min": 0, - "max": null, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-green", - "value": null - }, - { - "color": "dark-red", - "value": 1 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ], - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 150, - "type": "bargauge", - "title": "Primary Branch Clean by Suite (30d)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 18, - "y": 101 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((count by (suite) (max_over_time(platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}[30d]))) > bool 0) unless on(suite) ((count by (suite) (max_over_time(platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\",branch!~\"main|master|origin/main|origin/master|unknown\"}[30d]))) > bool 0))) or on(suite) (0 * ((count by (suite) (max_over_time(platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}[30d]))) > bool 0)))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ], - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - } - ] - }, - { - "id": 505, - "type": "row", - "title": "SonarQube Project Health", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 23 - }, - "collapsed": true, - "panels": [ - { - "id": 31, - "type": "stat", - "title": "SonarQube API Up", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 0, - "y": 111 - }, - "targets": [ - { - "expr": "(max(sonarqube_up) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-green", - "value": 1 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 32, - "type": "stat", - "title": "Sonar Projects (Selected)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 4, - "y": 111 - }, - "targets": [ - { - "expr": "(count(max by (project_key) (sonarqube_project_quality_gate_pass{project_key=~\"${suite:regex}\"})) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 33, - "type": "stat", - "title": "Sonar Gate Fetch Errors", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 8, - "y": 111 - }, - "targets": [ - { - "expr": "(max(sonarqube_quality_gate_fetch_errors_total) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 34, - "type": "piechart", - "title": "Sonar Gate Status Mix (Selected)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 12, - "y": 111 - }, - "targets": [ - { - "expr": "count by (status) (max by (project_key, status) (sonarqube_project_quality_gate_pass{project_key=~\"${suite:regex}\"}))", - "refId": "A", - "legendFormat": "{{status}}" - } - ], - "fieldConfig": { - "defaults": { - "unit": "percent", - "color": { - "mode": "palette-classic" - } - }, - "overrides": [] - }, - "options": { - "legend": { - "displayMode": "list", - "placement": "right" - }, - "pieType": "pie", - "displayLabels": [], - "tooltip": { - "mode": "single" - }, - "colorScheme": "interpolateSpectral", - "colorBy": "value", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - } - }, - { - "id": 35, - "type": "state-timeline", - "title": "Sonar Gate Health by Project", - "description": "SonarQube gate status over time by project. OK projects render as full healthy lanes; non-OK projects drop to red without disappearing.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 111 - }, - "targets": [ - { - "expr": "100 * max by (project_key) (sonarqube_project_quality_gate_pass{project_key=~\"${suite:regex}\"})", - "refId": "A", - "legendFormat": "{{project_key}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - } - ] - } - ], - "time": { - "from": "now-30d", - "to": "now" - }, - "annotations": { - "list": [] - }, - "schemaVersion": 39, - "style": "dark", - "tags": [ - "atlas", - "testing", - "quality-gate", - "ci" - ], - "templating": { - "list": [ - { - "name": "suite", - "label": "Suite", - "type": "custom", - "query": "ariadne : ariadne,metis : metis,ananke : ananke,atlasbot : atlasbot,pegasus : pegasus,soteria : soteria,titan_iac : titan_iac,bstein_home : bstein_home,data_prepper : data_prepper", - "current": { - "text": "All", - "value": "$__all", - "selected": true - }, - "options": [ - { - "text": "ariadne", - "value": "ariadne", - "selected": false - }, - { - "text": "metis", - "value": "metis", - "selected": false - }, - { - "text": "ananke", - "value": "ananke", - "selected": false - }, - { - "text": "atlasbot", - "value": "atlasbot", - "selected": false - }, - { - "text": "pegasus", - "value": "pegasus", - "selected": false - }, - { - "text": "soteria", - "value": "soteria", - "selected": false - }, - { - "text": "titan_iac", - "value": "titan_iac", - "selected": false - }, - { - "text": "bstein_home", - "value": "bstein_home", - "selected": false - }, - { - "text": "data_prepper", - "value": "data_prepper", - "selected": false - } - ], - "hide": 0, - "multi": false, - "includeAll": true, - "allValue": "ariadne|metis|ananke|atlasbot|pegasus|soteria|titan_iac|bstein_home|data_prepper", - "refresh": 1, - "sort": 1, - "skipUrlSync": false - }, - { - "name": "branch", - "label": "Branch", - "type": "query", - "query": "label_values(platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",exported_job=\"platform-quality-ci\"}, branch)", - "current": { - "text": "All", - "value": "$__all", - "selected": true - }, - "options": [], - "hide": 0, - "multi": false, - "includeAll": true, - "allValue": ".*", - "refresh": 2, - "sort": 1, - "skipUrlSync": false - }, - { - "name": "test", - "label": "Test Case", - "type": "query", - "query": "label_values(platform_quality_gate_test_case_result{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test!=\"__no_test_cases__\",exported_job=\"platform-quality-ci\"}, test)", - "current": { - "text": "All", - "value": "$__all", - "selected": true - }, - "options": [], - "hide": 0, - "multi": false, - "includeAll": true, - "allValue": ".*", - "refresh": 2, - "sort": 1, - "skipUrlSync": false - }, - { - "name": "jenkins_base", - "label": "Jenkins Base URL", - "type": "textbox", - "query": "https://ci.bstein.dev", - "current": { - "text": "https://ci.bstein.dev", - "value": "https://ci.bstein.dev", - "selected": true - }, - "hide": 0, - "skipUrlSync": false - } - ] - } -} diff --git a/services/monitoring/dashboards/atlas-overview.json b/services/monitoring/dashboards/atlas-overview.json index a1fbe5ca..acdd08d7 100644 --- a/services/monitoring/dashboards/atlas-overview.json +++ b/services/monitoring/dashboards/atlas-overview.json @@ -2149,8 +2149,8 @@ }, "links": [ { - "title": "Open atlas-jobs dashboard", - "url": "/d/atlas-jobs", + "title": "Open atlas-testing dashboard", + "url": "/d/atlas-testing", "targetBlank": true } ], @@ -2255,8 +2255,8 @@ }, "links": [ { - "title": "Open atlas-jobs dashboard", - "url": "/d/atlas-jobs", + "title": "Open atlas-testing dashboard", + "url": "/d/atlas-testing", "targetBlank": true } ] @@ -2451,8 +2451,8 @@ ], "links": [ { - "title": "Open atlas-jobs dashboard", - "url": "/d/atlas-jobs", + "title": "Open atlas-testing dashboard", + "url": "/d/atlas-testing", "targetBlank": true } ], @@ -2558,8 +2558,8 @@ ], "links": [ { - "title": "Open atlas-jobs dashboard", - "url": "/d/atlas-jobs", + "title": "Open atlas-testing dashboard", + "url": "/d/atlas-testing", "targetBlank": true } ], diff --git a/services/monitoring/grafana-dashboard-jobs.yaml b/services/monitoring/grafana-dashboard-jobs.yaml deleted file mode 100644 index b22bbdbc..00000000 --- a/services/monitoring/grafana-dashboard-jobs.yaml +++ /dev/null @@ -1,4277 +0,0 @@ -# services/monitoring/grafana-dashboard-jobs.yaml -apiVersion: v1 -kind: ConfigMap -metadata: - name: grafana-dashboard-jobs - labels: - grafana_dashboard: "1" -data: - atlas-jobs.json: | - { - "uid": "atlas-jobs", - "title": "Atlas Testing", - "folderUid": "atlas-internal", - "editable": true, - "panels": [ - { - "id": 2, - "type": "stat", - "title": "Run Reliability (24h)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 0, - "y": 0 - }, - "targets": [ - { - "expr": "100 * ((sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[24h])) or on() vector(0))) / clamp_min(((sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h])) or on() vector(0))), 1)", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "unit": "percent", - "custom": { - "displayMode": "auto" - }, - "decimals": 2 - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 3, - "type": "stat", - "title": "Run Reliability (30d)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 4, - "y": 0 - }, - "targets": [ - { - "expr": "100 * ((sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[30d])) or on() vector(0))) / clamp_min(((sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[30d])) or on() vector(0))), 1)", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "unit": "percent", - "custom": { - "displayMode": "auto" - }, - "decimals": 2 - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 4, - "type": "stat", - "title": "Failed Runs (24h)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 8, - "y": 0 - }, - "targets": [ - { - "expr": "(sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status!~\"ok|passed|success\"}[24h])) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 5, - "type": "stat", - "title": "Runs (24h)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 12, - "y": 0 - }, - "targets": [ - { - "expr": "(sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h])) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-green", - "value": 1 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 6, - "type": "stat", - "title": "Avg Coverage (%)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 16, - "y": 0 - }, - "targets": [ - { - "expr": "(avg(((max by (suite) ({__name__=~\".*_quality_gate_coverage_percent\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) or on(suite) (max by (suite) (platform_quality_gate_workspace_line_coverage_percent{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})))) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "unit": "percent", - "custom": { - "displayMode": "auto" - }, - "decimals": 2 - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 7, - "type": "stat", - "title": "Suites with LOC >500", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 20, - "y": 0 - }, - "targets": [ - { - "expr": "(sum(((max by (suite) (platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) > bool 0)) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-green", - "value": 0 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 8, - "type": "bargauge", - "title": "Current Gate Health by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 4 - }, - "targets": [ - { - "expr": "sort((100 * sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0))) / clamp_min(sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"} > bool 0))), 1)) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 2 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "asc" - } - } - ], - "description": "Current pass percentage across the required gate dimensions reported by each suite. This is the fastest place to answer whether the latest suite quality signal is healthy." - }, - { - "id": 9, - "type": "bargauge", - "title": "Run Reliability by Suite (24h)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 4 - }, - "targets": [ - { - "expr": "sort_desc(((100 * (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[24h]))) / clamp_min((sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h]))), 1)) and on(suite) ((sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h]))) > 0)) or on(suite) ((0 * (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h])))) - 1))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 2, - "mappings": [ - { - "type": "value", - "options": { - "-1": { - "text": "no runs" - } - } - } - ] - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "asc" - } - } - ], - "description": "Rolling CI run success rate. This can stay low after failed/debug runs even when Current Gate Health is green." - }, - { - "id": 17, - "type": "bargauge", - "title": "Coverage by Suite (Latest, gate 95)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 11 - }, - "targets": [ - { - "expr": "sort(((max by (suite) ({__name__=~\".*_quality_gate_coverage_percent\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) or on(suite) (max by (suite) (platform_quality_gate_workspace_line_coverage_percent{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}))) or on(suite) ((0 * (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[30d])))) - 1))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 2, - "mappings": [ - { - "type": "value", - "options": { - "-1": { - "text": "missing" - } - } - } - ] - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "asc" - } - } - ] - }, - { - "id": 18, - "type": "bargauge", - "title": "Files <=500 LOC by Suite (Latest)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 11 - }, - "targets": [ - { - "expr": "sort(((100 * clamp_min((max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) - (max by (suite) (platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})), 0) / (max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}))) and on(suite) ((max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) > 0)) or on(suite) (100 * (1 - clamp_max((max by (suite) (platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})), 1))) or on(suite) ((0 * (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[30d])))) - 1))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0, - "mappings": [ - { - "type": "value", - "options": { - "-1": { - "text": "missing" - } - } - } - ] - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "asc" - } - } - ], - "description": "Percent of managed LOC-gated files at or under 500 lines. Older suite payloads fall back to 100%/0% until they emit platform_quality_gate_source_files_total." - }, - { - "id": 500, - "type": "row", - "title": "Reliability And Run History", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 18 - }, - "collapsed": true, - "panels": [ - { - "id": 11, - "type": "state-timeline", - "title": "Run Reliability by Suite (7d rolling)", - "description": "Seven-day rolling run success rate per suite. Each suite gets its own lane, so brief failed/debug runs lower the lane color without creating unreadable 0/100 spikes.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 19 - }, - "targets": [ - { - "expr": "(100 * sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[7d])) / (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[7d])))) and on(suite) ((sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[7d]))) > 0)", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 12, - "type": "timeseries", - "title": "Daily Run Volume (Selected Scope)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 19 - }, - "targets": [ - { - "refId": "A", - "expr": "sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[24h])) or on() vector(0)", - "legendFormat": "Success" - }, - { - "refId": "B", - "expr": "sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status!~\"ok|passed|success\"}[24h])) or on() vector(0)", - "legendFormat": "Failure" - } - ], - "fieldConfig": { - "defaults": { - "unit": "none", - "min": 0, - "custom": { - "drawStyle": "bars", - "barAlignment": 0, - "lineWidth": 0, - "fillOpacity": 70, - "stacking": { - "mode": "normal", - "group": "A" - } - } - }, - "overrides": [] - }, - "options": { - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "multi" - } - }, - "description": "Twenty-four-hour rolling run counts for the selected suite/branch scope. This is volume, not a pass-rate percentage." - }, - { - "id": 13, - "type": "state-timeline", - "title": "Coverage History by Suite", - "description": "Latest reported line coverage per suite over time. Coverage is separate from LOC compliance so one signal cannot hide the other.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 27 - }, - "targets": [ - { - "expr": "(max by (suite) (platform_quality_gate_workspace_line_coverage_percent{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) or on(suite) (max by (suite) ({__name__=~\".*_quality_gate_coverage_percent\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 14, - "type": "state-timeline", - "title": "Files <=500 LOC History by Suite", - "description": "Percent of LOC-gated source files at or under the 500-line limit. This uses the existing file-count telemetry; longest-file history needs a new publisher metric.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 27 - }, - "targets": [ - { - "expr": "((100 * clamp_min((max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) - (max by (suite) (platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})), 0) / (max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}))) and on(suite) ((max by (suite) (platform_quality_gate_source_files_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})) > 0)) or on(suite) (100 * (1 - clamp_max((max by (suite) (platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"})), 1)))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - } - ] - }, - { - "id": 501, - "type": "row", - "title": "Check Failure Rates By Suite", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 19 - }, - "collapsed": true, - "panels": [ - { - "id": 130, - "type": "state-timeline", - "title": "Tests Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 29 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"tests|unit|build\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"tests|unit|build\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 131, - "type": "state-timeline", - "title": "Coverage Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 6, - "y": 29 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"coverage\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"coverage\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 132, - "type": "state-timeline", - "title": "LOC Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 12, - "y": 29 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"loc|smell\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"loc|smell\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 133, - "type": "state-timeline", - "title": "Style Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 18, - "y": 29 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"docs|naming|hygiene|lint|docs_naming|style\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"docs|naming|hygiene|lint|docs_naming|style\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 134, - "type": "state-timeline", - "title": "Gate Glue Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 36 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"gate|glue|gate_glue\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"gate|glue|gate_glue\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 135, - "type": "state-timeline", - "title": "SonarQube Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 36 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"sonarqube|sonar\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"sonarqube|sonar\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 136, - "type": "state-timeline", - "title": "Supply Chain Failure Rate", - "description": "Current bad-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are failing right now; this is not an event-count spike chart.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 36 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"ironbank|supply_chain|image_compliance|artifact_security\",result!~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"ironbank|supply_chain|image_compliance|artifact_security\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - } - ] - }, - { - "id": 502, - "type": "row", - "title": "Check Healthy Rates By Suite", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 20 - }, - "collapsed": true, - "panels": [ - { - "id": 138, - "type": "state-timeline", - "title": "Tests Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 43 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"tests|unit|build\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"tests|unit|build\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 139, - "type": "state-timeline", - "title": "Coverage Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 6, - "y": 43 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"coverage\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"coverage\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 140, - "type": "state-timeline", - "title": "LOC Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 12, - "y": 43 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"loc|smell\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"loc|smell\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 141, - "type": "state-timeline", - "title": "Style Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 18, - "y": 43 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"docs|naming|hygiene|lint|docs_naming|style\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"docs|naming|hygiene|lint|docs_naming|style\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 142, - "type": "state-timeline", - "title": "Gate Glue Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 50 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"gate|glue|gate_glue\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"gate|glue|gate_glue\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 143, - "type": "state-timeline", - "title": "SonarQube Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 50 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"sonarqube|sonar\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"sonarqube|sonar\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - }, - { - "id": 144, - "type": "state-timeline", - "title": "Supply Chain Healthy Rate", - "description": "Current acceptable-state percentage for this check family, evaluated over time. Higher means more of the selected suites/checks are healthy right now; gaps mean there was no check evidence.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 50 - }, - "targets": [ - { - "expr": "(((100 * (sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"ironbank|supply_chain|image_compliance|artifact_security\",result=~\"ok|passed|success|not_applicable|skipped|na|n/a\"} > bool 0)))) / clamp_min((sum by (suite) (max by (suite, check) (({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"ironbank|supply_chain|image_compliance|artifact_security\"} > bool 0)))), 1))) or on(suite) ((0 * (count by (suite) (platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}) >= bool 0))))", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - } - ] - }, - { - "id": 503, - "type": "row", - "title": "Test Drilldowns And Problem Tests", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 21 - }, - "collapsed": true, - "panels": [ - { - "id": 145, - "type": "state-timeline", - "title": "Problematic Tests Over Time (Top failures)", - "description": "Top failing test cases over time, using memoized hourly rollups. Blank branch/test labels and placeholder no-test-case rows are excluded.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 74 - }, - "targets": [ - { - "expr": "topk(12, ((sum by (suite, test) (platform_quality:test_case_status:count_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test!=\"__no_test_cases__\",status=\"failed\"})) or on(suite, test) (sum by (suite, test) (max_over_time(platform_quality_gate_test_case_result{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test!=\"__no_test_cases__\",exported_job=\"platform-quality-ci\",status=\"failed\"}[$__interval])))))", - "refId": "A", - "legendFormat": "{{suite}} - {{test}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "none", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "links": [ - { - "title": "Open latest artifacts", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "Open Jenkins job", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/", - "targetBlank": true - } - ] - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ] - }, - { - "id": 147, - "type": "bargauge", - "title": "Most Problematic Test by Suite (30d)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 83 - }, - "targets": [ - { - "expr": "sort_desc(topk by (suite) (1, ((sum by (suite, test) (sum_over_time(platform_quality:test_case_status:count_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test!=\"__no_test_cases__\",status=\"failed\"}[30d:1h]))) or on(suite, test) (sum by (suite, test) (increase(platform_quality_gate_test_case_result{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test!=\"__no_test_cases__\",exported_job=\"platform-quality-ci\",status=\"failed\"}[30d]))))))", - "refId": "A", - "legendFormat": "{{suite}} \u00b7 {{test}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "none", - "min": 0, - "max": null, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "links": [ - { - "title": "Open latest artifacts", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "Open Jenkins job", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/", - "targetBlank": true - } - ] - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ], - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - }, - { - "id": "limit", - "options": { - "limit": 9 - } - } - ] - }, - { - "id": 146, - "type": "timeseries", - "title": "Selected Test Pass/Fail History", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 83 - }, - "targets": [ - { - "refId": "A", - "expr": "(sum(platform_quality:test_case_status:count_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test=~\"${test:regex}\",test!=\"__no_test_cases__\",status=\"passed\"}) or on() vector(0))", - "legendFormat": "Passed" - }, - { - "refId": "B", - "expr": "(sum(platform_quality:test_case_status:count_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test=~\"${test:regex}\",test!=\"__no_test_cases__\",status=\"failed\"}) or on() vector(0))", - "legendFormat": "Failed" - }, - { - "refId": "C", - "expr": "(sum(platform_quality:test_case_status:count_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test=~\"${test:regex}\",test!=\"__no_test_cases__\",status=\"skipped\"}) or on() vector(0))", - "legendFormat": "Skipped" - } - ], - "fieldConfig": { - "defaults": { - "unit": "none", - "links": [ - { - "title": "Open build artifacts", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/${__field.labels.build_number}/artifact/", - "targetBlank": true - }, - { - "title": "Open build", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/${__field.labels.build_number}/", - "targetBlank": true - } - ], - "min": 0, - "custom": { - "drawStyle": "bars", - "barAlignment": 0, - "lineWidth": 0, - "fillOpacity": 70, - "stacking": { - "mode": "normal", - "group": "A" - } - } - }, - "overrides": [] - }, - "options": { - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "multi" - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ], - "description": "Stacked hourly outcome volume for the selected suite/branch/test scope. This uses vmalert rollups only, avoiding expensive raw 30-day per-test scans." - }, - { - "id": 152, - "type": "state-timeline", - "title": "Selected Test Pass Rate History", - "description": "Average pass rate per suite for the selected test filter, using memoized hourly test-case pass-rate rollups instead of raw historical scans.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 83 - }, - "targets": [ - { - "expr": "avg by (suite) (platform_quality:test_case_pass_rate:percent_1h{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test=~\"${test:regex}\",test!=\"__no_test_cases__\"})", - "refId": "A", - "legendFormat": "{{suite}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100, - "links": [ - { - "title": "Open build artifacts", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/${__field.labels.build_number}/artifact/", - "targetBlank": true - }, - { - "title": "Open build", - "url": "${jenkins_base}/job/${__field.labels.jenkins_job}/${__field.labels.build_number}/", - "targetBlank": true - } - ] - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ] - } - ] - }, - { - "id": 504, - "type": "row", - "title": "Telemetry Completeness And Branches", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 22 - }, - "collapsed": true, - "panels": [ - { - "id": 27, - "type": "bargauge", - "title": "Tests Metrics Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 94 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) ({__name__=~\".*_quality_gate_tests_total\",exported_job=\"platform-quality-ci\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 28, - "type": "bargauge", - "title": "Checks Metrics Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 6, - "y": 94 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) ({__name__=~\".*_quality_gate_checks_total\",exported_job=\"platform-quality-ci\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 29, - "type": "bargauge", - "title": "Coverage Metrics Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 12, - "y": 94 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) (platform_quality_gate_workspace_line_coverage_percent{exported_job=\"platform-quality-ci\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 30, - "type": "bargauge", - "title": "LOC Compliance Metrics Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 18, - "y": 94 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) (platform_quality_gate_source_lines_over_500_total{exported_job=\"platform-quality-ci\"}) and on(suite) count by (suite) (platform_quality_gate_source_files_total{exported_job=\"platform-quality-ci\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 148, - "type": "bargauge", - "title": "Test-Case Metrics Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 101 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) (platform_quality_gate_test_case_result{exported_job=\"platform-quality-ci\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 151, - "type": "bargauge", - "title": "Real Test Cases Present by Suite", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 6, - "y": 101 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\")) and on(suite) count by (suite) (platform_quality_gate_test_case_result{exported_job=\"platform-quality-ci\",test!=\"__no_test_cases__\"})))) or on(suite) (0 * (label_replace(vector(1), \"suite\", \"ariadne\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"metis\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"ananke\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"atlasbot\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"pegasus\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"soteria\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"titan_iac\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"bstein_home\", \"__name__\", \".*\") or label_replace(vector(1), \"suite\", \"data_prepper\", \"__name__\", \".*\"))))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 149, - "type": "bargauge", - "title": "Recent Branch Evidence by Suite (30d)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 12, - "y": 101 - }, - "targets": [ - { - "expr": "sort_desc(count by (suite, branch) (max_over_time(platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}[30d])))", - "refId": "A", - "legendFormat": "{{suite}} \u00b7 {{branch}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "none", - "min": 0, - "max": null, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-green", - "value": null - }, - { - "color": "dark-red", - "value": 1 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ], - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - }, - { - "id": 150, - "type": "bargauge", - "title": "Primary Branch Clean by Suite (30d)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 18, - "y": 101 - }, - "targets": [ - { - "expr": "sort_desc((100 * (((count by (suite) (max_over_time(platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}[30d]))) > bool 0) unless on(suite) ((count by (suite) (max_over_time(platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\",branch!~\"main|master|origin/main|origin/master|unknown\"}[30d]))) > bool 0))) or on(suite) (0 * ((count by (suite) (max_over_time(platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",exported_job=\"platform-quality-ci\"}[30d]))) > bool 0)))", - "refId": "A", - "legendFormat": "{{suite}}", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "min": 0, - "max": 100, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "decimals": 0 - }, - "overrides": [] - }, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "links": [ - { - "title": "Open Jenkins", - "url": "${jenkins_base}/", - "targetBlank": true - }, - { - "title": "ariadne: Job", - "url": "${jenkins_base}/job/ariadne/", - "targetBlank": true - }, - { - "title": "ariadne: Last Artifacts", - "url": "${jenkins_base}/job/ariadne/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "metis: Job", - "url": "${jenkins_base}/job/metis/", - "targetBlank": true - }, - { - "title": "metis: Last Artifacts", - "url": "${jenkins_base}/job/metis/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "ananke: Job", - "url": "${jenkins_base}/job/ananke/", - "targetBlank": true - }, - { - "title": "ananke: Last Artifacts", - "url": "${jenkins_base}/job/ananke/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "atlasbot: Job", - "url": "${jenkins_base}/job/atlasbot/", - "targetBlank": true - }, - { - "title": "atlasbot: Last Artifacts", - "url": "${jenkins_base}/job/atlasbot/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "pegasus: Job", - "url": "${jenkins_base}/job/pegasus/", - "targetBlank": true - }, - { - "title": "pegasus: Last Artifacts", - "url": "${jenkins_base}/job/pegasus/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "soteria: Job", - "url": "${jenkins_base}/job/Soteria/", - "targetBlank": true - }, - { - "title": "soteria: Last Artifacts", - "url": "${jenkins_base}/job/Soteria/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "titan_iac: Job", - "url": "${jenkins_base}/job/titan-iac/", - "targetBlank": true - }, - { - "title": "titan_iac: Last Artifacts", - "url": "${jenkins_base}/job/titan-iac/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "bstein_home: Job", - "url": "${jenkins_base}/job/bstein-dev-home/", - "targetBlank": true - }, - { - "title": "bstein_home: Last Artifacts", - "url": "${jenkins_base}/job/bstein-dev-home/lastCompletedBuild/artifact/", - "targetBlank": true - }, - { - "title": "data_prepper: Job", - "url": "${jenkins_base}/job/data-prepper/", - "targetBlank": true - }, - { - "title": "data_prepper: Last Artifacts", - "url": "${jenkins_base}/job/data-prepper/lastCompletedBuild/artifact/", - "targetBlank": true - } - ], - "transformations": [ - { - "id": "sortBy", - "options": { - "fields": [ - "Value" - ], - "order": "desc" - } - } - ] - } - ] - }, - { - "id": 505, - "type": "row", - "title": "SonarQube Project Health", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 23 - }, - "collapsed": true, - "panels": [ - { - "id": 31, - "type": "stat", - "title": "SonarQube API Up", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 0, - "y": 111 - }, - "targets": [ - { - "expr": "(max(sonarqube_up) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-green", - "value": 1 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 32, - "type": "stat", - "title": "Sonar Projects (Selected)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 4, - "y": 111 - }, - "targets": [ - { - "expr": "(count(max by (project_key) (sonarqube_project_quality_gate_pass{project_key=~\"${suite:regex}\"})) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 33, - "type": "stat", - "title": "Sonar Gate Fetch Errors", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 8, - "y": 111 - }, - "targets": [ - { - "expr": "(max(sonarqube_quality_gate_fetch_errors_total) or on() vector(0))", - "refId": "A", - "instant": true - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-blue", - "value": null - }, - { - "color": "dark-green", - "value": 0.01 - }, - { - "color": "dark-yellow", - "value": 1 - }, - { - "color": "dark-orange", - "value": 3 - }, - { - "color": "dark-red", - "value": 5 - } - ] - }, - "unit": "none", - "custom": { - "displayMode": "auto" - } - }, - "overrides": [] - }, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "center", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "value" - } - }, - { - "id": 34, - "type": "piechart", - "title": "Sonar Gate Status Mix (Selected)", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 12, - "y": 111 - }, - "targets": [ - { - "expr": "count by (status) (max by (project_key, status) (sonarqube_project_quality_gate_pass{project_key=~\"${suite:regex}\"}))", - "refId": "A", - "legendFormat": "{{status}}" - } - ], - "fieldConfig": { - "defaults": { - "unit": "percent", - "color": { - "mode": "palette-classic" - } - }, - "overrides": [] - }, - "options": { - "legend": { - "displayMode": "list", - "placement": "right" - }, - "pieType": "pie", - "displayLabels": [], - "tooltip": { - "mode": "single" - }, - "colorScheme": "interpolateSpectral", - "colorBy": "value", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - } - }, - { - "id": 35, - "type": "state-timeline", - "title": "Sonar Gate Health by Project", - "description": "SonarQube gate status over time by project. OK projects render as full healthy lanes; non-OK projects drop to red without disappearing.", - "datasource": { - "type": "prometheus", - "uid": "atlas-vm" - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 111 - }, - "targets": [ - { - "expr": "100 * max by (project_key) (sonarqube_project_quality_gate_pass{project_key=~\"${suite:regex}\"})", - "refId": "A", - "legendFormat": "{{project_key}}" - } - ], - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "unit": "percent", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 90 - }, - { - "color": "dark-yellow", - "value": 93 - }, - { - "color": "dark-green", - "value": 95 - }, - { - "color": "dark-blue", - "value": 100 - } - ] - }, - "custom": { - "fillOpacity": 70, - "lineWidth": 0, - "spanNulls": true - }, - "min": 0, - "max": 100 - }, - "overrides": [] - }, - "options": { - "mergeValues": true, - "showValue": "never", - "legend": { - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - } - } - ] - } - ], - "time": { - "from": "now-30d", - "to": "now" - }, - "annotations": { - "list": [] - }, - "schemaVersion": 39, - "style": "dark", - "tags": [ - "atlas", - "testing", - "quality-gate", - "ci" - ], - "templating": { - "list": [ - { - "name": "suite", - "label": "Suite", - "type": "custom", - "query": "ariadne : ariadne,metis : metis,ananke : ananke,atlasbot : atlasbot,pegasus : pegasus,soteria : soteria,titan_iac : titan_iac,bstein_home : bstein_home,data_prepper : data_prepper", - "current": { - "text": "All", - "value": "$__all", - "selected": true - }, - "options": [ - { - "text": "ariadne", - "value": "ariadne", - "selected": false - }, - { - "text": "metis", - "value": "metis", - "selected": false - }, - { - "text": "ananke", - "value": "ananke", - "selected": false - }, - { - "text": "atlasbot", - "value": "atlasbot", - "selected": false - }, - { - "text": "pegasus", - "value": "pegasus", - "selected": false - }, - { - "text": "soteria", - "value": "soteria", - "selected": false - }, - { - "text": "titan_iac", - "value": "titan_iac", - "selected": false - }, - { - "text": "bstein_home", - "value": "bstein_home", - "selected": false - }, - { - "text": "data_prepper", - "value": "data_prepper", - "selected": false - } - ], - "hide": 0, - "multi": false, - "includeAll": true, - "allValue": "ariadne|metis|ananke|atlasbot|pegasus|soteria|titan_iac|bstein_home|data_prepper", - "refresh": 1, - "sort": 1, - "skipUrlSync": false - }, - { - "name": "branch", - "label": "Branch", - "type": "query", - "query": "label_values(platform_quality_gate_build_info{suite=~\"${suite:regex}\",branch!=\"\",exported_job=\"platform-quality-ci\"}, branch)", - "current": { - "text": "All", - "value": "$__all", - "selected": true - }, - "options": [], - "hide": 0, - "multi": false, - "includeAll": true, - "allValue": ".*", - "refresh": 2, - "sort": 1, - "skipUrlSync": false - }, - { - "name": "test", - "label": "Test Case", - "type": "query", - "query": "label_values(platform_quality_gate_test_case_result{suite=~\"${suite:regex}\",branch!=\"\",branch=~\"${branch:regex}\",test!=\"\",test!=\"__no_test_cases__\",exported_job=\"platform-quality-ci\"}, test)", - "current": { - "text": "All", - "value": "$__all", - "selected": true - }, - "options": [], - "hide": 0, - "multi": false, - "includeAll": true, - "allValue": ".*", - "refresh": 2, - "sort": 1, - "skipUrlSync": false - }, - { - "name": "jenkins_base", - "label": "Jenkins Base URL", - "type": "textbox", - "query": "https://ci.bstein.dev", - "current": { - "text": "https://ci.bstein.dev", - "value": "https://ci.bstein.dev", - "selected": true - }, - "hide": 0, - "skipUrlSync": false - } - ] - } - } diff --git a/services/monitoring/grafana-dashboard-overview.yaml b/services/monitoring/grafana-dashboard-overview.yaml index e29f195a..d4be32f5 100644 --- a/services/monitoring/grafana-dashboard-overview.yaml +++ b/services/monitoring/grafana-dashboard-overview.yaml @@ -2158,8 +2158,8 @@ data: }, "links": [ { - "title": "Open atlas-jobs dashboard", - "url": "/d/atlas-jobs", + "title": "Open atlas-testing dashboard", + "url": "/d/atlas-testing", "targetBlank": true } ], @@ -2264,8 +2264,8 @@ data: }, "links": [ { - "title": "Open atlas-jobs dashboard", - "url": "/d/atlas-jobs", + "title": "Open atlas-testing dashboard", + "url": "/d/atlas-testing", "targetBlank": true } ] @@ -2460,8 +2460,8 @@ data: ], "links": [ { - "title": "Open atlas-jobs dashboard", - "url": "/d/atlas-jobs", + "title": "Open atlas-testing dashboard", + "url": "/d/atlas-testing", "targetBlank": true } ], @@ -2567,8 +2567,8 @@ data: ], "links": [ { - "title": "Open atlas-jobs dashboard", - "url": "/d/atlas-jobs", + "title": "Open atlas-testing dashboard", + "url": "/d/atlas-testing", "targetBlank": true } ], diff --git a/services/monitoring/helmrelease.yaml b/services/monitoring/helmrelease.yaml index eb88b865..54ff25bf 100644 --- a/services/monitoring/helmrelease.yaml +++ b/services/monitoring/helmrelease.yaml @@ -506,15 +506,6 @@ spec: updateIntervalSeconds: 10 options: path: /var/lib/grafana/dashboards/mail - - name: jobs - orgId: 1 - folder: Atlas Internal - type: file - disableDeletion: false - editable: true - updateIntervalSeconds: 10 - options: - path: /var/lib/grafana/dashboards/jobs - name: testing orgId: 1 folder: Atlas Public @@ -551,7 +542,6 @@ spec: gpu: grafana-dashboard-gpu network: grafana-dashboard-network mail: grafana-dashboard-mail - jobs: grafana-dashboard-jobs testing: grafana-dashboard-testing testing-public: grafana-dashboard-testing power: grafana-dashboard-power diff --git a/services/monitoring/kustomization.yaml b/services/monitoring/kustomization.yaml index 3e381468..8e1c33bd 100644 --- a/services/monitoring/kustomization.yaml +++ b/services/monitoring/kustomization.yaml @@ -16,7 +16,6 @@ resources: - grafana-dashboard-gitops.yaml - grafana-dashboard-power.yaml - grafana-dashboard-mail.yaml - - grafana-dashboard-jobs.yaml - grafana-dashboard-testing.yaml - vmalert-atlas-availability.yaml - dcgm-exporter.yaml