alertmanager/nflog
Fabian Reinartz 309c6af4b2
nflog: use alert set instead of hash for deduplication
Building a hash over an entire set of alerts causes problems, because
the hash differs, on any change, whereas we only want to send
notifications if the alert and it's state have changed. Therefore this
introduces a list of alerts that are active and a list of alerts that
are resolved. If the currently active alerts of a group are a subset of
the ones that have been notified about before then they are
deduplicated. The resolved notifications work the same way, with a
separate list of resolved notifications that have already been sent.
2017-04-13 15:13:47 +02:00
..
nflogpb nflog: use alert set instead of hash for deduplication 2017-04-13 15:13:47 +02:00
nflog_test.go nflog: add metrics (#518) 2016-11-21 15:22:35 +01:00
nflog.go nflog: use alert set instead of hash for deduplication 2017-04-13 15:13:47 +02:00