2026-01-21 13:37:36 -03:00
# services/monitoring/grafana-dashboard-jobs.yaml
2026-01-18 02:50:07 -03:00
apiVersion : v1
kind : ConfigMap
metadata :
2026-01-21 13:37:36 -03:00
name : grafana-dashboard-jobs
2026-01-18 02:50:07 -03:00
labels :
grafana_dashboard : "1"
data :
2026-01-21 13:37:36 -03:00
atlas-jobs.json : |
2026-01-18 02:50:07 -03:00
{
2026-01-21 13:37:36 -03:00
"uid": "atlas-jobs" ,
"title": "Atlas Jobs" ,
2026-01-18 02:50:07 -03:00
"folderUid": "atlas-internal" ,
"editable": true ,
"panels": [
{
"id": 1 ,
2026-04-12 20:05:39 -03:00
"type": "stat" ,
"title": "Schedule Metrics Exported" ,
2026-01-21 13:37:36 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 4 ,
"w": 4 ,
2026-01-21 13:37:36 -03:00
"x": 0 ,
"y": 0
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "count(ariadne_schedule_last_success_timestamp_seconds{task=~\"^schedule\\..+$\"}) or on() vector(0)" ,
2026-01-21 13:37:36 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
2026-01-21 13:37:36 -03:00
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-04-12 20:05:39 -03:00
"color": "red" ,
2026-01-21 13:37:36 -03:00
"value": null
},
{
2026-04-12 20:05:39 -03:00
"color": "green" ,
2026-01-21 13:37:36 -03:00
"value": 1
}
]
2026-04-12 20:05:39 -03:00
},
"unit": "none" ,
"custom": {
"displayMode": "auto"
2026-01-21 13:37:36 -03:00
}
},
"overrides": [ ]
},
"options": {
2026-04-12 20:05:39 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
2026-01-21 13:37:36 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
2026-04-12 20:05:39 -03:00
"textMode": "value"
2026-01-21 13:37:36 -03:00
}
},
{
2026-04-12 20:05:39 -03:00
"id": 2 ,
"type": "stat" ,
"title": "Schedule Tasks Stale (>36h)" ,
2026-01-21 13:37:36 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 4 ,
"w": 4 ,
"x": 4 ,
2026-01-21 13:37:36 -03:00
"y": 0
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "sum(((time() - ariadne_schedule_last_success_timestamp_seconds{task=~\"^schedule\\..+$\"}) > bool 129600)) or on() vector(0)" ,
"refId": "A"
2026-01-21 13:37:36 -03:00
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
2026-01-21 13:37:36 -03:00
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
2026-04-12 20:05:39 -03:00
"value": 1
2026-01-21 13:37:36 -03:00
},
{
"color": "orange" ,
2026-04-12 20:05:39 -03:00
"value": 2
2026-01-21 13:37:36 -03:00
},
{
"color": "red" ,
2026-04-12 20:05:39 -03:00
"value": 3
2026-01-21 13:37:36 -03:00
}
]
2026-01-21 14:30:55 -03:00
},
2026-04-12 20:05:39 -03:00
"unit": "none" ,
"custom": {
"displayMode": "auto"
}
2026-01-21 13:37:36 -03:00
},
"overrides": [ ]
},
"options": {
2026-04-12 20:05:39 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
2026-01-21 13:37:36 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
2026-04-12 20:05:39 -03:00
"textMode": "value"
}
2026-01-21 13:37:36 -03:00
},
{
2026-04-12 20:05:39 -03:00
"id": 3 ,
2026-01-18 02:50:07 -03:00
"type": "stat" ,
2026-04-12 20:05:39 -03:00
"title": "Schedule Tasks Missing Success" ,
2026-01-18 02:50:07 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 4 ,
2026-01-21 13:37:36 -03:00
"w": 4 ,
2026-04-12 20:05:39 -03:00
"x": 8 ,
"y": 0
2026-01-18 02:50:07 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "count((ariadne_schedule_next_run_timestamp_seconds{task=~\"^schedule\\..+$\"} unless on(task) ariadne_schedule_last_success_timestamp_seconds{task=~\"^schedule\\..+$\"})) or on() vector(0)" ,
2026-01-18 02:50:07 -03:00
"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"
}
},
{
2026-04-12 20:05:39 -03:00
"id": 4 ,
2026-01-21 11:29:29 -03:00
"type": "stat" ,
2026-04-12 20:05:39 -03:00
"title": "Schedule Tasks Failed Last Run" ,
2026-01-18 02:50:07 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 4 ,
2026-01-21 11:29:29 -03:00
"w": 4 ,
2026-04-12 20:05:39 -03:00
"x": 12 ,
"y": 0
2026-01-18 02:50:07 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "sum(((1 - ariadne_schedule_last_status{task=~\"^schedule\\..+$\"}) > bool 0)) or on() vector(0)" ,
2026-01-21 11:29:29 -03:00
"refId": "A"
2026-01-18 02:50:07 -03:00
}
] ,
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-04-12 20:05:39 -03:00
"color": "green" ,
2026-01-21 11:29:29 -03:00
"value": null
},
{
2026-04-12 20:05:39 -03:00
"color": "yellow" ,
2026-01-21 11:29:29 -03:00
"value": 1
2026-04-12 20:05:39 -03:00
},
{
"color": "orange" ,
"value": 2
},
{
"color": "red" ,
"value": 3
2026-01-21 11:29:29 -03:00
}
]
},
2026-01-18 02:50:07 -03:00
"unit": "none" ,
"custom": {
2026-01-21 11:29:29 -03:00
"displayMode": "auto"
2026-01-18 02:50:07 -03:00
}
},
"overrides": [ ]
},
"options": {
2026-01-21 11:29:29 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
2026-01-18 02:50:07 -03:00
},
2026-01-21 11:29:29 -03:00
"textMode": "value"
}
2026-01-18 02:50:07 -03:00
},
{
2026-04-12 20:05:39 -03:00
"id": 5 ,
2026-01-21 11:29:29 -03:00
"type": "stat" ,
2026-04-12 20:05:39 -03:00
"title": "Glue Jobs Stale (>36h)" ,
2026-01-18 02:50:07 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 4 ,
2026-01-21 11:29:29 -03:00
"w": 4 ,
2026-04-12 20:05:39 -03:00
"x": 16 ,
"y": 0
2026-01-18 02:50:07 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -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))) or on() vector(0)" ,
2026-01-21 11:29:29 -03:00
"refId": "A"
2026-01-18 02:50:07 -03:00
}
] ,
"fieldConfig": {
"defaults": {
2026-01-21 11:29:29 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-04-12 20:05:39 -03:00
"color": "green" ,
2026-01-21 11:29:29 -03:00
"value": null
},
{
2026-04-12 20:05:39 -03:00
"color": "yellow" ,
2026-01-21 11:29:29 -03:00
"value": 1
2026-04-12 20:05:39 -03:00
},
{
"color": "orange" ,
"value": 2
},
{
"color": "red" ,
"value": 3
2026-01-21 11:29:29 -03:00
}
]
},
2026-01-18 02:50:07 -03:00
"unit": "none" ,
"custom": {
2026-01-21 11:29:29 -03:00
"displayMode": "auto"
2026-01-18 02:50:07 -03:00
}
},
"overrides": [ ]
},
"options": {
2026-01-21 11:29:29 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
"textMode": "value"
}
},
{
2026-04-12 20:05:39 -03:00
"id": 6 ,
2026-01-21 11:29:29 -03:00
"type": "stat" ,
2026-04-12 20:05:39 -03:00
"title": "Jenkins Workspace PV Backlog" ,
2026-01-21 11:29:29 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
2026-01-18 02:50:07 -03:00
},
2026-01-21 11:29:29 -03:00
"gridPos": {
"h": 4 ,
"w": 4 ,
2026-04-12 20:05:39 -03:00
"x": 20 ,
"y": 0
2026-01-21 11:29:29 -03:00
},
"targets": [
2026-01-18 02:50:07 -03:00
{
2026-04-12 20:05:39 -03:00
"expr": "sum((kube_persistentvolume_status_phase{phase=~\"Released|Failed\"} > bool 0) * on(persistentvolume) group_left(claim_namespace,name) kube_persistentvolume_claim_ref{claim_namespace=\"jenkins\",name=~\"pvc-workspace-.*\"}) or on() vector(0)" ,
2026-01-21 11:29:29 -03:00
"refId": "A"
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-04-12 20:05:39 -03:00
"color": "green" ,
2026-01-21 11:29:29 -03:00
"value": null
},
{
2026-04-12 20:05:39 -03:00
"color": "yellow" ,
2026-01-21 11:29:29 -03:00
"value": 1
2026-04-12 20:05:39 -03:00
},
{
"color": "orange" ,
"value": 10
},
{
"color": "red" ,
"value": 25
2026-01-21 11:29:29 -03:00
}
]
},
"unit": "none" ,
"custom": {
"displayMode": "auto"
}
2026-01-18 02:50:07 -03:00
},
2026-01-21 11:29:29 -03:00
"overrides": [ ]
},
"options": {
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
"textMode": "value"
}
},
{
2026-04-12 20:05:39 -03:00
"id": 7 ,
"type": "table" ,
"title": "Ariadne Schedules: Last Success (h, newest first)" ,
2026-01-21 11:29:29 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 8 ,
"w": 12 ,
"x": 0 ,
"y": 4
2026-01-21 11:29:29 -03:00
},
"targets": [
2026-01-18 02:50:07 -03:00
{
2026-04-12 20:09:43 -03:00
"expr": "((time() - max_over_time(ariadne_schedule_last_success_timestamp_seconds{task=~\"^schedule\\..+$\"}[$__range])) / 3600) or on(task) (0 * ariadne_schedule_next_run_timestamp_seconds{task=~\"^schedule\\..+$\"} + 999)" ,
2026-04-12 20:05:39 -03:00
"refId": "A" ,
"instant": true
2026-01-18 02:50:07 -03:00
}
2026-01-21 11:29:29 -03:00
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"unit": "h" ,
2026-01-21 11:29:29 -03:00
"custom": {
2026-04-12 20:05:39 -03:00
"filterable": true
2026-01-21 11:29:29 -03:00
}
},
"overrides": [ ]
},
"options": {
2026-04-12 20:05:39 -03:00
"showHeader": true ,
"columnFilters": false
2026-01-18 02:50:07 -03:00
},
2026-04-12 20:05:39 -03:00
"transformations": [
2026-01-18 02:50:07 -03:00
{
2026-04-12 20:05:39 -03:00
"id": "labelsToFields" ,
"options": {}
},
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "asc"
}
2026-01-18 02:50:07 -03:00
}
] ,
2026-04-12 20:05:39 -03:00
"description": "Primary schedule inventory ordered by recency so fresh jobs stay at the top."
2026-01-21 11:29:29 -03:00
},
{
2026-04-12 20:05:39 -03:00
"id": 8 ,
2026-01-21 11:29:29 -03:00
"type": "bargauge" ,
2026-01-21 13:37:36 -03:00
"title": "Ariadne Schedule Last Error (hours ago)" ,
2026-01-18 02:50:07 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 8 ,
2026-01-18 02:50:07 -03:00
"w": 12 ,
2026-04-12 20:05:39 -03:00
"x": 12 ,
"y": 4
2026-01-18 02:50:07 -03:00
},
"targets": [
{
2026-04-12 20:09:43 -03:00
"expr": "sort(((time() - max_over_time(ariadne_schedule_last_error_timestamp_seconds{task=~\"^schedule\\..+$\"}[$__range])) / 3600) or on(task) (0 * ariadne_schedule_next_run_timestamp_seconds{task=~\"^schedule\\..+$\"} + 999))" ,
2026-01-18 02:50:07 -03:00
"refId": "A" ,
2026-01-21 11:29:29 -03:00
"legendFormat": "{{task}}" ,
2026-01-18 02:50:07 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-01-21 13:37:36 -03:00
"unit": "h" ,
2026-01-21 11:29:29 -03:00
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-01-21 13:37:36 -03:00
"color": "red" ,
2026-01-21 11:29:29 -03:00
"value": null
},
{
2026-01-21 13:37:36 -03:00
"color": "orange" ,
2026-01-21 11:29:29 -03:00
"value": 1
},
{
2026-01-21 13:37:36 -03:00
"color": "yellow" ,
"value": 6
2026-01-21 11:29:29 -03:00
},
{
2026-01-21 13:37:36 -03:00
"color": "green" ,
"value": 24
2026-01-21 11:29:29 -03:00
}
]
2026-01-21 14:30:55 -03:00
},
"decimals": 2
2026-01-18 02:50:07 -03:00
},
"overrides": [ ]
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
2026-01-18 02:50:07 -03:00
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
2026-04-12 20:05:39 -03:00
"order": "asc"
2026-01-18 02:50:07 -03:00
}
}
]
2026-01-21 11:29:29 -03:00
},
{
2026-04-12 20:05:39 -03:00
"id": 9 ,
2026-01-21 11:29:29 -03:00
"type": "bargauge" ,
2026-04-12 20:05:39 -03:00
"title": "Ariadne Schedule Last Status" ,
2026-01-18 02:50:07 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 8 ,
"w": 8 ,
"x": 0 ,
"y": 12
2026-01-18 02:50:07 -03:00
},
"targets": [
{
2026-04-12 20:09:43 -03:00
"expr": "sort((ariadne_schedule_last_status{task=~\"^schedule\\..+$\"}) or on(task) (0 * ariadne_schedule_next_run_timestamp_seconds{task=~\"^schedule\\..+$\"} - 1))" ,
2026-01-18 02:50:07 -03:00
"refId": "A" ,
2026-01-21 11:29:29 -03:00
"legendFormat": "{{task}}" ,
2026-01-18 02:50:07 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"unit": "none" ,
2026-01-21 11:29:29 -03:00
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-04-12 20:05:39 -03:00
"color": "red" ,
2026-01-21 11:29:29 -03:00
"value": null
},
{
2026-01-21 13:37:36 -03:00
"color": "yellow" ,
2026-04-12 20:05:39 -03:00
"value": 0.5
2026-01-21 11:29:29 -03:00
},
{
2026-04-12 20:05:39 -03:00
"color": "green" ,
"value": 1
2026-01-21 11:29:29 -03:00
}
]
2026-01-21 14:30:55 -03:00
},
2026-04-12 20:05:39 -03:00
"decimals": 0 ,
"mappings": [
{
"type": "value" ,
"options": {
2026-04-12 20:09:43 -03:00
"-1": {
"text": "pending"
},
2026-04-12 20:05:39 -03:00
"0": {
"text": "error"
},
"1": {
"text": "ok"
}
}
}
]
2026-01-18 02:50:07 -03:00
},
"overrides": [ ]
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
2026-01-18 02:50:07 -03:00
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
2026-04-12 17:29:18 -03:00
"order": "asc"
2026-01-18 02:50:07 -03:00
}
}
2026-04-12 20:05:39 -03:00
] ,
"description": "1 means the last run was ok. 0 means the last run ended in error."
2026-01-19 16:58:02 -03:00
},
2026-01-21 02:57:40 -03:00
{
2026-04-12 20:05:39 -03:00
"id": 10 ,
2026-01-21 11:29:29 -03:00
"type": "bargauge" ,
2026-04-12 20:05:39 -03:00
"title": "Ariadne Schedule Runs (range)" ,
2026-01-21 02:57:40 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 8 ,
"w": 8 ,
"x": 8 ,
"y": 12
2026-01-21 02:57:40 -03:00
},
"targets": [
{
2026-04-12 20:09:43 -03:00
"expr": "sort_desc((sum by (task) (increase(ariadne_task_runs_total{task=~\"^schedule\\..+$\"}[$__range]))) or on(task) (0 * ariadne_schedule_next_run_timestamp_seconds{task=~\"^schedule\\..+$\"}))" ,
2026-01-21 02:57:40 -03:00
"refId": "A" ,
2026-04-12 20:05:39 -03:00
"legendFormat": "{{task}}" ,
2026-01-21 11:29:29 -03:00
"instant": true
2026-01-21 02:57:40 -03:00
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"unit": "none" ,
2026-01-21 11:29:29 -03:00
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-01-21 13:37:36 -03:00
"color": "green" ,
2026-01-21 11:29:29 -03:00
"value": null
}
]
2026-04-12 20:05:39 -03:00
}
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-04-12 20:05:39 -03:00
] ,
"description": "Number of runs by schedule task over the selected dashboard time range."
2026-01-21 02:57:40 -03:00
},
2026-01-19 16:58:02 -03:00
{
2026-04-12 20:05:39 -03:00
"id": 11 ,
2026-01-21 11:29:29 -03:00
"type": "bargauge" ,
2026-04-12 20:05:39 -03:00
"title": "Ariadne Schedule Errors (range)" ,
2026-01-19 16:58:02 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 8 ,
"w": 8 ,
"x": 16 ,
"y": 12
2026-01-19 16:58:02 -03:00
},
"targets": [
{
2026-04-12 20:09:43 -03:00
"expr": "sort_desc((sum by (task) (increase(ariadne_task_runs_total{status=\"error\",task=~\"^schedule\\..+$\"}[$__range]))) or on(task) (0 * ariadne_schedule_next_run_timestamp_seconds{task=~\"^schedule\\..+$\"}))" ,
2026-01-19 16:58:02 -03:00
"refId": "A" ,
2026-04-12 20:05:39 -03:00
"legendFormat": "{{task}}" ,
2026-01-19 16:58:02 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"unit": "none" ,
2026-01-21 11:29:29 -03:00
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
2026-04-12 20:05:39 -03:00
"value": 1
2026-01-21 11:29:29 -03:00
},
{
"color": "orange" ,
2026-04-12 20:05:39 -03:00
"value": 3
2026-01-21 11:29:29 -03:00
},
{
"color": "red" ,
2026-04-12 20:05:39 -03:00
"value": 5
2026-01-21 11:29:29 -03:00
}
]
2026-04-12 20:05:39 -03:00
}
2026-01-19 16:58:02 -03:00
},
"overrides": [ ]
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
2026-01-19 16:58:02 -03:00
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
}
2026-04-12 20:05:39 -03:00
] ,
"description": "Error run count by schedule task over the selected dashboard time range."
2026-01-19 16:58:02 -03:00
},
{
2026-04-12 20:05:39 -03:00
"id": 12 ,
"type": "timeseries" ,
"title": "Ariadne Attempts / Failures" ,
2026-01-19 16:58:02 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 7 ,
2026-01-19 16:58:02 -03:00
"w": 12 ,
2026-01-21 11:29:29 -03:00
"x": 0 ,
2026-04-12 20:05:39 -03:00
"y": 20
2026-01-19 16:58:02 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "sum(increase(ariadne_task_runs_total[$__interval]))" ,
2026-01-19 16:58:02 -03:00
"refId": "A" ,
2026-04-12 20:05:39 -03:00
"legendFormat": "Attempts"
},
{
"expr": "sum(increase(ariadne_task_runs_total{status=\"error\"}[$__interval]))" ,
"refId": "B" ,
"legendFormat": "Failures"
2026-01-19 16:58:02 -03:00
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName" ,
"options": "Attempts"
},
"properties": [
2026-01-21 11:29:29 -03:00
{
2026-04-12 20:05:39 -03:00
"id": "color" ,
"value": {
"mode": "fixed" ,
"fixedColor": "green"
}
}
]
},
{
"matcher": {
"id": "byName" ,
"options": "Failures"
},
"properties": [
{
"id": "color" ,
"value": {
"mode": "fixed" ,
"fixedColor": "red"
}
2026-01-21 11:29:29 -03:00
}
]
2026-01-19 16:58:02 -03:00
}
2026-04-12 20:05:39 -03:00
]
},
"options": {
"legend": {
"displayMode": "table" ,
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
}
},
{
"id": 13 ,
"type": "bargauge" ,
"title": "One-off Job Pods (age hours)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 7 ,
"w": 12 ,
"x": 12 ,
"y": 20
},
"targets": [
{
"expr": "sort_desc(((time() - kube_pod_start_time{pod!=\"\"}) / 3600) * on(namespace,pod) group_left(owner_name) (kube_pod_owner{owner_kind=\"Job\"} unless on(namespace, owner_name) label_replace(kube_job_owner{owner_kind=\"CronJob\"}, \"owner_name\", \"$1\", \"job_name\", \"(.*)\")) * on(namespace,pod) group_left(phase) max by (namespace,pod,phase) (kube_pod_status_phase{phase=~\"Running|Succeeded\"}))" ,
"refId": "A" ,
"legendFormat": "{{namespace}}/{{pod}}" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"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
}
]
},
"decimals": 2
2026-01-19 16:58:02 -03:00
},
"overrides": [ ]
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
2026-01-19 16:58:02 -03:00
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
2026-04-12 20:05:39 -03:00
},
{
"id": "limit" ,
"options": {
"limit": 12
}
2026-01-19 16:58:02 -03:00
}
]
},
{
2026-04-12 20:05:39 -03:00
"id": 14 ,
2026-01-21 11:29:29 -03:00
"type": "bargauge" ,
2026-04-12 20:05:39 -03:00
"title": "Glue Jobs Last Success (hours ago)" ,
2026-01-19 16:58:02 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-01-21 14:30:55 -03:00
"h": 6 ,
2026-01-21 02:57:40 -03:00
"w": 12 ,
2026-04-12 20:05:39 -03:00
"x": 0 ,
"y": 27
2026-01-19 16:58:02 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "sort_desc((time() - max_over_time((kube_cronjob_status_last_successful_time and on(namespace,cronjob) kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"})[$__range])) / 3600)" ,
2026-01-19 16:58:02 -03:00
"refId": "A" ,
2026-04-12 20:05:39 -03:00
"legendFormat": "{{namespace}}/{{cronjob}}" ,
2026-01-19 16:58:02 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"unit": "h" ,
2026-01-21 11:29:29 -03:00
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
2026-04-12 20:05:39 -03:00
"value": 6
2026-01-21 11:29:29 -03:00
},
{
"color": "orange" ,
2026-04-12 20:05:39 -03:00
"value": 24
2026-01-21 11:29:29 -03:00
},
{
"color": "red" ,
2026-04-12 20:05:39 -03:00
"value": 48
2026-01-21 11:29:29 -03:00
}
]
2026-04-12 20:05:39 -03:00
},
"decimals": 2
2026-01-19 16:58:02 -03:00
},
"overrides": [ ]
},
"options": {
2026-01-21 11:29:29 -03:00
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
2026-01-19 16:58:02 -03:00
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
}
]
2026-01-20 23:03:39 -03:00
},
2026-01-21 02:57:40 -03:00
{
2026-04-12 20:05:39 -03:00
"id": 15 ,
2026-01-21 11:29:29 -03:00
"type": "bargauge" ,
2026-04-12 20:05:39 -03:00
"title": "Glue Jobs Last Schedule (hours ago)" ,
2026-01-21 02:57:40 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 6 ,
2026-04-12 20:05:39 -03:00
"w": 12 ,
"x": 12 ,
"y": 27
2026-01-21 02:57:40 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "sort_desc((time() - max_over_time((kube_cronjob_status_last_schedule_time and on(namespace,cronjob) kube_cronjob_labels{label_atlas_bstein_dev_glue=\"true\"})[$__range])) / 3600)" ,
2026-01-21 02:57:40 -03:00
"refId": "A" ,
2026-04-12 20:05:39 -03:00
"legendFormat": "{{namespace}}/{{cronjob}}" ,
2026-01-21 02:57:40 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"unit": "h" ,
2026-01-21 11:29:29 -03:00
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
2026-04-12 20:05:39 -03:00
"value": 6
2026-01-21 11:29:29 -03:00
},
{
"color": "orange" ,
2026-04-12 20:05:39 -03:00
"value": 24
2026-01-21 11:29:29 -03:00
},
{
"color": "red" ,
2026-04-12 20:05:39 -03:00
"value": 48
2026-01-21 11:29:29 -03:00
}
]
2026-04-12 20:05:39 -03:00
},
"decimals": 2
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-20 23:03:39 -03:00
{
2026-04-12 20:05:39 -03:00
"id": 16 ,
2026-01-20 23:03:39 -03:00
"type": "stat" ,
2026-04-12 20:05:39 -03:00
"title": "Jenkins Cleanup Signal Present" ,
2026-01-20 23:03:39 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 4 ,
2026-01-21 11:29:29 -03:00
"w": 4 ,
2026-04-12 20:05:39 -03:00
"x": 0 ,
"y": 33
2026-01-20 23:03:39 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "count(ariadne_jenkins_workspace_cleanup_last_run_timestamp_seconds) or on() vector(0)" ,
2026-01-20 23:03:39 -03:00
"refId": "A" ,
2026-04-12 20:38:04 -03:00
"legendFormat": "Signal" ,
2026-01-20 23:03:39 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-04-12 20:05:39 -03:00
"color": "red" ,
2026-01-20 23:03:39 -03:00
"value": null
},
{
"color": "green" ,
"value": 1
}
]
},
2026-04-12 20:05:39 -03:00
"unit": "none" ,
2026-01-20 23:03:39 -03:00
"custom": {
"displayMode": "auto"
2026-04-12 20:05:39 -03:00
}
2026-01-20 23:03:39 -03:00
},
"overrides": [ ]
},
"options": {
"colorMode": "value" ,
2026-04-12 20:38:04 -03:00
"graphMode": "none" ,
"justifyMode": "auto" ,
2026-01-20 23:03:39 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
2026-04-12 20:38:04 -03:00
"textMode": "name_and_value" ,
"orientation": "vertical" ,
"wideLayout": true
2026-04-12 20:05:39 -03:00
}
2026-01-20 23:03:39 -03:00
},
{
2026-04-12 20:05:39 -03:00
"id": 17 ,
"type": "stat" ,
"title": "Jenkins Cleanup Last Run Age (h)" ,
2026-01-20 23:03:39 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 4 ,
"w": 4 ,
"x": 4 ,
"y": 33
2026-01-20 23:03:39 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "((time() - ariadne_jenkins_workspace_cleanup_last_run_timestamp_seconds) / 3600) or on() vector(999)" ,
2026-01-20 23:03:39 -03:00
"refId": "A" ,
2026-04-12 20:38:04 -03:00
"legendFormat": "Last Run" ,
2026-01-20 23:03:39 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 6
},
{
"color": "orange" ,
"value": 24
},
{
"color": "red" ,
"value": 48
}
]
},
"unit": "h" ,
2026-01-20 23:03:39 -03:00
"custom": {
2026-04-12 20:05:39 -03:00
"displayMode": "auto"
},
"decimals": 2
2026-01-20 23:03:39 -03:00
},
"overrides": [ ]
},
"options": {
2026-04-12 20:05:39 -03:00
"colorMode": "value" ,
2026-04-12 20:38:04 -03:00
"graphMode": "none" ,
"justifyMode": "auto" ,
2026-04-12 20:05:39 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
2026-01-20 23:03:39 -03:00
},
2026-04-12 20:38:04 -03:00
"textMode": "name_and_value" ,
"orientation": "vertical" ,
"wideLayout": true
2026-04-12 20:05:39 -03:00
}
2026-04-08 23:33:17 -03:00
},
{
2026-04-12 20:05:39 -03:00
"id": 18 ,
"type": "stat" ,
"title": "Jenkins Cleanup Last Success Age (h)" ,
2026-04-08 23:33:17 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 4 ,
"w": 4 ,
2026-04-08 23:33:17 -03:00
"x": 8 ,
2026-04-12 20:05:39 -03:00
"y": 33
2026-04-08 23:33:17 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "((time() - ariadne_jenkins_workspace_cleanup_last_success_timestamp_seconds) / 3600) or on() vector(999)" ,
2026-04-08 23:33:17 -03:00
"refId": "A" ,
2026-04-12 20:38:04 -03:00
"legendFormat": "Last Success" ,
2026-04-12 20:05:39 -03:00
"instant": true
2026-04-08 23:33:17 -03:00
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
"value": 6
},
{
"color": "orange" ,
"value": 24
},
{
"color": "red" ,
"value": 48
}
]
},
"unit": "h" ,
"custom": {
"displayMode": "auto"
},
"decimals": 2
},
"overrides": [ ]
},
"options": {
"colorMode": "value" ,
2026-04-12 20:38:04 -03:00
"graphMode": "none" ,
"justifyMode": "auto" ,
2026-04-12 20:05:39 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
2026-04-12 20:38:04 -03:00
"textMode": "name_and_value" ,
"orientation": "vertical" ,
"wideLayout": true
2026-04-12 20:05:39 -03:00
}
},
{
"id": 19 ,
"type": "stat" ,
"title": "Jenkins Cleanup Planned (last run)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 4 ,
"w": 4 ,
"x": 12 ,
"y": 33
2026-04-12 17:29:18 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "ariadne_jenkins_workspace_cleanup_last_planned_total or on() vector(0)" ,
2026-04-12 17:29:18 -03:00
"refId": "A" ,
2026-04-12 20:38:04 -03:00
"legendFormat": "Planned" ,
2026-04-12 17:29:18 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
2026-04-12 17:29:18 -03:00
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-04-12 20:05:39 -03:00
"color": "rgba(115, 115, 115, 1)" ,
2026-04-12 17:29:18 -03:00
"value": null
},
{
"color": "green" ,
"value": 1
}
]
},
2026-04-12 20:05:39 -03:00
"unit": "none" ,
"custom": {
"displayMode": "auto"
}
2026-04-12 17:29:18 -03:00
},
"overrides": [ ]
},
"options": {
2026-04-12 20:05:39 -03:00
"colorMode": "value" ,
2026-04-12 20:38:04 -03:00
"graphMode": "none" ,
"justifyMode": "auto" ,
2026-04-12 17:29:18 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
2026-04-12 20:05:39 -03:00
},
2026-04-12 20:38:04 -03:00
"textMode": "name_and_value" ,
"orientation": "vertical" ,
"wideLayout": true
2026-04-12 20:05:39 -03:00
}
},
{
"id": 20 ,
"type": "stat" ,
"title": "Jenkins Cleanup Deleted (last run)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
2026-04-12 17:29:18 -03:00
},
2026-04-12 20:05:39 -03:00
"gridPos": {
"h": 4 ,
"w": 4 ,
"x": 16 ,
"y": 33
},
"targets": [
2026-04-12 17:29:18 -03:00
{
2026-04-12 20:05:39 -03:00
"expr": "ariadne_jenkins_workspace_cleanup_last_deleted_total or on() vector(0)" ,
"refId": "A" ,
2026-04-12 20:38:04 -03:00
"legendFormat": "Deleted" ,
2026-04-12 20:05:39 -03:00
"instant": true
2026-04-12 17:29:18 -03:00
}
] ,
2026-04-12 20:05:39 -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" ,
2026-04-12 20:38:04 -03:00
"graphMode": "none" ,
"justifyMode": "auto" ,
2026-04-12 20:05:39 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
2026-04-12 20:38:04 -03:00
"textMode": "name_and_value" ,
"orientation": "vertical" ,
"wideLayout": true
2026-04-12 20:05:39 -03:00
}
2026-04-12 17:29:18 -03:00
},
{
"id": 21 ,
2026-04-12 20:05:39 -03:00
"type": "stat" ,
"title": "Ariadne Access Requests" ,
2026-04-12 17:29:18 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 4 ,
"w": 4 ,
"x": 20 ,
"y": 33
2026-04-12 17:29:18 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "ariadne_access_requests_total" ,
2026-04-12 17:29:18 -03:00
"refId": "A" ,
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"color": {
"mode": "thresholds"
},
"mappings": [ ] ,
2026-04-12 17:29:18 -03:00
"thresholds": {
"mode": "absolute" ,
"steps": [
{
2026-04-12 20:05:39 -03:00
"color": "rgba(115, 115, 115, 1)" ,
2026-04-12 17:29:18 -03:00
"value": null
2026-04-12 20:05:39 -03:00
},
{
"color": "green" ,
"value": 1
2026-04-12 17:29:18 -03:00
}
]
2026-04-12 20:05:39 -03:00
},
"unit": "none" ,
"custom": {
"displayMode": "auto"
2026-04-12 17:29:18 -03:00
}
},
"overrides": [ ]
},
"options": {
2026-04-12 20:05:39 -03:00
"colorMode": "value" ,
"graphMode": "area" ,
"justifyMode": "center" ,
2026-04-12 17:29:18 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
2026-04-12 20:05:39 -03:00
},
"textMode": "value"
}
},
{
"id": 22 ,
"type": "timeseries" ,
"title": "Jenkins Cleanup Runs (range)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 7 ,
"w": 12 ,
"x": 0 ,
"y": 37
},
"targets": [
{
"refId": "A" ,
"expr": "sum by (mode, status) (increase(ariadne_jenkins_workspace_cleanup_runs_total[$__range]))" ,
"legendFormat": "{{mode}}/{{status}}"
}
] ,
"fieldConfig": {
"defaults": {
"unit": "none"
},
"overrides": [ ]
},
"options": {
"legend": {
"displayMode": "table" ,
"placement": "right"
},
"tooltip": {
"mode": "multi"
2026-04-12 17:29:18 -03:00
}
2026-04-12 20:05:39 -03:00
}
},
{
"id": 23 ,
"type": "timeseries" ,
"title": "Jenkins Cleanup Objects (range)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
2026-04-12 17:29:18 -03:00
},
2026-04-12 20:05:39 -03:00
"gridPos": {
"h": 7 ,
"w": 12 ,
"x": 12 ,
"y": 37
},
"targets": [
2026-04-12 17:29:18 -03:00
{
2026-04-12 20:05:39 -03:00
"refId": "A" ,
"expr": "sum by (kind, action, mode) (increase(ariadne_jenkins_workspace_cleanup_objects_total[$__range]))" ,
"legendFormat": "{{kind}}/{{action}}/{{mode}}"
2026-04-12 17:29:18 -03:00
}
] ,
2026-04-12 20:05:39 -03:00
"fieldConfig": {
"defaults": {
"unit": "none"
},
"overrides": [ ]
},
"options": {
"legend": {
"displayMode": "table" ,
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
}
2026-04-12 17:29:18 -03:00
},
{
2026-04-12 20:05:39 -03:00
"id": 24 ,
2026-04-13 06:24:35 -03:00
"type": "stat" ,
2026-04-13 00:25:33 -03:00
"title": "Jenkins Build Weather (last run h, newest first)" ,
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
"h": 8 ,
2026-04-13 06:24:35 -03:00
"w": 24 ,
2026-04-13 00:25:33 -03:00
"x": 0 ,
"y": 44
},
"targets": [
{
"refId": "A" ,
2026-04-13 04:03:46 -03:00
"expr": "((time() - ariadne_jenkins_build_weather_job_last_run_timestamp_seconds) / 3600) and on(exported_job,job_url,weather_icon) (ariadne_jenkins_build_weather_job_last_status == 1)" ,
"legendFormat": "{{weather_icon}} {{exported_job}}" ,
2026-04-13 00:25:33 -03:00
"instant": true
},
{
"refId": "B" ,
2026-04-13 04:03:46 -03:00
"expr": "((time() - ariadne_jenkins_build_weather_job_last_run_timestamp_seconds) / 3600) and on(exported_job,job_url,weather_icon) (ariadne_jenkins_build_weather_job_last_status == 0)" ,
"legendFormat": "{{weather_icon}} {{exported_job}}" ,
2026-04-13 00:25:33 -03:00
"instant": true
},
{
"refId": "C" ,
2026-04-13 04:03:46 -03:00
"expr": "((time() - ariadne_jenkins_build_weather_job_last_run_timestamp_seconds) / 3600) and on(exported_job,job_url,weather_icon) (ariadne_jenkins_build_weather_job_last_status == 2)" ,
"legendFormat": "{{weather_icon}} {{exported_job}}" ,
2026-04-13 00:25:33 -03:00
"instant": true
},
{
"refId": "D" ,
2026-04-13 04:03:46 -03:00
"expr": "((time() - ariadne_jenkins_build_weather_job_last_run_timestamp_seconds) / 3600) and on(exported_job,job_url,weather_icon) (ariadne_jenkins_build_weather_job_last_status < 0)" ,
"legendFormat": "{{weather_icon}} {{exported_job}}" ,
2026-04-13 00:25:33 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
"unit": "h" ,
2026-04-13 06:24:35 -03:00
"decimals": 2 ,
2026-04-13 00:25:33 -03:00
"min": 0 ,
"links": [
{
"title": "Open Jenkins job" ,
"url": "${__field.labels.job_url}" ,
"targetBlank": true
}
2026-04-13 06:24:35 -03:00
]
2026-04-13 00:25:33 -03:00
},
"overrides": [
{
"matcher": {
"id": "byFrameRefID" ,
"options": "A"
},
"properties": [
{
"id": "color" ,
"value": {
"mode": "fixed" ,
"fixedColor": "green"
}
}
]
},
{
"matcher": {
"id": "byFrameRefID" ,
"options": "B"
},
"properties": [
{
"id": "color" ,
"value": {
"mode": "fixed" ,
"fixedColor": "red"
}
}
]
},
{
"matcher": {
"id": "byFrameRefID" ,
"options": "C"
},
"properties": [
{
"id": "color" ,
"value": {
"mode": "fixed" ,
"fixedColor": "yellow"
}
}
]
},
{
"matcher": {
"id": "byFrameRefID" ,
"options": "D"
},
"properties": [
{
"id": "color" ,
"value": {
"mode": "fixed" ,
"fixedColor": "gray"
}
}
]
}
]
},
"options": {
2026-04-13 06:24:35 -03:00
"colorMode": "value" ,
"graphMode": "none" ,
"justifyMode": "auto" ,
2026-04-13 00:25:33 -03:00
"orientation": "horizontal" ,
2026-04-13 06:24:35 -03:00
"wideLayout": true ,
2026-04-13 00:25:33 -03:00
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
},
2026-04-13 06:24:35 -03:00
"textMode": "name_value"
2026-04-13 00:25:33 -03:00
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "asc"
}
},
{
"id": "limit" ,
"options": {
"limit": 20
}
}
] ,
2026-04-13 06:24:35 -03:00
"description": "Jenkins homepage-style list from Ariadne with weather icons and status-colored job names. Click a name to open the Jenkins job page."
2026-04-13 00:25:33 -03:00
},
{
"id": 27 ,
"type": "bargauge" ,
2026-04-12 20:05:39 -03:00
"title": "Jenkins Workspace PV Age (h, detached only)" ,
2026-04-12 17:29:18 -03:00
"datasource": {
"type": "prometheus" ,
"uid": "atlas-vm"
},
"gridPos": {
2026-04-12 20:05:39 -03:00
"h": 10 ,
"w": 24 ,
"x": 0 ,
2026-04-13 00:25:33 -03:00
"y": 52
2026-04-12 17:29:18 -03:00
},
"targets": [
{
2026-04-12 20:05:39 -03:00
"expr": "sort_desc(((time() - kube_persistentvolume_created) / 3600) * on(persistentvolume) group_left(claim_namespace,name) kube_persistentvolume_claim_ref{claim_namespace=\"jenkins\",name=~\"pvc-workspace-.*\"} * on(persistentvolume) group_left() (kube_persistentvolume_status_phase{phase=~\"Released|Failed\"} > bool 0))" ,
2026-04-12 17:29:18 -03:00
"refId": "A" ,
2026-04-12 20:05:39 -03:00
"legendFormat": "{{name}} -> {{persistentvolume}}" ,
2026-04-12 17:29:18 -03:00
"instant": true
}
] ,
"fieldConfig": {
"defaults": {
2026-04-12 20:05:39 -03:00
"unit": "h" ,
2026-04-12 17:29:18 -03:00
"min": 0 ,
"max": null ,
"thresholds": {
"mode": "absolute" ,
"steps": [
{
"color": "green" ,
"value": null
},
{
"color": "yellow" ,
2026-04-12 20:05:39 -03:00
"value": 24
2026-04-12 17:29:18 -03:00
},
{
"color": "orange" ,
2026-04-12 20:05:39 -03:00
"value": 72
2026-04-12 17:29:18 -03:00
},
{
"color": "red" ,
2026-04-12 20:05:39 -03:00
"value": 168
2026-04-12 17:29:18 -03:00
}
]
2026-04-12 20:05:39 -03:00
},
"decimals": 1
2026-04-12 17:29:18 -03:00
},
"overrides": [ ]
},
"options": {
"displayMode": "gradient" ,
"orientation": "horizontal" ,
"reduceOptions": {
"calcs": [
"lastNotNull"
] ,
"fields": "" ,
"values": false
}
},
"transformations": [
{
"id": "sortBy" ,
"options": {
"fields": [
"Value"
] ,
"order": "desc"
}
2026-04-12 20:05:39 -03:00
},
{
"id": "limit" ,
"options": {
"limit": 40
}
2026-04-12 17:29:18 -03:00
}
] ,
2026-04-12 20:05:39 -03:00
"description": "Oldest detached Jenkins workspace volumes first. This is the direct cleanup backlog view."
2026-01-18 02:50:07 -03:00
}
] ,
"time": {
"from": "now-7d" ,
"to": "now"
},
"annotations": {
"list": [ ]
},
"schemaVersion": 39 ,
"style": "dark" ,
"tags": [
"atlas" ,
2026-01-21 13:37:36 -03:00
"jobs" ,
"glue"
2026-01-18 02:50:07 -03:00
]
}