- Ensure this application is running (
make serve-typescript
ormake serve-python
) and has been installed on your organization in Sentry. - Create a new alert (Alerts > Create Alert)
- To setup a test issue alert, select 'Issues' then 'Set Conditions'
- Give the rule a name, and a the 'A new issue is created' trigger
- In the action dropdown, select your integration
- To setup a test metric alert, select 'Number of Errors' then 'Set Conditions'
- Set the critical, warning and resolved thresholds to
3
,2
and1
respectively - Click 'Add Action' and select the trigger you'd like to test (e.g. 'Critical Status')
- Click the default action (e.g. 'Email') and select your integration
- Remember to give your rule a name
- Set the critical, warning and resolved thresholds to
- Click the 'Settings' button and fill in the form appropriately
- The form fields in this modal come from the
integration-schema.json
file, specifically the blob with"type": "alert-rule-settings"
- The form fields in this modal come from the
- Save the changes to your integration's setting form.
- Save the alert rule.
For testing, refer to Alert Webhooks docs.
For code insights, refer to Alert Webhooks docs.
It should be noted that the only difference in alert webhook consumption when Alert Rule Actions are enabled is the precense of extra, custom data on each payload. See the public docs for more info.