alertmanager.yml:
global:
resolve_timeout: 5m
templates:
- /opt/alertmanager-0.21.0.linux-amd64/wechat.tmpl
route:
group_by: ['alertname']
group_wait: 10s
group_interval: 10s
repeat_interval: 2m
receiver: 'wechat'
receivers:
inhibit_rules:
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['alertname', 'dev', 'instance']
What a flapping alert mean?
Thanks,
Lei
在2020年8月11日星期二 UTC+8 上午4:40:49<Christian Hoffmann> 写道:
> Hi,
>
> On 8/10/20 8:51 AM, [email protected] wrote:
> > A pushed the alert message wo wechat:
> >
> > [Warning]:
> > 2020-08-10 03:03:53
> > description = zhaoqing : 1081.122236
> >
> > I want to know how the time i marked as red is generated and what it
> > represents?
> > It is about 40 mins earlier than the time when the msg is received.
>
> As far as I know, this should come from the Prometheus side and would be
> part of the HTTP request to alertmanager.
>
> There may be some delays between a firing alert in Prometheus and a sent
> notification in Alertmanager (e.g. group_wait). Can you show your config?
>
> A difference of 40 minutes sounds like a lot. Not sure, but another wild
> guess: it could also be related to a flapping alert?
>
> Kind regards,
> Christian
>
--
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/189b2c52-b59f-4b38-8319-b2a7a604420en%40googlegroups.com.