Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Latest commit

 

History

History
57 lines (37 loc) · 2.65 KB

newrelic.md

File metadata and controls

57 lines (37 loc) · 2.65 KB

New Relic Configuration

The newrelic user configuration has the following schema:

{
  "credentials": {

    "newrelic": {
      "licenseKey": "my_license_key",
      "nrPersonalApiKey": "my_personal_api_key",
      "insightsInsertApiKey": "my_insigths_insert_api_key",
      "accountId": "my_account_id",
      "accountRootId": "my_account_root_id",
      "nrRegion": "US"
    }

  }
}

To set any of the value referenced above, follow the steps below.

licenseKey

The deployer requires your New Relic license key to make changes to your account. Read the official New Relic documentation to learn how to obtain your license key.

nrPersonalApiKey

The deployer uses your Personal API key to make requests to New Relic's APIs on behalf of your account. Read the official New Relic documentation to learn how to obtain a Personal API key.

insightsInsertApiKey

The deployer uses your Insert API key to manage logs in New Relic. Read the official New Relic documentation to learn how to obtain an Insert API key.

accountId

The deployer requires your New Relic account ID to make changes to your account. Read the official New Relic documentation to learn how to obtain your account ID.

accountRootId

The deployer uses your account's root ID for handling agent data coming from AWS Lambda. To find your root Id:

  1. Log in to New Relic
  2. Expand the username drop down in the top right corner, and click on Account settings
  3. If your account is a sub-account, you should see specific copy "Sub-account information for [account name]" with smaller text below "This account belongs to [root account name]". Click "[root account name]". If your account is not a sub-account, use the same value you used for accountId.
  4. Once you're on the root account, notice the integer after the /accounts/ part of the URL. That integer is your accountRootId.

nrRegion

Typically, your New Relic region is US. If you know that your account is in a specific region, use that region value instead.

All possible regions are listed below:

  • US
  • EU
  • AP