Interview Prep/SRE & Reliability/Grafana SLO Dashboards

You just created the SLO recording rules and the 30-day budget panel shows only a few hours of data.

IntermediateTroubleshootingGrafana SLO Dashboards
Answer

Likely causes → Prometheus evaluates recording rules only going forward; it does not backfill history for newly added rules.

Diagnose → Check the earliest timestamp of the recorded series vs the raw metric.

Fix → Backfill with promtool:

promtool tsdb create-blocks-from rules \
  --start=$(date -d '-30 days' +%s) --end=$(date +%s) \
  --url=http://localhost:9090 slo-rules.yaml

Then copy the generated blocks into Prometheus' data directory. Alternatively, wait for the window to fill, and label the panel accordingly.

Prevent → Add SLO rules early in a service's life, or include backfill in the rollout procedure.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Grafana SLO Dashboards