Add Grafana alerts dashboard for mobile-friendly alert overview

Two panels: currently firing alerts (firing/pending/noData/error) and
recent state changes. Refreshes every 30s. Uses Grafana's built-in
alertlist panel type — no datasource needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-03-23 21:16:54 -07:00
commit 9024d41230
3 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,77 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-dashboard-alerts
namespace: monitoring
labels:
grafana_dashboard: "1"
data:
alerts.json: |
{
"annotations": {
"list": []
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"gridPos": { "h": 10, "w": 24, "x": 0, "y": 0 },
"id": 1,
"options": {
"alertListOptions": {
"showOptions": "current",
"maxItems": 50,
"sortOrder": 1,
"stateFilter": {
"firing": true,
"pending": true,
"noData": true,
"normal": false,
"error": true
}
}
},
"title": "Firing Alerts",
"type": "alertlist"
},
{
"gridPos": { "h": 10, "w": 24, "x": 0, "y": 10 },
"id": 2,
"options": {
"alertListOptions": {
"showOptions": "changes",
"maxItems": 50,
"sortOrder": 1,
"stateFilter": {
"firing": true,
"pending": true,
"noData": true,
"normal": true,
"error": true
}
}
},
"title": "Recent State Changes",
"type": "alertlist"
}
],
"refresh": "30s",
"schemaVersion": 38,
"tags": ["alerts"],
"templating": {
"list": []
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Alerts",
"uid": "alerts",
"version": 1,
"weekStart": ""
}

View file

@ -26,6 +26,7 @@ resources:
- dashboards/configmap-sifaka-disks.yaml
- dashboards/configmap-forgejo.yaml
- dashboards/configmap-tempo.yaml
- dashboards/configmap-alerts.yaml
# TeslaMate dashboards are fetched by the init-teslamate-dashboards init
# container in the Grafana deployment, sourced from mirrors/teslamate on forge.
# See argocd/manifests/grafana/deployment.yaml for the version pin.

View file

@ -0,0 +1 @@
Add Grafana "Alerts" dashboard showing currently firing alerts and recent state changes.