Alert Routing With Integrations

By customizing alert rules and integrating the tools you already use, you can receive alerts when, where (and if) you want them, without disruption. Alert notifications can be routed to Slack, multiple supported integrations, and custom integrations through webhooks. When creating alert rules, you can use these integrations to configure who to notify and how.

Integrations

Sentry’s integrations provide you with the option to route your alerts through commonly-used applications like Slack, PagerDuty, and Microsoft Teams. You can find these integrations in Settings > Integrations and install them for your entire organization.

Slack Alerts

A Sentry organization owner, manager, or admin can install and configure the Slack integration in their Sentry account. Once the integration is configured, the following action will be available in issue alert rules: Send a notification to the {workspace} Slack workspace to {channel} and show tags {tags} in notification. In metric alerts, your Slack teams will be available in one of the action dropdown lists.

This alert action allows you to route alert notifications to selected channels (using the # prefix), or to a specific user in a direct message (using the @ prefix) in your Slack workspaces.

Slack notification

Then, once you receive a Slack notification, you can use the "Resolve", "Ignore", or "Assign" buttons to update the issue in sentry.io directly from Slack.

PagerDuty Alerts

A Sentry organization owner, manager, or admin can install and configure the PagerDuty integration in their Sentry account. Once the integration is configured, the following action will be available in issue alert rules: Send a notification to PagerDuty account {account} and service {service}. In metric alerts, your PagerDuty accounts will be available in one of the action dropdown lists.

Microsoft Teams Alerts

A Sentry organization owner, manager, or admin can install and configure the Microsoft Teams in their Sentry account. Once the integration is configured, the following action will be available in issue alert rules: Send a notification to {team} Team to {channel(s)}. In metric alerts, your Microsoft teams will be made available in one of the action dropdown lists.

Build Your Own Integration

If you would like to route alert notifications to other solutions that Sentry doesn't have an out-of-the-box integration with, you can use our integration platform. The integration platform provides a way for external services to interact with the Sentry SaaS service using the REST API and webhooks.

Sending alerts to webhooks can also be helpful if you want to do things like aggregate alerts from your different monitoring systems or write custom rules to route alerts more intelligently.

When you create a new integration and enable the "Alert Rule Action" option on it, your integration will show up as a service when you select the Send a notification via an integration action during issue alert rule creation. In metric alerts, your integrations are available in one of the action dropdown lists.

Legacy Integrations

Legacy integrations (also known as plugins) are extensions of Sentry packaged as Python libraries and configured at the project level. To send an alert to a legacy integration, select the Send a notification via an integration or Send a notification to all legacy integrations action in an issue alert. You cannot route metric alerts to legacy integrations.

Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) to suggesting an update ("yeah, this would be better").