Sentry integration for Grafana OnCall
Note
This integration is available exclusively on Grafana Cloud.
The Sentry integration for Grafana OnCall handles ticket events sent from Sentry webhooks. The integration provides grouping, auto-acknowledge and auto-resolve logic via customizable alert templates.
Configuring Grafana OnCall to Receive Alerts from Sentry
- In the Integrations tab, click + New integration.
- Select Sentry from the list of available integrations.
- Enter a name and description for the integration, click Create
- A new page will open with the integration details. Copy the OnCall Integration URL from HTTP Endpoint section.
Configuring Sentry to Send Alerts to Grafana OnCall
To send a webhook alert from Sentry, you can follow these steps:
Log in to your Sentry account.
Navigate to your project’s settings.
Click on “Alerts” in the sidebar menu.
Click on “New Alert Rule” to create a new alert rule.
Configure the conditions for the alert rule based on your requirements. For example, you can set conditions based on issue level, event frequency, or specific tags.
In the “Actions” section, select “Webhook” as the action type.
Provide the necessary details for the webhook:
- URL: OnCall Integration URL
- Method: POST
- Payload: Define the payload structure and content that you want to send to the webhook endpoint. You can use Sentry’s dynamic variables to include relevant information in the payload.
Save the alert rule.
Once the alert conditions are met, Sentry will trigger the webhook action and send a request to the Grafana OnCall.