Links

New Relic

Steps to configure New Relic integration for incident management, using Squadcast
New Relic is an observability platform built to help engineers create more perfect software. From monoliths to serverless, you can instrument everything, then analyze, troubleshoot, and optimize your entire software stack, all from one place.
Route detailed monitoring alerts from New Relic to the right users in Squadcast.

How to integrate New Relic with Squadcast

In Squadcast: Using New Relic as an Alert Source

  1. 1.
    Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.
2. Select New Relic. Copy the displayed Webhook URL to configure it within New Relic. Finish by clicking Add Alert Source -> Done.
Important:
When an alert source turns Active, it’ll show up under Configured Alert Sources, you can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.

In New Relic: Add a Squadcast Webhook

Log in to your New Relic account.
(1) From Explorer dashboard, click on Alerts & AI. Then naviagte to Workflows and click on + Add a workflow
(2) Fill in the Name, select Issues according to your own preference. Under Mute issues, choose Always send notifications and click on Webhook
(3) Put in the webhook channel's name and click on + Add a destination
(4) Now, you can add a Webhook name, paste the previously copied Squadcast Webhook URL in the placeholder for Endpoint URL and save it.
(5) Select the previously created Squadcast Webhook as Destination and paste the payload mentioned below under the Payload template. Then click on Update message
{
"id": {{ json issueId }},
"issueUrl": {{ json issuePageUrl }},
"title": {{ json annotations.title.[0] }},
"priority": {{ json priority }},
"impactedEntities": {{json entitiesData.names}},
"totalIncidents": {{json totalIncidents}},
"state": {{ json state }},
"trigger": {{ json triggerEvent }},
"isCorrelated": {{ json isCorrelated }},
"createdAt": {{ createdAt }},
"updatedAt": {{ updatedAt }},
"sources": {{ json accumulations.source }},
"alertPolicyNames": {{ json accumulations.policyName }},
"alertConditionNames": {{ json accumulations.conditionName }},
"workflowName": {{ json workflowName }},
"status" : {{ json status }},
"annotationsDescription":{{json annotations.description.[0]}}
}
You can also send test notifications to Squadcast through Send test notification
(6) Finally click on Activate workflow. You can even test the workflow by clicking on Test workflow
That's it, you are good to go! Your New Relic integration is now complete.
Whenever New Relic fires an alert, an incident will be created in Squadcast for it. Also, when an alert is resolved in New Relic, the corresponding incident gets auto-resolved in Squadcast.
Last modified 8d ago