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