trigger opens a Squasher incident, acknowledge acknowledges it, and resolve resolves it. To
send Squasher incidents to PagerDuty, see the PagerDuty destination.
What you need
- A tool or script that sends Events API v2 events and lets you change the URL.
- The Squasher CLI, signed in with write access to the project. See Alert sources.
Connect a sender
1
Create the connector
setup.endpoint and setup.routing_key from the output. The routing key is the
connector secret, not a key from PagerDuty.2
Send events to Squasher
Set the sender’s events URL to
setup.endpoint, and its routing key to setup.routing_key.
To test with curl, put the two values in SQUASHER_ALERT_ENDPOINT and
SQUASHER_ALERT_SECRET first:3
Resolve the test incident
Send the same
dedup_key with "event_action": "resolve", a full payload, and a later
timestamp. Check that the same incident resolves.Authorization: Bearer header instead of routing_key.
How Squasher reads an event
Limits
- Squasher does not create a
dedup_keyfor you. Atriggerwithout one gets422. - Send
payload.timestampon every event, also onacknowledgeandresolve. Without it, Squasher builds the event key from the dedup key, the action, and the content. A second event with the same values within 90 days is then treated as a repeat and ignored. - When you send a
payloadwithacknowledgeorresolve, it must havesummary,source, andseverity, as ontrigger. - Squasher does not support the PagerDuty change events API or the older Events API v1.
Next steps
Alert sources
Limits, response codes, and secret rotation.
Route incidents
Send these incidents to Slack, email, Telegram, or a webhook.