mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
8bd6ae1b20
When all alerts were dropped after alert relabeling, the `sendAll()` function didn't release the lock properly which created a deadlock with the Alertmanager target discovery. In addition, the commit detects early when there are no Alertmanager endpoint to notify to avoid unnecessary work. Signed-off-by: Simon Pasquier <spasquie@redhat.com> |
||
---|---|---|
.. | ||
notifier_test.go | ||
notifier.go |