web-app/src/assets/doc/alert-integration/webhook.en-US.md
HertzBeat provides an external API interface that allows external systems to push alert data to the HertzBeat alert platform via Webhook.
POST /api/alerts/report
Content-Type: application/jsonAuthorization: Bearer {token}{
"labels": {
"alertname": "HighCPUUsage",
"priority": "critical",
"instance": "343483943"
},
"annotations": {
"summary": "High CPU usage detected"
},
"content": "The CPU usage on instance 343483943 is critically high.",
"status": "firing",
"triggerTimes": 3,
"startAt": 1736580031832,
"activeAt": 1736580039832,
"endAt": null
}
Field Description
labels: Alert labels
alertname: Name of the alert rulepriority: Alert priority (warning, critical)instance: Alert instanceannotations: Alert annotation information
summary: Alert summarydescription: Detailed description of the alertcontent: Alert contentstatus: Alert status (firing, resolved)triggerTimes: Number of times the alert was triggeredstartAt: Start time of the alertactiveAt: Time when the alert became activeendAt: End time of the alert (if resolved)/api/alerts/report interface via webhook to push alert data to the HertzBeat alert platform.graph LR
A[External System Alert] --> B[Webhook]
B --> C[HertzBeat Alert Platform]
C --> D[Group Convergence]
D --> E[Alert Suppression]
E --> F[Alert Silence]
F --> G[Alert Center]
F --> H[Message Distribution]