Commit Graph
2 Commits
Author SHA1 Message Date
evangelostsak e300d3a0dc refactor(prometheus): filter alert rules by activation, not per fragment
The lookup filtered on group_names, so each fragment had to re-check whether
its app was actually scraped. Deployed and scraped are different conditions:
metrics can be off on a deployed role, and a rule on a series nothing scrapes
alerts on absent() forever.

Intersecting with native_metrics_apps moves that check to one place, and every
fragment from here on is plain rules with no guard.
2026-09-21 17:45:02 +02:00
evangelostsak 85abcdf627 feat(prometheus): discover role-local alert rules via the alert_rule_roles lookup 2026-09-11 18:35:03 +02:00