prometheus/rules
Chris Marchbanks a7b449320d
Fix updating rule manager never finishing (#7138)
Rather than sending a value to the done channel on a group to indicate
whether or not to add stale markers to a closing rule group use an
explicit boolean. This allows more functions than just run() to read
from the done channel and fixes an issue where Eval() could consume the
channel during an update, causing run() to never return.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2020-04-18 14:32:18 +02:00
..
fixtures rules: Make deleted rule series as stale after a reload (#6745) 2020-02-12 16:22:18 +01:00
alerting_test.go Comment fixes 2020-02-17 16:09:23 +01:00
alerting.go Fix build errors in rest of prometheus 2020-02-17 16:09:23 +01:00
manager_test.go storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response. 2020-03-20 21:14:43 +01:00
manager.go Fix updating rule manager never finishing (#7138) 2020-04-18 14:32:18 +02:00
recording_test.go Comment fixes 2020-02-17 16:09:23 +01:00
recording.go Fix build errors in rest of prometheus 2020-02-17 16:09:23 +01:00