AlertManager - Response from Webhook Receiver ?

38 views
Skip to first unread message

Steve

unread,
Mar 12, 2020, 5:14:39 PM3/12/20
to Prometheus Users
Hi

When alertManager is configured to send webhook alerts, does it expect to receive a response back from webhook receiver like 204 No Content?

I think by default the webhook receiver should respond with 204 No Content but I am not 100% sure.


If not, how does the alertManager knows the webhook receiver has actually received the alert?

Does it retransmit the alert until it receives a response back from receiver?


Thank you!


-Steve

Simon Pasquier

unread,
Mar 13, 2020, 11:47:37 AM3/13/20
to Steve, Prometheus Users
Alertmanager considers responses with 2xx status code as successful.
It will retry on 5xx status codes.
> --
> You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/13e16d9a-425e-4efe-a031-b888fa7ce5f8%40googlegroups.com.

Simon Pasquier

unread,
Mar 16, 2020, 4:50:39 AM3/16/20
to Steve, Prometheus Users
On Fri, Mar 13, 2020 at 5:01 PM Steve <steve...@gmail.com> wrote:
>
> Merci Simon
>
> What happens if it does not receive any responses?
> Retry indefinitively ?

The request will time out and it will retry.

>
> -Steve
Reply all
Reply to author
Forward
0 new messages