Page MenuHomePhabricator

prometheus-k8s envoy rules slow evaluation
Closed, ResolvedPublic

Description

I noticed PrometheusRuleEvaluationSlow alert for prometheus-k8s envoy rule group.

Sure enough, this group evaluation time exceeds one minute: https://grafana.wikimedia.org/goto/X98HYLpNR?orgId=1

2025-03-05-111834_3776x1772_scrot.png (1×3 px, 276 KB)

Event Timeline

Change #1124743 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] prometheus: split envoy rules into separate groups

https://gerrit.wikimedia.org/r/1124743

Change #1124743 merged by Filippo Giunchedi:

[operations/puppet@production] prometheus: split envoy rules into separate groups

https://gerrit.wikimedia.org/r/1124743

fgiunchedi claimed this task.

After splitting in four groups, three of those take about 20s each (the remaining takes 1ms)

2025-03-06-155002_1886x1743_scrot.png (1×1 px, 260 KB)

Not a "nail in the coffin" solution, good enough for now though