web-app/src/assets/doc/alert-integration/alertmanager.zh-TW.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[消息分發]