alertmanager/types
Simon Pasquier b33509603e types: fix alert merging
Alert merging assumed that EndsAt would always be empty for firing
alerts. This is no longer true starting with Prometheus v2.4.0: EndsAt
is set to a multiple of the evaluation interval or resend interval
(whichever is the largest). This change updates the merging logic to
support both cases.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-11-09 15:07:50 +01:00
..
match.go Sync ui-rewrite with master (#779) 2017-05-10 11:49:02 +02:00
match_test.go *: add missing license headers 2018-05-14 17:37:13 +02:00
types.go types: fix alert merging 2018-11-09 15:07:50 +01:00
types_test.go types: fix alert merging 2018-11-09 15:07:50 +01:00