# NewRelic

## About the integration

New Relic One 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. Before you start, you should already have a NewRelic account and your environment setup and running. If not, head over to NewRelic to get things started. Once you're done, return to Sleuth so you can complete setup of the integration.

## Setting up the integration

To add the Sleuth NewRelic integration:

* Click **Integrations** in the sidebar.
* Click the *Metric Trackers* tab, then **enable** in the NewRelic card.
* Enter your NewRelic User key and account ID in the corresponding fields.
* If your NewRelic servers' are in the EU, enable the *My New Relic servers are in EU* checkbox. Leave this unchecked if you are unsure.
* Press **Save**.

The NewRelic User key and account ID can be found under **Preferences > API Keys**, as shown below. Or, you can click on the **generate** link, which will take you directly to the API Keys page in your NewRelic console, where you can then generate the keys Sleuth needs to complete the integration.

![](/files/-MS-akfyrKkktsyjrXdJ)

![](/files/-MS-b0G8t5yuWfVb7hKk)

* Once the NewRelic integration is successful, you will see **NewRelic enabled** displayed in the integration card (as shown below).

![](/files/-MS-bGAaH_TPhtCWNqJ1)

## Configuring the integration

* Click \*\*Add metric \*\*and select a Sleuth project that will collect the metrics NewRelic generates. All projects within your organization will be displayed in the dropdown.

![](/files/-MS-bdCWk9Z_vFgLL4Ik)

{% hint style="info" %}
Integrations are made at the Sleuth organization level, and are available for all projects within that organization. Individual settings for an integration are made at the project level.
{% endhint %}

That's it! Sleuth will now start verifying your deploys health by tracking the values from your NewRelic metric. Head over to the Dashboard to start seeing your data in action in the project and deploy health graphs.

## Removing the integration

#### To dissolve the **NewRelic** integration for the organization:

1. Click on **Integrations** in the left sidebar, then on **Metric Trackers**.
2. In the NewRelic integration card, click **disable**.

The NewRelic integration is disconnected and no longer available to any projects within that organization. Any project-level modifications you made to the NewRelic integration will be lost.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.sleuth.io/sleuth-dora/integrations-1/impact-sources/metrics/newrelic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
