1 - New Relic Connection Setup
The first step in using New Relic with Harness is to set up an New Relic Verification Provider in Harness.
A Harness Verification Provider is a connection to monitoring tools such as New Relic. Once Harness is connected, you can use Harness 24/7 Service Guard and Deployment Verification with your New Relic data and analysis.
New Relic Verification Provider Setup
To connect a verification provider, do the following:
- Click Setup.
- Click Connectors, and then click Verification Providers.
- Click Add Verification Provider, and select New Relic. The Add New Relic Verification Provider dialog appears.
- Complete the following fields of the Add New Relic Verification Provider dialog.
Enter the API key needed to connect with the server. For information on API keys, see Access to REST API keys from New Relic.
- Log into New Relic.
- On the home page, click your account name, and then click Account Settings.
- Click the left menu, under Integrations, click API keys.The API keys are displayed.An index of Admin user's API keys appears below the account's REST API key. The list includes the Admin's full name and the date their key was last used. You can view your own Admin user's API key: From the Admin index, select (Show key) for your name.
To get the account ID for your New Relic account, in the New Relic Dashboard, copy the number after the /accounts/ portion of the URL.
Enter a display name for the provider. If you are going to use multiple providers of the same type, ensure you give each provider a different name.
If you want to restrict the use of a provider to specific Applications and Environments, do the following:
In Usage Scope, click the drop-down under Applications, and click the name of the Application.
In Environments, click the name of the Environment.
To enable additional Applications or Environments, click Add Row, then repeat the above steps