我有一个 prometheus >> alertmanager >> pagerduty 设置,我将我的 prod 警报和黑盒端点警报路由到 PagerDuty。
在 PD 中,警报不会自动解决。
resolve_timeout: 5m
route:
group_by: ['instance','severity','alertname','job','Env']
group_wait: 5s
group_interval: 5s
repeat_interval: 15m
receiver: 'default-receiver'
routes:
- match:
Env: 'prod'
severity: critical
receiver: 'pd_prod_alerts'
- match:
alert_name: Endpoint_Check_Failure
receiver: 'pd_prod_alerts'
receivers:
- name: 'pd_prod_alerts'
pagerduty_configs:
- service_key: secretkey
send_resolved: true
这是我的警报管理器配置。
有人可以帮忙吗?