Sentry

Connect your Sentry issues to PagerTree.

Company
Estimated Time
Vendor Docs
Open Source

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

  1. Ensure you are logged in to the PagerTree app in the account to which you wish to add the Sentry integration.

In Sentry

  1. Navigate to Settings -> Integrations.

  2. Search "PagerTree".

  3. Click on "PagerTree".

    Sentry Settings
    Settings -> Integrations -> PagerTree
  4. Click the "Accept & Install" button. (This will redirect you to the PagerTree New Integration page.)

    Pagertree install
    Click "Accept & Install"
  5. 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".

    Sentry PagerTree Integration
    Provide name and destinations. Click Create.
  6. 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.
    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:

  1. Docker running on your machine.

  2. 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

  1. Create the integration by clicking the Sentry logo.

In Sentry

Create Webhook Integration

  1. Settings -> Integrations -> Webhooks.

    Sentry Webhooks
    Settings -> Integrations -> Webhooks
  2. On the Webhook Integration Page click “Add to Project”.

    Sentry Add Project
    Click "Add to Project" button.
  3. Paste the PagerTree Endpoint URL you copied in the Callback URLs field. Then click, Save Changes.

    Sentry save changes
    Paste the PagerTree Endpoint URL you copied into the Callback URLs field.
  4. Click Enable Plugin.

    Sentry Enable Plugin
    Click enable plugin.

Add Alert Conditions

  1. Navigate to Alerts, and click the "Create Alert" button.

    Sentry Create Alert
    Navigate to Alerts and click "Create Alert" button.
  2. Select Issues, and click "Set Conditions " button.

    Sentry Issues
    Select Issues and click "Set Conditions" button.
  3. On the New Alert Rule Page, select the following

    1. When any of the following happens

      1. A new issue is created

      2. The issue changes state from resolved to unresolved

    2. Then perform these actions

      1. Send a notification via WebHooks

        Sentry Webhooks
        Configure the new Alert rule to trigger on new issues and old issues going from resolved -> unresolved.
    3. Provide an Alert Name (ex: Report Issues to PagerTree)

  4. Click Save Rule

    Sentry Save Rule
    Click "Save Rule" button.


You have successfully completed the Sentry Integration.


Last updated

Was this helpful?