alertmanager/dispatch
Brian Brazil 6787dd1bde
Make a copy of firing alerts with EndsAt=0 when flushing. (#1686)
If the original EndsAt is left in place, then as time moves forwards
past the EndsAt then firing alerts will be rendered and treated as
resolved alerts which can cause confusion and races. This is most
likely to happen on retries for a notification.

Mitigate race and fix data races in TestAggrGroup.

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2019-01-14 15:24:36 +01:00
..
dispatch.go Make a copy of firing alerts with EndsAt=0 when flushing. (#1686) 2019-01-14 15:24:36 +01:00
dispatch_test.go Make a copy of firing alerts with EndsAt=0 when flushing. (#1686) 2019-01-14 15:24:36 +01:00
route.go dispatch: Add group_by_all support (#1588) 2018-11-29 12:31:14 +01:00
route_test.go dispatch: Add group_by_all support (#1588) 2018-11-29 12:31:14 +01:00