我已将警报管理器规则配置为在 Prometheus 指标从 0 变为 1 时触发警报 它在指标从 0 变为 1 时触发 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: []