alertmanager/nflog/nflogpb
Simon Pasquier b7d891cf39 notify: notify resolved alerts properly (#1408)
* notify: notify resolved alerts properly

The PR #1205 while fixing an existing issue introduced another bug when
the send_resolved flag of the integration is set to true.

With send_resolved set to false, the semantics remain the same:
AlertManager generates a notification when new firing alerts are added
to the alert group. The notification only carries firing alerts.

With send_resolved set to true, AlertManager generates a notification
when new firing or resolved alerts are added to the alert group. The
notification carries both the firing and resolved notifications.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Fix comments

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-06-08 11:37:38 +02:00
..
nflog.pb.go *: move to memberlist for clustering 2018-02-08 12:18:44 +01:00
nflog.proto *: switch group key to matcher serialization 2017-04-21 12:06:23 +02:00
set.go notify: notify resolved alerts properly (#1408) 2018-06-08 11:37:38 +02:00
set_test.go notify: notify resolved alerts properly (#1408) 2018-06-08 11:37:38 +02:00