这个问题其实并不是repeat_interval真的没生效,而是告警没有重复,人家发的是新的告警,没有命中repeat_interval规则。
举个栗子
- alert: HighCpuLoad expr: 100-(avg(irate(node_cpu_seconds_total{mode="idle"}[5m])) by(instance)* 100) > 70 for: 1m labels: severity: warning annotations: summary: "Host high CPU load (instance {{ $labels.instance }})" description: "CPU load is > 80% VALUE = {{ $value }} LABELS = {{ $labels }}"
标签:load,alertmanager,labels,interval,instance,repeat,CPU From: https://www.cnblogs.com/ggborn-001/p/18160606