Record alert tests, Jenkins outage drill, and restart persistence (refs #19)
- Dashboard: CPU panel adds an I/O wait series; the background CPU on the 1 GiB droplet is mostly swap-in wait, not computation. - EVIDENCE.md: normal Jenkins build #1 vs host metrics (no attributable change), Discord contact-point test, capacity alert test (threshold raised to 70% on the droplet, fired after 5 m, restored to 15%), controlled Jenkins outage timeline (firing ~2 m after injection, recovery ~1 m after restart), and Prometheus/Grafana restart persistence with no collection gap. - Screenshots: build window, disk alert firing/resolved, Jenkins alert firing/resolved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
"id": 1,
|
||||
"type": "timeseries",
|
||||
"title": "Droplet CPU utilization (%)",
|
||||
"description": "Whole-droplet CPU busy %, averaged across CPUs: 100 minus the idle-time rate over 2m. Counts every workload on the host, not one container.",
|
||||
"description": "Whole-droplet CPU busy %, averaged across CPUs: 100 minus the idle-time rate over 2m. Counts every workload on the host, not one container. The I/O wait line is the part spent waiting on disk (on this 1 GiB droplet, mostly swap-in), not computation.",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "prometheus"
|
||||
@@ -84,6 +84,15 @@
|
||||
},
|
||||
"expr": "100 * (1 - avg(rate(node_cpu_seconds_total{job=\"node\",mode=\"idle\"}[2m])))",
|
||||
"legendFormat": "CPU busy"
|
||||
},
|
||||
{
|
||||
"refId": "B",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "prometheus"
|
||||
},
|
||||
"expr": "100 * avg(rate(node_cpu_seconds_total{job=\"node\",mode=\"iowait\"}[2m]))",
|
||||
"legendFormat": "of which I/O wait"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user