Last updated: 2023-09-28

Source: https://support.freshservice.com/support/solutions/articles/50000002803-integrate-new-relic-apm-with-freshservice-alert-management

Configuration in Freshservice:

Step 1:

Head to the Admin panel, scroll down to IT Operations Management, and select Monitoring Tools. If your account has more than one workspace, navigate toAdmin > {Worskpace Name} >IT Operations Management > Monitoring Tools

Step 2:

You are now on the Monitoring Tools list page. Select Add monitoring tool to add a new integration.

Step 3

You will see a list of pre-configured integrations, the gateway to custom integration using webhooks, and the option to use email as a channel for alerts. Select New Relic APM.

Step 4

Getthe Endpoint URL and the Auth key for New Relic APM by following theintegration setup.

Configuration in New Relic APM:

01. In New Relic, click on Alerts > Notification channels > New Notification Channel

02. Select Channel type as Webhook

03. Set a Channel name

04. In the Base URL field, paste the copied Endpoint URL from Freshservice

05. In the Custom Headers section, enter Name as Authorization and in the Value field, paste the Auth token copied from Freshservice without the word Authorization in it.

06. Add another row and enter Name as Content-Type and Value as application/json

07. In the Use Custom Payload section, click on Add Custom Payload

08. New Relic displays its default payload on selecting this

09. In the payload type, select JSON

10. Click on Create Channel

Setting webhook as the notification channel for your alerts

1. On clicking on Create Channel, the Alert Policies tab will be displayed

2. Clicking on Add Policies

3. It will display a list of all the Alert Policies that you have previously created.

4. Select the Alert Policies for which you want to send alerts to Freshservice and click on Save Changes.

5. Click on Alerts tab > Alert Policies > Notification Channel > Open the webhook channel that you created.

Sending a sample alert to Freshservice

1. Please note that to send a test notification to Freshservice, the payload has to be replaced with the following

2. This setting has to be reset as mentioned below to send real time alerts to Freshservice.

3. ```generic

```

Generic

4. Click on Save Changes

5. Scroll to the bottom to find “Send a test notification” link

7. Click on this link to send a test notification to Freshservice to confirm that the integration is successful.

On successful creation of an alert in Freshservice, you will get this confirmation in NewRelic

Click on Payload Type JSON to reset these changes done to test sending sample alerts and click on Save changes to send real time alerts to Freshservice from Newrelic.