2026-04-12 20:05:39 -03:00
# services/monitoring/grafana-dashboard-testing.yaml
apiVersion : v1
kind : ConfigMap
metadata :
name : grafana-dashboard-testing
labels :
grafana_dashboard : "1"
data :
atlas-testing.json : |
{
"uid": "atlas-testing" ,
"title": "Atlas Testing" ,
"folderUid": "atlas-internal" ,
"editable": true ,
"panels": [
2026-04-18 17:47:06 -03:00
{
"id": 2 ,
2026-04-12 20:05:39 -03:00
"type": "stat" ,
2026-04-18 17:47:06 -03:00
"title": "Success Rate (24h)" ,
2026-04-12 20:05:39 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-18 17:47:06 -03:00
"h": 5 ,
"w": 4 ,
2026-04-12 20:05:39 -03:00
"x": 0 ,
2026-04-19 22:29:20 -03:00
"y": 0
2026-04-12 20:05:39 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"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)" ,
2026-04-12 20:05:39 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "red" ,
"value": null
},
{
"color": "orange" ,
"value": 80
},
{
"color": "yellow" ,
"value": 95
},
{
"color": "green" ,
"value": 99
}
]
},
"unit": "percent" ,
"custom": {
"displayMode": "auto"
},
"decimals": 2
},
"overrides": [ ]
},
"options": {
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
"textMode": "value"
2026-04-18 17:47:06 -03:00
}
},
{
"id": 3 ,
"type": "stat" ,
"title": "Success Rate (30d)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 5 ,
"w": 4 ,
"x": 4 ,
2026-04-19 22:29:20 -03:00
"y": 0
2026-04-18 17:47:06 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"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)" ,
2026-04-18 17:47:06 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "red" ,
"value": null
},
{
"color": "orange" ,
"value": 80
},
{
"color": "yellow" ,
"value": 95
},
{
"color": "green" ,
"value": 99
}
]
},
"unit": "percent" ,
"custom": {
"displayMode": "auto"
},
"decimals": 2
},
"overrides": [ ]
2026-04-12 20:05:39 -03:00
},
2026-04-18 17:47:06 -03:00
"options": {
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
"textMode": "value"
}
2026-04-12 20:05:39 -03:00
},
{
2026-04-18 17:47:06 -03:00
"id": 4 ,
2026-04-12 20:05:39 -03:00
"type": "stat" ,
2026-04-18 17:47:06 -03:00
"title": "Failures (24h)" ,
2026-04-12 20:05:39 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-18 17:47:06 -03:00
"h": 5 ,
"w": 4 ,
"x": 8 ,
2026-04-19 22:29:20 -03:00
"y": 0
2026-04-12 20:05:39 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"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))" ,
2026-04-12 20:05:39 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "red" ,
"value": 5
}
]
},
"unit": "none" ,
"custom": {
"displayMode": "auto"
}
},
"overrides": [ ]
},
"options": {
2026-04-18 17:47:06 -03:00
"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": 5 ,
"w": 4 ,
"x": 12 ,
2026-04-19 22:29:20 -03:00
"y": 0
2026-04-18 17:47:06 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[24h])) or on() vector(0))" ,
2026-04-18 17:47:06 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "red" ,
"value": null
},
{
"color": "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": 5 ,
"w": 4 ,
"x": 16 ,
2026-04-19 22:29:20 -03:00
"y": 0
2026-04-18 17:47:06 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"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))" ,
2026-04-18 17:47:06 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "red" ,
"value": null
},
{
"color": "orange" ,
"value": 80
},
{
"color": "yellow" ,
"value": 95
},
{
"color": "green" ,
"value": 99
}
]
},
"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": 5 ,
"w": 4 ,
"x": 20 ,
2026-04-19 22:29:20 -03:00
"y": 0
2026-04-18 17:47:06 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"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))" ,
2026-04-18 17:47:06 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "red" ,
"value": null
},
{
"color": "green" ,
"value": 0
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "red" ,
"value": 5
}
]
},
"unit": "none" ,
"custom": {
"displayMode": "auto"
}
},
"overrides": [ ]
},
"options": {
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
"textMode": "value"
}
},
{
2026-04-19 22:29:20 -03:00
"id": 19 ,
"type": "stat" ,
"title": "Failing Tests" ,
2026-04-18 17:47:06 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 4 ,
"w": 3 ,
2026-04-18 17:47:06 -03:00
"x": 0 ,
2026-04-19 22:29:20 -03:00
"y": 5
2026-04-18 17:47:06 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(sum(count by (suite) ({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"tests|unit|build\",result!~\"ok|passed|success\"})) or on() vector(0))" ,
2026-04-18 17:47:06 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-19 22:29:20 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
2026-04-18 17:47:06 -03:00
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "red" ,
"value": 5
}
]
2026-04-19 22:29:20 -03:00
},
"unit": "none" ,
"custom": {
"displayMode": "auto"
2026-04-18 17:47:06 -03:00
}
},
"overrides": [ ]
},
"options": {
2026-04-19 22:29:20 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
2026-04-18 17:47:06 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
2026-04-19 22:29:20 -03:00
},
"textMode": "value"
}
2026-04-18 17:47:06 -03:00
},
{
2026-04-19 22:29:20 -03:00
"id": 20 ,
"type": "stat" ,
"title": "Failing Coverage" ,
2026-04-18 17:47:06 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 4 ,
"w": 3 ,
"x": 3 ,
"y": 5
2026-04-18 17:47:06 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(sum(count by (suite) ({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"coverage\",result!~\"ok|passed|success\"})) or on() vector(0))" ,
2026-04-18 17:47:06 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-19 22:29:20 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
2026-04-18 17:47:06 -03:00
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-04-19 22:29:20 -03:00
"color": "green" ,
2026-04-18 17:47:06 -03:00
"value": null
},
{
2026-04-19 22:29:20 -03:00
"color": "yellow" ,
"value": 1
2026-04-18 17:47:06 -03:00
},
{
2026-04-19 22:29:20 -03:00
"color": "orange" ,
"value": 3
2026-04-18 17:47:06 -03:00
},
{
2026-04-19 22:29:20 -03:00
"color": "red" ,
"value": 5
2026-04-18 17:47:06 -03:00
}
]
},
2026-04-19 22:29:20 -03:00
"unit": "none" ,
"custom": {
"displayMode": "auto"
}
2026-04-18 17:47:06 -03:00
},
"overrides": [ ]
},
"options": {
2026-04-19 22:29:20 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
2026-04-18 17:47:06 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
2026-04-19 22:29:20 -03:00
},
"textMode": "value"
}
2026-04-18 17:47:06 -03:00
},
{
2026-04-19 22:29:20 -03:00
"id": 21 ,
"type": "stat" ,
"title": "Failing LOC" ,
2026-04-18 17:47:06 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 4 ,
"w": 3 ,
"x": 6 ,
"y": 5
2026-04-18 17:47:06 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(sum(count by (suite) ({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"loc|smell\",result!~\"ok|passed|success\"})) or on() vector(0))" ,
2026-04-18 17:47:06 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-19 22:29:20 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
2026-04-18 17:47:06 -03:00
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
2026-04-19 22:29:20 -03:00
"value": 3
2026-04-18 17:47:06 -03:00
},
{
"color": "red" ,
2026-04-19 22:29:20 -03:00
"value": 5
2026-04-18 17:47:06 -03:00
}
]
},
2026-04-19 22:29:20 -03:00
"unit": "none" ,
"custom": {
"displayMode": "auto"
}
2026-04-18 17:47:06 -03:00
},
"overrides": [ ]
},
"options": {
2026-04-19 22:29:20 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
2026-04-18 17:47:06 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
2026-04-19 22:29:20 -03:00
},
"textMode": "value"
}
2026-04-18 17:47:06 -03:00
},
{
2026-04-19 22:29:20 -03:00
"id": 22 ,
"type": "stat" ,
"title": "Failing Docs/Naming" ,
2026-04-18 17:47:06 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 4 ,
"w": 3 ,
"x": 9 ,
"y": 5
2026-04-18 17:47:06 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(sum(count by (suite) ({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"docs|naming|hygiene|lint|docs_naming\",result!~\"ok|passed|success\"})) or on() vector(0))" ,
2026-04-18 17:47:06 -03:00
"refId": "A" ,
2026-04-19 22:29:20 -03:00
"instant": true
2026-04-18 17:47:06 -03:00
}
] ,
"fieldConfig": {
"defaults": {
2026-04-19 22:29:20 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "red" ,
"value": 5
}
]
},
"unit": "none" ,
2026-04-18 17:47:06 -03:00
"custom": {
2026-04-19 22:29:20 -03:00
"displayMode": "auto"
2026-04-18 17:47:06 -03:00
}
},
"overrides": [ ]
},
"options": {
2026-04-19 22:29:20 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
2026-04-18 17:47:06 -03:00
},
2026-04-19 22:29:20 -03:00
"textMode": "value"
}
2026-04-18 17:47:06 -03:00
},
{
2026-04-19 22:29:20 -03:00
"id": 23 ,
"type": "stat" ,
"title": "Failing Gate/Glue" ,
2026-04-18 17:47:06 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 4 ,
"w": 3 ,
"x": 12 ,
"y": 5
2026-04-18 17:47:06 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(sum(count by (suite) ({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"gate|glue|gate_glue\",result!~\"ok|passed|success\"})) or on() vector(0))" ,
2026-04-18 17:47:06 -03:00
"refId": "A" ,
2026-04-19 22:29:20 -03:00
"instant": true
2026-04-18 17:47:06 -03:00
}
] ,
"fieldConfig": {
"defaults": {
2026-04-19 22:29:20 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "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": 24 ,
"type": "stat" ,
"title": "Failing SonarQube" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 4 ,
"w": 3 ,
"x": 15 ,
"y": 5
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(sum(count by (suite) ({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",check=~\"sonarqube|sonar\",result!~\"ok|passed|success\"})) or on() vector(0))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "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": 25 ,
"type": "stat" ,
"title": "Failing Supply Chain" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 4 ,
"w": 3 ,
"x": 18 ,
"y": 5
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(sum(count by (suite) ({__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\"})) or on() vector(0))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "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": 26 ,
"type": "stat" ,
"title": "Total Failing Checks" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 4 ,
"w": 3 ,
"x": 21 ,
"y": 5
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(sum({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",result!~\"ok|passed|success\"}) or on() vector(0))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "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": "Failures by Suite (24h)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 8 ,
"w": 8 ,
"x": 0 ,
"y": 9
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "sort_desc(sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status!~\"ok|passed|success\"}[24h])))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"legendFormat": "{{suite}}" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"unit": "none" ,
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "red" ,
"value": 5
}
]
}
},
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
}
]
},
{
"id": 9 ,
"type": "bargauge" ,
"title": "Success Rate by Suite (24h)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 8 ,
"w": 8 ,
"x": 8 ,
"y": 9
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"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))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"legendFormat": "{{suite}}" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"unit": "percent" ,
"min": 0 ,
"max": 100 ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "red" ,
"value": null
},
{
"color": "orange" ,
"value": 80
},
{
"color": "yellow" ,
"value": 95
},
{
"color": "green" ,
"value": 99
}
]
},
"decimals": 2
},
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "asc"
}
}
]
},
{
"id": 10 ,
"type": "bargauge" ,
"title": "Coverage Gap to 95% by Suite" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 8 ,
"w": 8 ,
"x": 16 ,
"y": 9
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "sort_desc(clamp_min(95 - ((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\"}))), 0))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"legendFormat": "{{suite}}" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"unit": "percent" ,
"min": 0 ,
"max": 100 ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 5
},
{
"color": "red" ,
"value": 10
}
]
},
"decimals": 2
},
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
}
] ,
"description": "Gap from the 95% target. 0 means the suite is at or above target."
},
{
"id": 11 ,
"type": "timeseries" ,
"title": "Success History by Suite" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 8 ,
"w": 24 ,
"x": 0 ,
"y": 17
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(100 * (sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[$__interval])) / clamp_min((sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[$__interval]))), 1))) or on(suite) (0 * sum by (suite) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[$__range])))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"legendFormat": "{{suite}}"
}
] ,
"fieldConfig": {
"defaults": {
"unit": "percent" ,
"min": 0 ,
"max": 100 ,
"custom": {
"drawStyle": "line" ,
"lineInterpolation": "linear" ,
"lineWidth": 2 ,
"fillOpacity": 8 ,
"showPoints": "always" ,
"pointSize": 3 ,
"spanNulls": true
}
},
"overrides": [ ]
},
"options": {
"legend": {
"displayMode": "list" ,
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
}
},
{
"id": 12 ,
"type": "timeseries" ,
"title": "Run Outcomes (Selected Scope)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 8 ,
"w": 8 ,
"x": 0 ,
"y": 25
},
"targets": [
{
"refId": "A" ,
2026-04-19 23:22:34 -03:00
"expr": "sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status=~\"ok|passed|success\"}[$__interval])) or on() vector(0)" ,
2026-04-19 22:29:20 -03:00
"legendFormat": "Success"
},
{
"refId": "B" ,
2026-04-19 23:22:34 -03:00
"expr": "sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",status!~\"ok|passed|success\"}[$__interval])) or on() vector(0)" ,
2026-04-19 22:29:20 -03:00
"legendFormat": "Failure"
},
{
"refId": "C" ,
2026-04-19 23:22:34 -03:00
"expr": "sum(increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[$__interval])) or on() vector(0)" ,
2026-04-19 22:29:20 -03:00
"legendFormat": "Total"
}
] ,
"fieldConfig": {
"defaults": {
"unit": "none"
},
"overrides": [ ]
},
"options": {
"legend": {
"displayMode": "list" ,
"placement": "bottom" ,
"calcs": [
"lastNotNull" ,
"sum"
]
},
"tooltip": {
"mode": "multi"
}
}
},
{
2026-04-18 17:47:06 -03:00
"id": 13 ,
"type": "timeseries" ,
"title": "Coverage & LOC History (Selected Scope)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 8 ,
"w": 8 ,
"x": 8 ,
"y": 25
},
"targets": [
{
"refId": "A" ,
2026-04-19 23:22:34 -03:00
"expr": "max_over_time(platform_quality_gate_workspace_line_coverage_percent{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[$__interval])" ,
2026-04-19 22:29:20 -03:00
"legendFormat": "{{suite}} coverage %"
},
{
"refId": "B" ,
2026-04-19 23:22:34 -03:00
"expr": "max_over_time(platform_quality_gate_source_lines_over_500_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[$__interval])" ,
2026-04-19 22:29:20 -03:00
"legendFormat": "{{suite}} files >500 LOC"
}
] ,
"fieldConfig": {
"defaults": {
"unit": "none"
},
"overrides": [ ]
},
"options": {
"legend": {
"displayMode": "list" ,
"placement": "bottom" ,
"calcs": [
"lastNotNull" ,
"max"
]
},
"tooltip": {
"mode": "multi"
}
}
},
{
"id": 14 ,
"type": "piechart" ,
"title": "Run Status Mix (30d)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 8 ,
"w": 8 ,
"x": 16 ,
"y": 25
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "sum by (status) (increase(platform_quality_gate_runs_total{suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}[30d]))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"legendFormat": "{{status}}"
}
] ,
"fieldConfig": {
"defaults": {
"unit": "none" ,
"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": 15 ,
"type": "bargauge" ,
"title": "Latest Test Counters (Suite + Result)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 8 ,
"w": 12 ,
"x": 0 ,
"y": 33
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "sort_desc(sum by (suite, result) ({__name__=~\".*_quality_gate_tests_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\"}))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"legendFormat": "{{suite}} \u00b7 {{result}}" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"unit": "none" ,
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 50
},
{
"color": "orange" ,
"value": 70
},
{
"color": "red" ,
"value": 85
}
]
}
},
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
},
{
"id": "limit" ,
"options": {
"limit": 24
}
}
]
},
{
"id": 16 ,
"type": "bargauge" ,
"title": "Failing Checks (Suite + Check)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 8 ,
"w": 12 ,
"x": 12 ,
"y": 33
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "sort_desc(sum by (suite, check) ({__name__=~\".*_quality_gate_checks_total\",suite=~\"${suite:regex}\",exported_job=\"platform-quality-ci\",result!~\"ok|passed|success\"}))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"legendFormat": "{{suite}} \u00b7 {{check}}" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"unit": "none" ,
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "red" ,
"value": 5
}
]
}
},
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
},
{
"id": "limit" ,
"options": {
"limit": 24
}
}
] ,
"description": "Top failing checks in the selected scope. Empty is healthy."
},
{
"id": 17 ,
"type": "bargauge" ,
"title": "Coverage by Suite (Latest, gate 95)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 8 ,
"w": 12 ,
"x": 0 ,
"y": 41
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"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))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"legendFormat": "{{suite}}" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"unit": "percent" ,
"min": 0 ,
"max": 100 ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "red" ,
"value": null
},
{
"color": "orange" ,
"value": 80
},
{
"color": "yellow" ,
"value": 95
},
{
"color": "green" ,
"value": 99
}
]
},
"decimals": 2 ,
"mappings": [
{
"type": "value" ,
"options": {
"-1": {
"text": "missing"
}
}
}
]
},
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"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": 8 ,
"w": 12 ,
"x": 12 ,
"y": 41
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "sort_desc((max by (suite) (platform_quality_gate_source_lines_over_500_total{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))" ,
2026-04-19 22:29:20 -03:00
"refId": "A" ,
"legendFormat": "{{suite}}" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"unit": "none" ,
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "red" ,
"value": null
},
{
"color": "green" ,
"value": 0
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "red" ,
"value": 5
}
]
},
"mappings": [
{
"type": "value" ,
"options": {
"-1": {
"text": "missing"
}
}
}
]
},
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
}
]
},
{
"id": 27 ,
"type": "bargauge" ,
"title": "Missing Tests Metrics by Suite" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 7 ,
"w": 6 ,
"x": 0 ,
"y": 49
2026-04-18 17:47:06 -03:00
},
"targets": [
{
2026-04-19 22:29:20 -03:00
"expr": "sort_desc(((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__\", \".*\")) unless 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__\", \".*\"))))" ,
2026-04-18 17:47:06 -03:00
"refId": "A" ,
2026-04-19 22:29:20 -03:00
"legendFormat": "{{suite}}" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"unit": "none" ,
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "red" ,
"value": 1
}
]
},
"decimals": 0
2026-04-18 17:47:06 -03:00
},
2026-04-19 22:29:20 -03:00
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
2026-04-18 17:47:06 -03:00
{
2026-04-19 22:29:20 -03:00
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
}
]
},
{
"id": 28 ,
"type": "bargauge" ,
"title": "Missing Checks Metrics by Suite" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 7 ,
"w": 6 ,
"x": 6 ,
"y": 49
},
"targets": [
{
"expr": "sort_desc(((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__\", \".*\")) unless 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
2026-04-18 17:47:06 -03:00
}
] ,
"fieldConfig": {
"defaults": {
2026-04-19 22:29:20 -03:00
"unit": "none" ,
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "red" ,
"value": 1
}
]
},
"decimals": 0
2026-04-18 17:47:06 -03:00
},
"overrides": [ ]
},
"options": {
2026-04-19 22:29:20 -03:00
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
2026-04-12 20:05:39 -03:00
"calcs": [
2026-04-19 22:29:20 -03:00
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
}
]
},
{
"id": 29 ,
"type": "bargauge" ,
"title": "Missing Coverage Metrics by Suite" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 7 ,
"w": 6 ,
"x": 12 ,
"y": 49
},
"targets": [
{
"expr": "sort_desc(((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__\", \".*\")) unless 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": {
"unit": "none" ,
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "red" ,
"value": 1
}
]
},
"decimals": 0
2026-04-12 20:05:39 -03:00
},
2026-04-19 22:29:20 -03:00
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
}
]
},
{
"id": 30 ,
"type": "bargauge" ,
"title": "Missing LOC Metrics by Suite" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 7 ,
"w": 6 ,
"x": 18 ,
"y": 49
},
"targets": [
{
"expr": "sort_desc(((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__\", \".*\")) unless on(suite) count by (suite) (platform_quality_gate_source_lines_over_500_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": {
"unit": "none" ,
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "red" ,
"value": 1
}
]
},
"decimals": 0
},
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
2026-04-18 17:47:06 -03:00
}
2026-04-19 22:29:20 -03:00
]
2026-04-12 20:05:39 -03:00
},
{
2026-04-19 22:29:20 -03:00
"id": 31 ,
"type": "stat" ,
"title": "SonarQube API Up" ,
2026-04-12 20:05:39 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 6 ,
"w": 4 ,
"x": 0 ,
"y": 56
2026-04-12 20:05:39 -03:00
},
"targets": [
{
2026-04-19 22:29:20 -03:00
"expr": "(max(sonarqube_up) or on() vector(0))" ,
2026-04-12 20:05:39 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-18 17:47:06 -03:00
"color": {
2026-04-19 22:29:20 -03:00
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "red" ,
"value": null
},
{
"color": "green" ,
"value": 1
}
]
},
"unit": "none" ,
"custom": {
"displayMode": "auto"
2026-04-12 20:05:39 -03:00
}
},
"overrides": [ ]
},
"options": {
2026-04-19 22:29:20 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
2026-04-18 17:47:06 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
2026-04-19 22:29:20 -03:00
},
"textMode": "value"
2026-04-18 17:47:06 -03:00
}
2026-04-12 20:05:39 -03:00
},
{
2026-04-19 22:29:20 -03:00
"id": 32 ,
"type": "stat" ,
"title": "Sonar Projects (Selected)" ,
2026-04-12 20:05:39 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 6 ,
"w": 4 ,
"x": 4 ,
"y": 56
2026-04-12 20:05:39 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "(count(sonarqube_project_quality_gate_pass{project_key=~\"${suite:regex}\"}) or on() vector(0))" ,
2026-04-12 20:05:39 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-19 22:29:20 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
2026-04-12 20:05:39 -03:00
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
2026-04-19 22:29:20 -03:00
"value": 1
2026-04-12 20:05:39 -03:00
},
{
"color": "orange" ,
2026-04-19 22:29:20 -03:00
"value": 3
2026-04-12 20:05:39 -03:00
},
{
"color": "red" ,
2026-04-19 22:29:20 -03:00
"value": 5
2026-04-12 20:05:39 -03:00
}
]
2026-04-19 22:29:20 -03:00
},
"unit": "none" ,
"custom": {
"displayMode": "auto"
2026-04-12 20:05:39 -03:00
}
},
"overrides": [ ]
},
"options": {
2026-04-19 22:29:20 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
2026-04-12 20:05:39 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
2026-04-18 17:47:06 -03:00
},
2026-04-19 22:29:20 -03:00
"textMode": "value"
}
2026-04-12 20:05:39 -03:00
},
{
2026-04-19 22:29:20 -03:00
"id": 33 ,
"type": "stat" ,
"title": "Sonar Gate Fetch Errors" ,
2026-04-12 20:05:39 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 6 ,
"w": 4 ,
"x": 8 ,
"y": 56
2026-04-12 20:05:39 -03:00
},
"targets": [
{
2026-04-19 22:29:20 -03:00
"expr": "(max(sonarqube_quality_gate_fetch_errors_total) or on() vector(0))" ,
2026-04-12 20:05:39 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-19 22:29:20 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
2026-04-12 20:05:39 -03:00
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-04-18 17:47:06 -03:00
"color": "green" ,
2026-04-12 20:05:39 -03:00
"value": null
},
{
2026-04-18 17:47:06 -03:00
"color": "yellow" ,
"value": 1
2026-04-12 20:05:39 -03:00
},
{
2026-04-18 17:47:06 -03:00
"color": "orange" ,
"value": 3
2026-04-12 20:05:39 -03:00
},
{
2026-04-18 17:47:06 -03:00
"color": "red" ,
"value": 5
2026-04-12 20:05:39 -03:00
}
]
2026-04-19 22:29:20 -03:00
},
"unit": "none" ,
"custom": {
"displayMode": "auto"
2026-04-18 17:47:06 -03:00
}
2026-04-12 20:05:39 -03:00
},
"overrides": [ ]
},
"options": {
2026-04-19 22:29:20 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
2026-04-12 20:05:39 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
2026-04-19 22:29:20 -03:00
"textMode": "value"
}
2026-04-12 22:58:21 -03:00
},
{
2026-04-19 22:29:20 -03:00
"id": 34 ,
"type": "piechart" ,
"title": "Sonar Gate Status Mix (Selected)" ,
2026-04-12 22:58:21 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 6 ,
"w": 6 ,
"x": 12 ,
"y": 56
2026-04-12 22:58:21 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "count by (status) (sonarqube_project_quality_gate_pass{project_key=~\"${suite:regex}\"}) or on() label_replace(vector(0), \"status\", \"none\", \"__name__\", \".*\")" ,
2026-04-12 22:58:21 -03:00
"refId": "A" ,
2026-04-19 22:29:20 -03:00
"legendFormat": "{{status}}"
2026-04-12 22:58:21 -03:00
}
] ,
"fieldConfig": {
"defaults": {
"unit": "percent" ,
2026-04-19 22:29:20 -03:00
"color": {
"mode": "palette-classic"
}
2026-04-12 22:58:21 -03:00
},
"overrides": [ ]
},
"options": {
2026-04-19 22:29:20 -03:00
"legend": {
"displayMode": "list" ,
"placement": "right"
},
"pieType": "pie" ,
"displayLabels": [ ] ,
"tooltip": {
"mode": "single"
},
"colorScheme": "interpolateSpectral" ,
"colorBy": "value" ,
2026-04-12 22:58:21 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
2026-04-19 22:29:20 -03:00
}
2026-04-12 22:58:21 -03:00
},
{
2026-04-19 22:29:20 -03:00
"id": 35 ,
2026-04-12 22:58:21 -03:00
"type": "bargauge" ,
2026-04-19 22:29:20 -03:00
"title": "Projects Failing Sonar Gate" ,
2026-04-12 22:58:21 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-19 22:29:20 -03:00
"h": 6 ,
"w": 6 ,
"x": 18 ,
"y": 56
2026-04-12 22:58:21 -03:00
},
"targets": [
{
2026-04-19 23:22:34 -03:00
"expr": "sort_desc(count by (project_key) (sonarqube_project_quality_gate_pass{project_key=~\"${suite:regex}\",status!~\"OK|ok\"}) or on() label_replace(vector(0), \"project_key\", \"none\", \"__name__\", \".*\"))" ,
2026-04-12 22:58:21 -03:00
"refId": "A" ,
2026-04-19 22:29:20 -03:00
"legendFormat": "{{project_key}}" ,
2026-04-12 22:58:21 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"unit": "none" ,
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
2026-04-19 22:29:20 -03:00
"value": null
2026-04-12 22:58:21 -03:00
},
{
"color": "yellow" ,
"value": 1
},
{
"color": "orange" ,
"value": 3
},
{
"color": "red" ,
"value": 5
}
]
2026-04-19 22:29:20 -03:00
}
2026-04-12 22:58:21 -03:00
},
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
}
2026-04-18 17:47:06 -03:00
]
2026-04-12 20:05:39 -03:00
}
] ,
"time": {
"from": "now-30d" ,
"to": "now"
},
"annotations": {
"list": [ ]
},
"schemaVersion": 39 ,
"style": "dark" ,
"tags": [
"atlas" ,
"testing" ,
2026-04-19 22:29:20 -03:00
"quality-gate" ,
"ci"
2026-04-18 17:47:06 -03:00
] ,
"templating": {
"list": [
{
"name": "suite" ,
"label": "Suite" ,
"type": "custom" ,
2026-04-19 22:29:20 -03:00
"query": "ariadne : ariadne,metis : metis,ananke : ananke,atlasbot : atlasbot,pegasus : pegasus|pegasus-health|pegasus_health,soteria : soteria,titan_iac : titan_iac|titan-iac,bstein_home : bstein_home|bstein-home,data_prepper : data_prepper|data-prepper" ,
2026-04-18 17:47:06 -03:00
"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|pegasus-health|pegasus_health" ,
"selected": false
},
{
"text": "soteria" ,
"value": "soteria" ,
"selected": false
},
{
2026-04-19 22:29:20 -03:00
"text": "titan_iac" ,
"value": "titan_iac|titan-iac" ,
2026-04-18 17:47:06 -03:00
"selected": false
},
{
2026-04-19 22:29:20 -03:00
"text": "bstein_home" ,
"value": "bstein_home|bstein-home" ,
2026-04-18 17:47:06 -03:00
"selected": false
},
{
2026-04-19 22:29:20 -03:00
"text": "data_prepper" ,
"value": "data_prepper|data-prepper" ,
2026-04-18 17:47:06 -03:00
"selected": false
}
] ,
"hide": 0 ,
"multi": false ,
"includeAll": true ,
2026-04-19 23:22:34 -03:00
"allValue": "ariadne|metis|ananke|atlasbot|pegasus|pegasus-health|pegasus_health|soteria|titan_iac|titan-iac|bstein_home|bstein-home|data_prepper|data-prepper" ,
2026-04-18 17:47:06 -03:00
"refresh": 1 ,
"sort": 1 ,
"skipUrlSync": false
}
]
}
2026-04-12 20:05:39 -03:00
}