Sentry
Connect your Sentry issues to PagerTree.
What is Sentry?
Sentry is a developer-first error tracking and performance monitoring platform that helps developers see what actually matters, solve quicker, and learn continuously about their applications.
How It Works
Sentry triggers user-defined alerts by monitoring website performance, errors, and issues.
When an issue or error is created in Sentry, an alert is created in PagerTree automatically.
When an issue is resolved in Sentry, the alert is resolved in PagerTree.
Integration Walkthrough
In this integration tutorial, we will show you how to send issues from Sentry into PagerTree. The estimated time for this integration is 1 minute. We assume that you already have a PagerTree and Sentry account setup.
In PagerTree
Ensure you are logged in to the PagerTree app in the account to which you wish to add the Sentry integration.
In Sentry
Navigate to Settings -> Integrations.
Search "PagerTree".
Click on "PagerTree".
Settings -> Integrations -> PagerTree Click the "Accept & Install" button. (This will redirect you to the PagerTree New Integration page.)
Click "Accept & Install" On the PagerTree New Integration page, provide at minimum, a name and destinations for the Sentry issues that will be sent to this integration. Click "Create".
Provide name and destinations. Click Create. You will be redirected back to Sentry and can confirm that the integration was installed correctly.
Confirm that the PagerTree Sentry app is installed correctly.
Testing
If you would like to test that an alert will be created in PagerTree when a new issue comes into Sentry you can use our docker image to generate a fake issue.
You will need:
Docker running on your machine.
Your .
To Test:
In your terminal run the following:
docker run -e SENTRY_DSN="<YOUR_SENTRY_DSN>" pagertree/sentry-error-faker:latest
This will generate an issue in Sentry similar to "CVE-2023-12345".
Webhooks (Legacy)
PagerTree also supports Sentry's legacy webhooks.
In PagerTree
Create the integration by clicking the Sentry logo.
In Sentry
Create Webhook Integration
Settings -> Integrations -> Webhooks.
Settings -> Integrations -> Webhooks On the Webhook Integration Page click “Add to Project”.
Click "Add to Project" button. Paste the PagerTree Endpoint URL you copied in the Callback URLs field. Then click, Save Changes.
Paste the PagerTree Endpoint URL you copied into the Callback URLs field. Click Enable Plugin.
Click enable plugin.
Add Alert Conditions
Navigate to Alerts, and click the "Create Alert" button.
Navigate to Alerts and click "Create Alert" button. Select Issues, and click "Set Conditions " button.
Select Issues and click "Set Conditions" button. On the New Alert Rule Page, select the following
When any of the following happens
A new issue is created
The issue changes state from resolved to unresolved
Then perform these actions
Send a notification via WebHooks
Configure the new Alert rule to trigger on new issues and old issues going from resolved -> unresolved.
Provide an Alert Name (ex: Report Issues to PagerTree)
Click Save Rule
Click "Save Rule" button.
You have successfully completed the Sentry Integration.
Last updated
Was this helpful?