Hi Matthias,

Thanks, it works now,  group_wait and group_interval should be less than 
smallest duration of alert fired by prometheus, otherwise, it can't be 
routed to receivers. 

On Friday, October 30, 2020 at 8:41:50 PM UTC+8 Matthias Rieber wrote:

> On Fri, 30 Oct 2020, Maple Wang wrote:
>
> [..]
>
> > the firing time of this alert is 15s, which match the prometheus
> > statistics, but receivers can't receive either firing alert or resolved
> > alert. I tried webhook/mail/wechat, all of them can't get this alert, so 
> I
> > think this is because alertmanager didn't send this short alert.
> >
> > Anyone know why this happened? alertmanager version is 0.20.0.
>
> Check the group_wait[1] setting in your alertmanager configuration:
>
> > # How long to initially wait to send a notification for a group
> > # of alerts. Allows to wait for an inhibiting alert to arrive or collect
> > # more initial alerts for the same group. (Usually ~0s to few minutes.)
> > [ group_wait: <duration> | default = 30s ]
>
> best regards,
> Matthias
>
> [1] https://prometheus.io/docs/alerting/latest/configuration/#route
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/3592708f-39f9-4eb0-b787-ffecda8b6813n%40googlegroups.com.

Reply via email to