Connecting New Relic
New Relic setup
Onboarding your New Relic observability system involves three stages: Connect, Enable, and Configure webhooks.
Step 1: Connect
Establish connection to your New Relic remote MCP endpoint with account access credentials
Open the hamburger menu and select Settings
Scroll to the Available - Telemetry section. Press Register next to New Relic
Follow the instructions to obtain your new relic API Key
Enter your New Relic MCP server API Key details:
Account ID: - Enter your New Relic account ID obtained above
API Key: Enter the API Key obtained above
Select US or EU region based on where your new relic account is.
Click Add
Step 2: Enable
Activate New Relic in a specific Agent space and configure appropriate scoping
From the agent spaces page, select an agent space and press view details (if you have not yet created an agent space see [REF])
Select the Capabilities tab
Scroll down to the Telemetry section
Press Add
Press radio button Available Sources
Select Radio button New Relic
Next
Review and press Save
Copy the Webhook URL and Webhook Secret
Step 3: Configure webhooks
Using the Webhook URL and Webhook Secret you can configure New Relic to send events to trigger an investigation, for example from an alarm. To ensure that events sent can be used by the DevOps Agent, make sure that the data transmitted to the web hook matches the data schema specified below. Events that do not match this schema may be ignored by DevOps Agent. Set the method and the headers
method: "POST", headers: { "Content-Type": "application/json", "Authorization": "Bearer <Token>", },
Send the body as a JSON string.
{ eventType: 'incident'; incidentId: string; action: 'created' | 'updated' | 'closed' | 'resolved'; priority: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "MINIMAL"; title: string; description?: string; timestamp?: string; service?: string; // The original event generated by service is attached here. data?: object; }
Send webhooks