Integrate Sentry events
On this page
Integrate Sentry events
Integrate Sentry with Event Management by adding a standard webhook in the Sentry platform.
Before you begin
Ensure that the Event Management Connectors (sn_em_connector) plugin is installed on the ServiceNow AI Platform instance.
Discovery for Sentry services are not supported. You must create a CI manually in the [cmdb_ci_service_auto] table to enable binding by completing the following steps:
-
From the navigation bar, go to Configuration/Application Service.
-
Provide the project name you are monitoring on the Sentry application.
-
Set the operational status to Operational.
-
Click Next then Done.
Role required: evt_mgmt_admin
About this task
Configure Event Management for the collection of events from Sentry by authenticating Sentry as a data source. In your Sentry platform, use a standard webhook to set your ServiceNow AI Platform as the rest endpoint.
Procedure
-
In the Sentry console, create an internal integration.
-
Navigate to Settings > Developer Settings.
-
Click New Internal Integration.
-
In the Internal Integration Details section, on the Sentry Integration Details page, fill in the fields.
-
<table id=“table_bhz_3zr_2tb”><thead><tr><th>
Fields
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Name
</td><td>
Name of your integration.
</td></tr><tr><td>
Webhook URL
</td><td>
The default format of the URL to push events from Sentry to the ServiceNow AI Platform instance. For example, https://<username>:<password>@<instance-name>.service-now.com/api/sn_em_connector/em/inbound_event?source=sentry.
</td></tr><tr><td>
Alert Rule Action
</td><td>
Option to enable the integration.Note: When enabled, the integration becomes available in the Issue Alert and Metric Alert rules in Sentry. The alerts will be sent to the ServiceNow instance.
</td></tr><tr><td>
Schema
</td><td>
Schema for your UI components. This field should be left empty.
</td></tr><tr><td>
Overview
</td><td>
Description for the integration.
</td></tr><tr><td>
Authorized JavaScript Origins
</td><td>
Auth Tokens from the browser to enable the origins of the pages making the requests. This field should be left empty.
</td></tr></tbody> </table> 4. In the Permissions section, under Issue & Event, specify the level of access you want.
You can select **Read**, **Read & Write**, or **Admin**. 5. In the Webhooks section, select the **Issue** check box. 6. Click **Save Changes**.
-
In the Sentry console, create alert rules and configure them to receive alerts for issues from Sentry to the ServiceNow instance.
-
Navigate to Alerts > Create Alert Rule.
-
Select the alert type and click Set Conditions.
Note: The Issues alert type creates issue alerts. The other alert options create metric alerts.
-
On the Alert Rule page, create either an issue alert or a metric alert.
-
<table id=“table_ptp_xhs_2tb”><thead><tr><th>
Option
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Issue alert
</td><td>
-
Enter the environment, team, and alert name for your alert.
-
Under Set conditions, enter the When and If conditions that will trigger the alert.
-
For the Then condition, select Send a notification via an integration and select your internal integration from the list.
-
Set the action interval for the alert.
</td></tr><tr><td>
Metric alert
</td><td>
-
Add a filter to your transactions.
-
Select the function and time interval.
-
Set the thresholds that will trigger the alert.
-
Add the actions to be performed when the thresholds defined are met.
-
Add your internal integration from the list to the list of actions to receive the alerts.
-
Add a rule name and team for the alert.
</td></tr></tbody> </table> 4. Click Save Rule.
Parent Topic:Integrate with push connectors
Keep exploring.
Find another answer, or bring this documentation into your own tools.