Interview Prep/SRE & Reliability/Grafana SLO Dashboards

SLO panels time out with `504 Gateway Timeout` when viewing 30 days.

IntermediateTroubleshootingGrafana SLO Dashboards
Answer

Likely causes → Panels run raw rate() queries over many series and a long range with a small step, which is slow; a proxy (Grafana or ingress) times out first.

Diagnose → Use Query inspector to see query time, and check Prometheus query logs or prometheus_engine_query_duration_seconds.

Fix → Switch panels to recording rules, set a sensible Min interval (for example 5m for 30d views), and avoid regex selectors on high-cardinality labels.

Prevent → Review dashboards for raw-metric queries; SLO dashboards should read only slo:* series.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Grafana SLO Dashboards