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.
More on Grafana SLO Dashboards
Your SLO dashboard ConfigMap is applied, but the dashboard never shows up in Grafana.BeginnerAn imported SLO dashboard shows `Datasource ${DS_PROMETHEUS} was not found` on every panel.BeginnerThe "error budget remaining" stat changes when you change the dashboard time picker from 7 days to 30 days.IntermediateYou just created the SLO recording rules and the 30-day budget panel shows only a few hours of data.IntermediateThe budget remaining panel shows `9,850%` instead of `98.5%`.BeginnerDeploy annotations stopped appearing on the SLO dashboard after the CI system was migrated.Beginner