Features
Alert routing
Send Sentry issue alerts to Opsgenie teams with P1–P5 priority levels.
Team targeting
Route different alert rules to different Opsgenie teams based on project or issue type.
Installation
Get an Opsgenie API key
In Opsgenie, go to Settings > API key management and create a new API key with Create and Update access. Copy the key.
Navigate to integrations in Sentry
In Sentry, go to Settings > Integrations and find Opsgenie. Click Install.
Add your Opsgenie account
Enter your Opsgenie API key and a name for this account (for example, your organization name). Click Save.
Configuring alert rules
Once installed, you can add Opsgenie as an action in any Sentry alert rule:Open or create an alert rule
Go to Alerts in your project and click an existing rule or create a new one.
Add the Opsgenie action
Under Then perform these actions, select Send a notification to Opsgenie account.
Configure the action
Choose:
- Account: the Opsgenie account you connected
- Team: the Opsgenie team to notify
- Priority: P1 (critical) through P5 (informational); defaults to P3
Alert priority levels
Opsgenie alerts created by Sentry use the priority you configure in the alert rule action:| Priority | Severity |
|---|---|
| P1 | Critical |
| P2 | High |
| P3 | Moderate (default) |
| P4 | Low |
| P5 | Informational |
The default priority is P3 when no priority is explicitly selected in the alert rule action.
Troubleshooting
Alerts not appearing in Opsgenie- Verify the API key has Create and Update permissions.
- Confirm the team integration key is correctly entered in Sentry’s Opsgenie account settings.
- Check that the Sentry alert rule has triggered (visible in the alert rule’s Alert History).
- Each Opsgenie team requires its own integration key. Make sure you’ve added a team key for every team you want to target and that you’ve selected the correct team in the alert rule action.