Rule group evaluation is slower than its interval; `prometheus_rule_group_iterations_missed_total` is increasing
AdvancedTroubleshootingPromQL and recording rules
Answer
Likely causes → Rules within a group run sequentially; a few heavy queries exceed the 1m interval, so iterations are skipped.
Diagnose →
prometheus_rule_group_last_duration_seconds > prometheus_rule_group_interval_seconds
topk(10, prometheus_rule_evaluation_duration_seconds)
Fix → Split heavy rules into separate groups (groups evaluate concurrently), layer recording rules (5m base → 1h derived), increase group interval for slow-moving rules.
Prevent → Alert on missed iterations.
More on PromQL and recording rules
A PromQL query in the UI returns `Empty query result` for a metric you can see on `/metrics`Beginner`rate(http_requests_total[1m])` returns nothing but `http_requests_total` has dataBeginner`rate()` applied to a gauge shows huge spikesBeginnerBinary operation fails: `many-to-many matching not allowed: matching labels must be unique on one side`Advanced`found duplicate series for the match group {pod="api-1"} on the right hand-side of the operation`IntermediateError ratio query returns no data during quiet hoursIntermediate