`prometheus_rule_group_iterations_missed_total` keeps increasing for the SLO rule group.
AdvancedTroubleshootingPrometheus SLIs & Recording Rules
Answer
Likely causes → The group takes longer to evaluate than its interval, usually because long-window rules ([1d], [3d], [30d]) over raw metrics run every 30 seconds.
Diagnose →
prometheus_rule_group_last_duration_seconds{rule_group=~".*slo.*"}
prometheus_rule_group_interval_seconds{rule_group=~".*slo.*"}
Fix → Split rules into groups by window: short windows (5m to 1h) at 30s, long windows (6h to 30d) in a separate group with interval: 5m. Build long windows from pre-recorded short-window sums where possible.
Prevent → Alert on missed iterations and on group duration above 50% of interval.
More on Prometheus SLIs & Recording Rules
You applied a `PrometheusRule` for your SLO, but `slo:sli_error:ratio_rate5m` returns nothing in Prometheus.Beginner`promtool check rules` fails with `could not parse expression: 1:72: parse error: unexpected right parenthesis ')'`.BeginnerThe availability SLI panel shows `NaN` every night between 02:00 and 05:00.BeginnerYour per-route SLI query fails with `found duplicate series for the match group {route="/api/checkout"} on the right hand-side of the operation`.IntermediatePrometheus logs `vector contains metrics with the same labelset after applying rule labels` for your SLI recording rule.AdvancedYour latency SLI using `le="0.3"` returns an empty result, but the histogram exists.Intermediate