Skip to main content

At a glance

  • Availability: Experimental (how to enable).
  • Authentication: API key.
  • Connection: The key from NEW_RELIC_API_KEY is sent as the API-Key header.
  • Provider documentation: Authentication reference.

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Sign up for New Relic: Free accounts at https://newrelic.com include full API access. Note your account ID from the account picker or the URL - NRQL and issue tools need it.
  2. Create a user API key: Go to https://one.newrelic.com/api-keys and create a key of type ‘User’ (it starts with NRAK-). User keys are required for NerdGraph.
  3. Set the environment variable: Add the key to your .env as NEW_RELIC_API_KEY=NRAK-…
  4. Verify access: Run Search Entities with a query like “domain = ‘APM’”, or Run NRQL Query with your account ID.

Provider notes

  • All tools are GraphQL calls to https://api.newrelic.com/graphql with the key in the ‘API-Key’ header
  • EU-region accounts use api.eu.newrelic.com; these tools target the US endpoint
  • NRQL and issue tools take your numeric account ID as a parameter - find it under Administration → Access management → Accounts
Provider API reference.

Tools

Verify the connection

Call a read tool such as new-relic__run_nrql_query with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.