Sending Events to Sentry
Send notifications from your Paragon project into Sentry.
Last updated
Send notifications from your Paragon project into Sentry.
Last updated
You can configure a Webhook Destination with a preconfigured payload to send messages into Sentry when events, like workflow failures, occur in your Paragon project.
Webhook Destinations are available for Paragon customers on Pro and Enterprise plans. To learn more, contact your Customer Success Manager or sales@useparagon.com.
To send notifications to Sentry, you will need to make note of your Sentry Public Key and Sentry Ingest URL.
From your Sentry Project, click the Settings gear icon on the top right.
Under the SDK Setup section, click Client Keys (DSN).
Copy your DSN. You will need to extract your Sentry Public Key and Sentry Ingest URL from this value:
Once you identify the Sentry Base URL, perform the following steps to get your Sentry Ingest URL:
Prefix the base URL with "https://"
After ".sentry.io/" and before the Project ID path, add "api/" to the URL. For example, with the above DSN, this would become: https://o535635.ingest.sentry.io/api/4504082601017344
At the end of the URL, add "/store/". The final Sentry Ingest URL should look like: https://o535635.ingest.sentry.io/api/4504082601017344/store/
Save this value to use as your Sentry Ingest URL.
To create an Event Destination with Sentry, you will need to have followed the above steps to obtain a Sentry Public Key and Sentry Ingest URL.
From the Settings > Monitoring page, click the Add Destination button at the top right.
In the Type field, select Webhook (HTTP Request).
Click "Select Template" next to Request Payload and select Sentry.
In the URL field, paste your Sentry Ingest URL.
In the Request Headers table, replace <Sentry Key>
with your Sentry Public Key.
Click Test Webhook to verify that an error can be sent successfully to your Sentry project.
Click Save to create and enable the Event Destination.