Alert Silence

12 views
Skip to first unread message

prabin jain

unread,
Jul 31, 2020, 3:41:33 AM7/31/20
to Prometheus Developers
How to configure alert manager to make it silence after alert has been send 

Christian Hoffmann

unread,
Aug 1, 2020, 4:08:26 AM8/1/20
to prabin jain, prometheus...@googlegroups.com
Hi,

On 7/31/20 9:41 AM, prabin jain wrote:
> How to configure alert manager to make it silence after alert has been send 

You can set send_resolved: false in the receiver configurations. You can
also set a high repeat_interval to avoid too frequent repetitions. Keep
in mind that this is capped by --data.retention (default: 120h).

I don't know about any options to reliably, permanently avoid sending an
alert notification multiple times. I would also assume that this is
rather uncommon.

If you really require this, you could implement a webhook receiver which
keeps track and discards repeated notifications completely. However, you
might then run into the problem of catching new alerts.


Kind regards,
Christian
Reply all
Reply to author
Forward
0 new messages