mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 06:17:27 -08:00
e7219e3d36
When a rule group changes or prometheus is restarted we need to ensure we restore the active alerts that were firing for a corresponding rule, for that Prometheus uses the `ALERTS_FOR_STATE` series to query the previous state and restore it. If a given rule has high cardinality (think 100s of 1000s for series) this proccess can take a bit of time - this is the first of a series of PRs to improve this problem and I'd like to start with exposing the time it takes to restore a rule group as a gauge. Signed-off-by: gotjosh <josue.abreu@gmail.com> |
||
---|---|---|
.. | ||
fixtures | ||
alerting.go | ||
alerting_test.go | ||
group.go | ||
manager.go | ||
manager_test.go | ||
origin.go | ||
origin_test.go | ||
recording.go | ||
recording_test.go | ||
rule.go |