alertmanager/notify
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
..
impl.go notify: notify resolved alerts properly (#1408) 2018-06-08 11:37:38 +02:00
impl_test.go *: add missing license headers 2018-05-14 17:37:13 +02:00
notify.go notify: notify resolved alerts properly (#1408) 2018-06-08 11:37:38 +02:00
notify_test.go notify: notify resolved alerts properly (#1408) 2018-06-08 11:37:38 +02:00