⚡ ~/naveed Interview Prep
⚡ Portfolio Home 👤 About Naveed Bio & Credentials 📫 Contact Naveed Get In Touch ✍️ Engineering Blog Deep Dives 🎯 Interview Hub 1,000+ Scenarios ☸️ Kubernetes Mastery Hub 24 Modules 🎮 DevOps Arcade & Quizzes Subnet Blitz ⚡ 🗺️ DevOps Roadmaps PDFs & Guides 🤖 Morpheus Analysis AI Quant ↗ 🛠️ Developer Tools Utilities 🧪 Labs & Experiments 📄 Interactive CV & Certs 🔗 All Links & Socials ⚡ Join The Dispatch (Weekly SRE Newsletter) →
← Back to All Observability & Monitoring Interview Questions Scenario 115 of 116 in Observability & Monitoring
Mid-Level DevOps / SRE (2–4 Years) Observability Grafana & Observability SLO & Reliability
🎯 Target Role / Context: Observability Domain · Grafana Interview Questions (2–4 Years DevOps Engineer)

Q: How do you design SLO and SLA dashboards in Grafana? How do you calculate Service Level Indicators (SLIs), track Error Budgets, and visualize Burn Rates?

Design SLO SLA dashboards in Grafana with SLI trend graphs, error budget burn rates, 30-day compliance gauges, and multi-window alerts.

#Grafana #Observability #SLO #SLA #Error Budget #SRE #2-4 Years
🎙️ Candidate Opening & Architectural Context
"Designing SLO SLA dashboards in Grafana translates raw infrastructure metrics into user-centric reliability objectives. Rather than asking 'Is CPU under 80%?', building reliability views answers 'Are users successfully completing transactions without degradation?'. Effective dashboards visualize the current SLI, remaining Error Budget over a rolling 30-day window, and multi-window Burn Rates."
Advertisement
⚡ Recommended Practice Lab

Want to master this scenario in a live sandbox? The Linux Foundation's Prometheus Certified Associate (PCA) & Monitoring Labs covers this exact problem with hands-on terminal drills.

🛠️ Production Runbook & Step-by-Step Resolution

Direct Answer: Designing SLO SLA dashboards in Grafana translates raw infrastructure metrics into user-centric reliability objectives. Rather than asking 'Is CPU under 80%?', building reliability views answers 'Are users successfully completing transactions without degradation?'. Effective dashboards visualize the current SLI, remaining Error Budget over a rolling 30-day window, and multi-window Burn Rates.

1️⃣

Define SLIs (Good Events / Valid Events)

Formulate exact mathematical ratio definitions for reliability and latency indicators.

# PromQL for 30-Day Availability SLI (Target: 99.9%):
sum(increase(http_requests_total{service="checkout", status!~"5.."}[30d]))
/
sum(increase(http_requests_total{service="checkout"}[30d])) * 100

# Error Budget Remaining (Target: 99.9% -> Budget is 0.1%):
(
  (1 - 0.999) - 
  (
    sum(increase(http_requests_total{service="checkout", status=~"5.."}[30d]))
    / sum(increase(http_requests_total{service="checkout"}[30d]))
  )
) / (1 - 0.999) * 100
  • Availability SLI Formula: Successful Requests (HTTP 2xx, 3xx, 4xx) / Total Valid Requests (excluding client cancellations).
  • Latency SLI Formula: Requests completed in < 200ms / Total Requests.
  • Rolling Compliance Window: Measure SLIs over rolling 28-day or 30-day windows to smooth out daily traffic cycles.
2️⃣

Structure SLO SLA Dashboards in Grafana

Organize panels so executive stakeholders and engineers immediately understand reliability status.

  • Row 1 - Executive Summary: Large Gauge panels displaying current 30-day compliance percentage (e.g. 99.94% vs Target 99.90%) and remaining Error Budget (e.g. 42% remaining).
  • Row 2 - Error Budget Burn Rate: Line charts tracking 1-hour (14.4x burn rate) and 6-hour (6x burn rate) consumption speeds according to Google SRE multi-window standards.
  • Row 3 - Contributing Incident Timeline: Annotations and bar charts highlighting which outages consumed significant portions of the error budget.
Advertisement
3️⃣

Implement Multi-Window Multi-Burn-Rate Alerts

Alert when error budget consumption threatens to exhaust reliability targets before the period ends.

  • 1-Hour Burn Rate (14.4x): Consumes 2% of budget in 1 hour. P0 emergency page requiring immediate on-call mobilization.
  • 6-Hour Burn Rate (6x): Consumes 5% of budget in 6 hours. P1 ticket alert to catch steady, creeping failure modes.
Pro Tip: In interviews, explain that Error Budget Burn Rates alert on how fast budget is being depleted, preventing false alarms on tiny isolated blips.
💡 The Senior SRE Gold Nugget (Key Architectural Takeaway)
"Design SLO SLA dashboards in Grafana with 30-day SLI availability gauges, remaining error budget meters, and multi-window burn rate trend lines."
⚡ 60-Second Elevator Pitch Talking Points
  • Calculate SLIs as a ratio: (Good Requests / Total Requests) evaluated over a rolling 30-day window.
  • Display remaining Error Budget as a color-coded gauge (Green > 30%, Yellow 10-30%, Red < 10%).
  • Use multi-window burn rate graphs (14.4x for 1-hour emergencies, 6x for 6-hour degradations) to alert before budgets are depleted.
⛔ Critical Candidate Mistakes to Avoid in This Scenario

Senior hiring managers and bar raisers evaluate how you prioritize during outages. Avoid these common anti-patterns:

  1. Calculating SLOs using monthly calendar reset windows (1st of the month) instead of rolling 30-day windows Calendar resets create artificial 'amnesia' on the 1st of every month, resetting broken reliability histories to zero.
  2. Setting unrealistic '100% availability' SLO targets 100% availability is economically unfeasible and halts all product deployment velocity; embrace error budgets.
  3. Including client-side 4xx errors (e.g. 404 Not Found, 401 Unauthorized) as server SLI failures Penalizes engineering teams for invalid client input or external scanner probes that do not represent backend defects.
Advertisement
Want more Observability & Monitoring scenarios?
Explore our complete collection of scenario-based Observability & Monitoring interview runbooks.
Browse All Observability & Monitoring Questions →