1058 lines
23 KiB
JSON
Raw Normal View History

{
"uid": "atlas-testing",
"title": "Atlas Testing",
"folderUid": "atlas-internal",
"editable": true,
"panels": [
{
"id": 1,
"type": "stat",
"title": "Glue Jobs Stale (>36h)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 0
},
"targets": [
{
2026-01-18 12:26:04 -03:00
"expr": "(sum((((time() - (kube_cronjob_status_last_successful_time and on(namespace,cronjob) kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"})) > bool 129600) unless on(namespace,cronjob) (kube_cronjob_spec_suspend and on(namespace,cronjob) kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"}) == 1)) + count(((kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"} unless on(namespace,cronjob) kube_cronjob_status_last_successful_time) unless on(namespace,cronjob) (kube_cronjob_spec_suspend and on(namespace,cronjob) kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"}) == 1)))",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 1
},
{
"color": "orange",
"value": 2
},
{
"color": "red",
"value": 3
}
]
},
"unit": "none",
"custom": {
"displayMode": "auto"
}
},
"overrides": []
},
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
}
},
{
"id": 2,
2026-01-21 11:29:29 -03:00
"type": "stat",
"title": "Glue Jobs Missing Success",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
"h": 4,
2026-01-21 11:29:29 -03:00
"w": 4,
"x": 4,
"y": 0
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "count(((kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"} unless on(namespace,cronjob) kube_cronjob_status_last_successful_time) unless on(namespace,cronjob) (kube_cronjob_spec_suspend and on(namespace,cronjob) kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"}) == 1))",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(115, 115, 115, 1)",
"value": null
},
{
"color": "green",
"value": 1
}
]
},
"unit": "none",
"custom": {
2026-01-21 11:29:29 -03:00
"displayMode": "auto"
}
},
"overrides": []
},
"options": {
2026-01-21 11:29:29 -03:00
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
2026-01-21 11:29:29 -03:00
"textMode": "value"
}
},
{
"id": 3,
2026-01-21 11:29:29 -03:00
"type": "stat",
"title": "Glue Jobs Suspended",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
"h": 4,
2026-01-21 11:29:29 -03:00
"w": 4,
"x": 8,
"y": 0
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "sum((kube_cronjob_spec_suspend and on(namespace,cronjob) kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"}) == 1)",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(115, 115, 115, 1)",
"value": null
},
{
"color": "green",
"value": 1
}
]
},
"unit": "none",
"custom": {
2026-01-21 11:29:29 -03:00
"displayMode": "auto"
}
},
"overrides": []
},
"options": {
2026-01-21 11:29:29 -03:00
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
}
},
{
"id": 4,
"type": "stat",
"title": "Ariadne Task Errors (1h)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
2026-01-21 11:29:29 -03:00
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 0
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "sum(increase(ariadne_task_runs_total{status=\"error\"}[1h]))",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(115, 115, 115, 1)",
"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
},
2026-01-21 11:29:29 -03:00
"textMode": "value"
}
},
{
"id": 5,
"type": "stat",
"title": "Ariadne Task Errors (24h)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 0
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "sum(increase(ariadne_task_runs_total{status=\"error\"}[24h]))",
"refId": "A"
}
2026-01-21 11:29:29 -03:00
],
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(115, 115, 115, 1)",
"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"
}
},
{
2026-01-21 11:29:29 -03:00
"id": 6,
"type": "stat",
"title": "Ariadne Task Runs (1h)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
"h": 4,
2026-01-21 11:29:29 -03:00
"w": 4,
"x": 20,
"y": 0
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "sum(increase(ariadne_task_runs_total[1h]))",
"refId": "A"
}
],
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(115, 115, 115, 1)",
"value": null
},
{
"color": "green",
"value": 1
}
]
},
"unit": "none",
"custom": {
2026-01-21 11:29:29 -03:00
"displayMode": "auto"
}
},
"overrides": []
},
"options": {
2026-01-21 11:29:29 -03:00
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
}
},
{
"id": 7,
"type": "timeseries",
"title": "Ariadne Task Runs vs Errors (1h)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
2026-01-21 11:29:29 -03:00
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 4
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "sum by (status) (increase(ariadne_task_runs_total[1h]))",
"refId": "A",
"legendFormat": "{{status}}"
}
],
"fieldConfig": {
"defaults": {
"unit": "none"
},
2026-01-21 11:29:29 -03:00
"overrides": []
},
"options": {
"legend": {
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
2026-01-21 11:29:29 -03:00
}
},
{
2026-01-21 11:29:29 -03:00
"id": 8,
"type": "bargauge",
"title": "Ariadne Task Errors (24h)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
2026-01-21 11:29:29 -03:00
"y": 10
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "sum by (task) (increase(ariadne_task_runs_total{status=\"error\"}[24h]))",
"refId": "A",
2026-01-21 11:29:29 -03:00
"legendFormat": "{{task}}",
"instant": true
}
],
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"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": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
}
},
"transformations": [
{
"id": "sortBy",
"options": {
"fields": [
"Value"
],
"order": "desc"
}
}
]
},
{
2026-01-21 11:29:29 -03:00
"id": 9,
"type": "bargauge",
"title": "Ariadne Task Success (24h)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
2026-01-21 11:29:29 -03:00
"y": 10
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "sum by (task) (increase(ariadne_task_runs_total{status=\"ok\"}[24h]))",
"refId": "A",
2026-01-21 11:29:29 -03:00
"legendFormat": "{{task}}",
"instant": true
}
],
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"unit": "none",
"min": 0,
"max": null,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 1
},
{
"color": "yellow",
"value": 5
},
{
"color": "green",
"value": 10
}
]
}
},
"overrides": []
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
}
},
"transformations": [
{
"id": "sortBy",
"options": {
"fields": [
"Value"
],
"order": "desc"
}
}
]
},
2026-01-21 02:57:40 -03:00
{
2026-01-21 11:29:29 -03:00
"id": 10,
"type": "bargauge",
"title": "Ariadne Schedule Last Error (hours ago)",
2026-01-21 02:57:40 -03:00
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
2026-01-21 11:29:29 -03:00
"h": 8,
"w": 12,
2026-01-21 02:57:40 -03:00
"x": 0,
2026-01-21 11:29:29 -03:00
"y": 18
2026-01-21 02:57:40 -03:00
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "(time() - ariadne_schedule_last_error_timestamp_seconds) / 3600",
2026-01-21 02:57:40 -03:00
"refId": "A",
2026-01-21 11:29:29 -03:00
"legendFormat": "{{task}}",
"instant": true
2026-01-21 02:57:40 -03:00
}
],
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"unit": "h",
"min": 0,
"max": null,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 1
},
{
"color": "yellow",
"value": 6
},
{
"color": "green",
"value": 24
}
]
}
2026-01-21 02:57:40 -03:00
},
"overrides": []
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
2026-01-21 02:57:40 -03:00
}
2026-01-21 11:29:29 -03:00
},
"transformations": [
{
"id": "sortBy",
"options": {
"fields": [
"Value"
],
"order": "desc"
}
}
]
2026-01-21 02:57:40 -03:00
},
{
2026-01-21 11:29:29 -03:00
"id": 11,
"type": "bargauge",
"title": "Ariadne Schedule Last Success (hours ago)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
2026-01-21 11:29:29 -03:00
"h": 8,
"w": 12,
2026-01-21 11:29:29 -03:00
"x": 12,
2026-01-21 02:57:40 -03:00
"y": 18
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "(time() - ariadne_schedule_last_success_timestamp_seconds) / 3600",
"refId": "A",
2026-01-21 11:29:29 -03:00
"legendFormat": "{{task}}",
"instant": true
}
],
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"unit": "h",
"min": 0,
"max": null,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 6
},
{
"color": "orange",
"value": 24
},
{
"color": "red",
"value": 48
}
]
}
},
"overrides": []
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
}
},
"transformations": [
{
"id": "sortBy",
"options": {
"fields": [
"Value"
],
"order": "desc"
}
}
]
},
{
2026-01-21 11:29:29 -03:00
"id": 12,
"type": "bargauge",
"title": "Glue Jobs Last Success (hours ago)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
2026-01-21 11:29:29 -03:00
"h": 8,
"w": 12,
2026-01-21 11:29:29 -03:00
"x": 0,
"y": 26
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "((time() - (kube_cronjob_status_last_successful_time and on(namespace,cronjob) kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"}))) / 3600",
"refId": "A",
2026-01-21 11:29:29 -03:00
"legendFormat": "{{namespace}}/{{cronjob}}",
"instant": true
}
],
"fieldConfig": {
"defaults": {
"unit": "h",
2026-01-21 11:29:29 -03:00
"min": 0,
"max": null,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 6
},
{
"color": "orange",
"value": 24
},
{
"color": "red",
"value": 48
}
]
}
},
"overrides": []
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
}
},
"transformations": [
{
"id": "sortBy",
"options": {
"fields": [
"Value"
],
"order": "desc"
}
}
]
},
{
2026-01-21 11:29:29 -03:00
"id": 13,
"type": "bargauge",
"title": "Glue Jobs Last Schedule (hours ago)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
2026-01-21 11:29:29 -03:00
"h": 8,
2026-01-21 02:57:40 -03:00
"w": 12,
"x": 12,
2026-01-21 11:29:29 -03:00
"y": 26
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "((time() - (kube_cronjob_status_last_schedule_time and on(namespace,cronjob) kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"}))) / 3600",
"refId": "A",
2026-01-21 11:29:29 -03:00
"legendFormat": "{{namespace}}/{{cronjob}}",
"instant": true
}
],
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"unit": "h",
"min": 0,
"max": null,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 6
},
{
"color": "orange",
"value": 24
},
{
"color": "red",
"value": 48
}
]
}
},
"overrides": []
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
}
},
"transformations": [
{
"id": "sortBy",
"options": {
"fields": [
"Value"
],
"order": "desc"
}
}
]
},
2026-01-21 02:57:40 -03:00
{
2026-01-21 11:29:29 -03:00
"id": 14,
"type": "bargauge",
"title": "Ariadne Access Requests",
2026-01-21 02:57:40 -03:00
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
"h": 6,
2026-01-21 11:29:29 -03:00
"w": 8,
2026-01-21 02:57:40 -03:00
"x": 0,
2026-01-21 11:29:29 -03:00
"y": 34
2026-01-21 02:57:40 -03:00
},
"targets": [
{
2026-01-21 11:29:29 -03:00
"expr": "ariadne_access_requests_total",
2026-01-21 02:57:40 -03:00
"refId": "A",
2026-01-21 11:29:29 -03:00
"legendFormat": "{{status}}",
2026-01-21 02:57:40 -03:00
"instant": true
}
],
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"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
}
]
2026-01-21 02:57:40 -03:00
}
},
"overrides": []
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
}
2026-01-21 02:57:40 -03:00
},
"transformations": [
{
"id": "sortBy",
"options": {
"fields": [
"Value"
],
"order": "desc"
}
}
]
},
{
2026-01-21 11:29:29 -03:00
"id": 15,
"type": "stat",
"title": "Ariadne CI Coverage (%)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
2026-01-21 11:29:29 -03:00
"h": 6,
"w": 4,
"x": 8,
"y": 34
},
"targets": [
{
"expr": "ariadne_ci_coverage_percent{repo=\"ariadne\"}",
"refId": "A",
"legendFormat": "{{branch}}",
"instant": true
}
],
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(115, 115, 115, 1)",
"value": null
},
{
"color": "green",
"value": 1
}
]
},
"unit": "percent",
"custom": {
"displayMode": "auto"
},
"decimals": 1
},
"overrides": []
},
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
}
},
{
2026-01-21 11:29:29 -03:00
"id": 16,
"type": "table",
"title": "Ariadne CI Tests (latest)",
"datasource": {
"type": "prometheus",
"uid": "atlas-vm"
},
"gridPos": {
"h": 6,
2026-01-21 11:29:29 -03:00
"w": 12,
"x": 12,
"y": 34
},
"targets": [
{
"expr": "ariadne_ci_tests_total{repo=\"ariadne\"}",
"refId": "A",
"instant": true
}
],
"fieldConfig": {
"defaults": {
"unit": "none",
"custom": {
"filterable": true
}
},
"overrides": []
},
"options": {
"showHeader": true,
"columnFilters": false
},
"transformations": [
{
"id": "labelsToFields",
"options": {}
},
{
"id": "sortBy",
"options": {
"fields": [
"Value"
],
"order": "desc"
}
}
]
}
],
"time": {
"from": "now-7d",
"to": "now"
},
"annotations": {
"list": []
},
"schemaVersion": 39,
"style": "dark",
"tags": [
"atlas",
"testing"
]
}