New Relic
Company | Estimated Time | Vendor Docs | Open Source |
---|---|---|---|
New Relic, Inc. | 5 minutes | view | v3.rb |
What is New Relic?
New Relic is a digital intelligence platform that lets developers, ops, and tech teams measure and monitor the performance of their applications and infrastructure.
How It Works
New Relic creates alerts.
- When an incident is created (
event_type == "INCIDENT_OPEN" || (event_type == "INCIDENT" && current_state == "open") || (state == "CREATED" || state == "ACTIVATED")
) in New Relic, an alert is created in PagerTree automatically. - When an incident is acknowledged (
event_type == "INCIDENT_ACKNOWLEDGED" || (event_type == "INCIDENT" && current_state == "acknowledged")
) in New Relic, an alert is acknowledged in PagerTree automatically. - When an incident is resolved (
event_type == "INCIDENT_RESOLVED" || (event_type == "INCIDENT" && current_state == "closed") || state == "CLOSED"
) in New Relic, the alert is resolved in PagerTree automatically.
Integration Walkthrough
In this integration tutorial we will show you how to send alerts from New Relic into PagerTree. The estimated time for this integration is 5 minutes. We assume that you already have a PagerTree and New Relic account setup.
In PagerTree
- Create the integration by clicking the New Relic logo.
- Copy the Endpoint URL.
In New Relic
Add a Webhook Destination
-
Navigate to Alerts & AI -> Destinations -> Webhook
Navigate to Alerts & AI -> Destinations -> Webhook
-
In the Add a destination form
-
Webhook Name - PagerTree
-
Endpoint URL - Paste the PagerTree Endpoint URL you copied
-
Click Save Destination
New Relic PagerTree Configuration
-
Connect Webhook Destination To Alert Policy
-
Navigate to Alerts & AI -> Alert conditions (Policies) -> Notification Settings.
Navigate to Alerts & AI -> Alert conditions (Policies) -> Notification Settings
-
Click "Create workflow" button.
-
Click "Webhook"
In the new workflow, click Webhook.
-
In the Edit notification message form
-
Name - PagerTree
-
Destination - PagerTree (this is the Webhook destination you created above)
-
Payload Template - Use the default.
-
Click "Save Message"
Configure the PagerTree Notification
-
-
Click the "..." ellipses on the right to change the "Notify when.."
- Select only activated, acknowledged, and closed.
Select when to notify.
You have successfully completed the New Relic Integration.