mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-17 02:57:01 +00:00
* notify: improve logs on notification errors Alertmanager can experience occasional failures when sending notifications to an external service. If the operation succeeds after some retry, the 'alertmanager_notifications_failed_total' metric increases but nothing is logged (unless running with log.level=debug). Hence an operator might receive an alert about notification failures but wouldn't know which integration was failing. With this change, notification failures are logged at the warning level. To avoid log flooding, similar failures on retries aren't logged. Additional information on the failing integration has also been added. Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Log notify success at info level if it's a retry Signed-off-by: Simon Pasquier <spasquie@redhat.com> |
||
---|---|---|
.. | ||
hipchat | ||
opsgenie | ||
pagerduty | ||
pushover | ||
slack | ||
test | ||
victorops | ||
webhook | ||
notify_test.go | ||
notify.go | ||
util_test.go | ||
util.go |