Skip to main content

new relic

New Relic is a comprehensive observability and application performance monitoring (APM) platform that provides real-time insights into application performance, infrastructure health, and user experience. This integration enables users to query and analyze their New Relic monitoring data, alert configurations, application metrics, and incident management information.

CategoryObservability
DirectionQuery source
Sign-inNew Relic API Key
Query languagesSQLite
Tables15
Query templates29
Websitenewrelic.com

Before you start​

Huntbase signs in to new relic with New Relic API Key. Create the credential in new relic first, then keep it to hand for the Connect step.

  1. Log in to New Relic as the user whose access Huntbase should use, and go to https://one.newrelic.com/api-keys.
  2. Click Create a key in the top-right corner.
  3. Enter a name, select User as the Key type, and click Save.
  4. Copy the key now. After creation, the API keys page shows only its first 8 characters.

Permissions:

  • A User key has the same permissions as its user, across every account that user can access. Create it as a user with read-only access to the accounts Huntbase should query.

For the vendor's own instructions, see New Relic API keys documentation.

tip

Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.

Connect new relic​

  1. Go to Connections and click New connection, or click New connection on the new relic product page.
  2. On Product, pick new relic and choose the Owner.
  3. On Details, give the connection a Name and, optionally, a Description.
  4. On Connect, fill in the settings and credentials described below.
  5. On Verify, review the summary and click Create & check.

For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.

Settings​

Where your new relic lives:

FieldRequiredNotes
RegionNous (the default) or eu, matching the data center region of your New Relic account. One of us, eu.

Credentials​

The only Method is New Relic API Key. Enter a Credential label (for example Production), then fill in:

FieldRequiredNotes
New Relic API KeyYesA User key, which starts with NRAK-. Secret — not shown again after you save it.

Query it​

Once connected, new relic can serve these languages in a query tab, and Scout can use it when you ask in Auto:

LanguageUse it for
SQLiteSQL over the 15 tables listed below, alongside every other connected source.

Example: SQLite​

List all New Relic accounts — List all New Relic accounts available and the types of reporting events associated with each.

select
id,
name,
reporting_event_types
from
newrelic_account;

new relic ships with 29 query templates. Find them in Library › Queries — see Query templates.

Tables​

new relic adds 15 tables. Browse their columns from Schema in the query bar's ⋯ menu.

All 15 tables
TableContains
newrelic_accountObtain accounts visible to your user from New Relic.
newrelic_alert_channelObtain alert channels for a given New Relic account
newrelic_alert_conditionObtain alert conditions for a given New Relic account
newrelic_alert_eventObtain alert events from the given New Relic account
newrelic_alert_incidentObtain alert incidents from the given New Relic account
newrelic_alert_policyObtain alert policies from the given New Relic account
newrelic_apm_applicationObtain applications for which APM are collected
newrelic_apm_application_deploymentObtain information about application deployments
newrelic_apm_application_instanceObtain information about instances of applications for which APM are collected
newrelic_apm_application_metricObtain a list of available metrics for a specific application
newrelic_apm_application_metric_dataObtain metric data for application metrics
newrelic_componentObtain information about components in your New Relic account
newrelic_notification_channelObtain information about notification channels for a specific New Relic account
newrelic_notification_destinationObtain information about notification destinations for a specific New Relic account
newrelic_pluginObtain information about plugins installed in your New Relic account

Next steps​