Interview Prep/SRE & Reliability/Prometheus SLIs & Recording Rules

After migrating from ingress-nginx to Gateway API with Envoy, the SLO dashboard is blank and no burn alerts fire.

IntermediateTroubleshootingPrometheus SLIs & Recording Rules
Answer

Likely causes → The recording rules reference nginx_ingress_controller_requests, which no longer exists. Empty results mean NaN/no data, so alerts silently never fire.

Diagnose →

absent(nginx_ingress_controller_requests)
count by (__name__) ({__name__=~"envoy_.*rq.*"})

Fix → Rewrite the SLI recording rules for the new metric names (for example Envoy's upstream request counters by response code class), validate against a week of overlap data, then switch.

Prevent → Add absent() alerts on every metric an SLO depends on, so a renamed or missing metric pages as "SLO blind".

All SRE & Reliability questions Roadmap: SRE & incident response

More on Prometheus SLIs & Recording Rules