mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
c10186eeea
* BUGFIX: Mark the rule's restoration process as completed always In https://github.com/prometheus/prometheus/pull/13980 I introduced a change to reduce the number of queries executed when we restore alert statuses. With this, the querying semantics changed as we now need to go through all series before we enter the alert restoration loop and I missed the fact that exiting early when there are no rules to restore would lead to an incomplete restoration. An alert being restored is used as a proxy for "we're now ready to write `ALERTS/ALERTS_FOR_SERIES` metrics" so as a result we weren't writing the series if we didn't restore anything the first time around. --------- Signed-off-by: gotjosh <josue.abreu@gmail.com> |
||
---|---|---|
.. | ||
fixtures | ||
alerting_test.go | ||
alerting.go | ||
group.go | ||
manager_test.go | ||
manager.go | ||
origin_test.go | ||
origin.go | ||
recording_test.go | ||
recording.go | ||
rule.go |