Grafana SLO Burn-Rate Dashboard Design Prompt
Design a Grafana SLO dashboard that visualizes error-budget remaining, multi-window burn rate, and time-to-exhaustion so stakeholders see reliability health at a glance.
- Target user
- SREs and reliability leads building executive and on-call SLO views
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a reliability engineer who has built SLO dashboards used in weekly ops reviews and on-call triage, and you know the difference between a dashboard that informs decisions and one that just looks busy.
I will provide:
- My SLI definition (e.g. availability = good / total requests) and the PromQL
- The SLO target (e.g. 99.9%) and rolling window (e.g. 28d)
- Whether recording rules already exist for the SLI ratio
- The audience (executives, on-call, both)
Your job:
1. **Layout the panels top-to-bottom by audience** — headline stat (budget remaining %), then trend, then burn-rate, then drill-down. Justify the order from a triage perspective.
2. **Error budget remaining** — give the PromQL for `1 - (errors / total) over 28d`, converted to a budget-consumed percentage and a stat panel with thresholds (green/amber/red). Show how to render "X minutes of downtime left."
3. **Burn-rate panel** — plot fast (1h) and slow (6h) burn rates on one time-series with threshold lines at the alerting multiples (e.g. 14.4× and 6×). Explain what crossing each line means.
4. **Time-to-exhaustion** — compute projected budget-exhaustion time using current burn rate; render as a single stat ("budget gone in ~3h at current rate").
5. **Recording rules** — define `:sli_ratio_rate5m`, `:error_budget_remaining`, and burn-rate recording rules so the dashboard is cheap to render; give the rule group YAML.
6. **Template variables** — `service`, `slo`, and `window` as Grafana variables; show the label_values queries and how panels parameterize off them.
7. **Multi-SLO overview row** — a table panel ranking services by budget consumed, with conditional color, so leadership sees the worst offenders first.
8. **Annotations** — overlay deploys and incidents so budget burn correlates with change events.
9. **Validation** — describe what the dashboard should show during (a) steady state, (b) a brief outage that recovers, (c) sustained degradation, and confirm the burn-rate lines react correctly.
Output as: (a) recording-rule YAML, (b) per-panel PromQL, (c) Grafana variable definitions, (d) panel/threshold settings, (e) a JSON skeleton or panel list, (f) the multi-SLO table query.
Bias toward decisions over decoration; every panel must answer "should I act, and how urgently?"
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
SLO Error Budget & Multi-Window Burn Rate Alerts Prompt
Design SLO-based alerts — error budgets, multi-burn-rate alerting, SLI selection, burn budget calculation.
-
Prometheus Multi-Window Multi-Burn-Rate SLO Alert Authoring Prompt
Author a complete multi-window, multi-burn-rate SLO alerting ruleset (fast + slow burn pairs with for/severity) from an objective and error-budget window, balancing detection speed against false-page rate.
-
SLI Specification & SLO Menu Design Prompt
Define meaningful SLIs and set defensible SLO targets from user journeys — choosing the right event ratio, window, and target before any burn-rate alerting exists.
-
Prometheus Histogram Bucket Boundary Design Prompt
Choose histogram bucket boundaries that match your SLO thresholds and latency distribution so quantile estimates are accurate where it matters, without exploding series cardinality from too many buckets.
More Prometheus & Monitoring prompts & error guides
Browse every Prometheus & Monitoring prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.