alertmanager/types
Simon Pasquier 008b4a93da
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 16:48:46 +00: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 16:48:46 +00:00
types_test.go types: fix alert merging 2018-11-09 16:48:46 +00:00