PagerDuty
PagerDuty
Events API v2, with automatic dedup and resolve.
Create a Logstreem service integration in PagerDuty and paste the integration key. Alerts trigger; resolves resolve — no stuck incidents.
cURL
curl -X POST https://api.logstreem.com/v1/notifiers \
-H "Authorization: Bearer $LOGSTREEM_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Platform on-call",
"type": "pagerduty",
"config": {
"integration_key": "R0234ABCDEF",
"severity": "error"
}
}'| Config | Note |
|---|---|
integration_key | From an Events API v2 integration on the service |
severity | critical, error, warning or info. Default error |
auto_resolve | Default true — sends a resolve event when the monitor recovers |
The dedup key is the monitor id, so a flapping monitor updates one incident instead of opening thirty.