web-app/src/assets/doc/alert-integration/alertmanager.zh-CN.md
将 Prometheus AlertManager 的告警发送到 HertzBeat 告警平台。
receivers:
- name: 'webhook'
webhook_configs:
- url: 'http://{hertzbeat_host}:1157/api/alerts/report/alertmanager'
send_resolved: true
http_config:
authorization:
type: 'Bearer'
credentials: '{token}'
http://{hertzbeat_host}:1157/api/alerts/report/alertmanager 为 HertzBeat 提供的 webhook 接口地址。send_resolved: true 表示发送告警恢复信息。credentials 内的 {token} 为 HertzBeat 提供的 token。graph LR
A[Prometheus Alertmanager] --> B[Webhook]
B --> C[HertzBeat告警平台]
C --> D[分组收敛]
D --> E[告警抑制]
E --> F[告警静默]
F --> G[告警中心]
F --> H[消息分发]