mirror of
https://github.com/prometheus/alertmanager
synced 2025-03-11 06:07:46 +00:00
OpsGenie returns HTTP 400 to alert close requests if the alert has already been closed. There is no need to try again if this happens. When an error is returned from a notifiation service, an error is logged, and the logged error is more meaningful if it includes a hint about which notification service that caused a problem. Defer the resp.body.Close() call in the OpsGenie Notify() implementation. |
||
---|---|---|
.. | ||
impl.go | ||
notify_test.go | ||
notify.go |