【发布时间】:2021-04-27 11:29:26
【问题描述】:
我已将警报管理器规则配置为在 Prometheus 指标从 0 变为 1 时触发警报 它会在指标从 0 更改为 1 时触发 webhook 警报 但是警报管理器不断触发 webhook,为相同的指标更改重复警报。
是否有防止警报管理器进一步发出警报的配置?
下面是我的警报管理器配置
global:
resolve_timeout: 15m
http_config: {}
smtp_hello: localhost
smtp_require_tls: true
route:
receiver: web.hook
group_by:
- ccu_code
receivers:
- name: web.hook
webhook_configs:
- send_resolved: true
http_config: {}
url: http://service:8080/alarms
max_alerts: 0
templates: []
【问题讨论】:
标签: prometheus prometheus-alertmanager