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.
| Category | Observability |
| Direction | Query source |
| Sign-in | New Relic API Key |
| Query languages | SQLite |
| Tables | 15 |
| Query templates | 29 |
| Website | newrelic.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.
- Log in to New Relic as the user whose access Huntbase should use, and go to https://one.newrelic.com/api-keys.
- Click Create a key in the top-right corner.
- Enter a name, select User as the Key type, and click Save.
- 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.
Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.
Connect new relic
- Go to Connections and click New connection, or click New connection on the new relic product page.
- On Product, pick new relic and choose the Owner.
- On Details, give the connection a Name and, optionally, a Description.
- On Connect, fill in the settings and credentials described below.
- 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:
| Field | Required | Notes |
|---|---|---|
| Region | No | us (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:
| Field | Required | Notes |
|---|---|---|
| New Relic API Key | Yes | A 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:
| Language | Use it for |
|---|---|
| SQLite | SQL 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
| Table | Contains |
|---|---|
newrelic_account | Obtain accounts visible to your user from New Relic. |
newrelic_alert_channel | Obtain alert channels for a given New Relic account |
newrelic_alert_condition | Obtain alert conditions for a given New Relic account |
newrelic_alert_event | Obtain alert events from the given New Relic account |
newrelic_alert_incident | Obtain alert incidents from the given New Relic account |
newrelic_alert_policy | Obtain alert policies from the given New Relic account |
newrelic_apm_application | Obtain applications for which APM are collected |
newrelic_apm_application_deployment | Obtain information about application deployments |
newrelic_apm_application_instance | Obtain information about instances of applications for which APM are collected |
newrelic_apm_application_metric | Obtain a list of available metrics for a specific application |
newrelic_apm_application_metric_data | Obtain metric data for application metrics |
newrelic_component | Obtain information about components in your New Relic account |
newrelic_notification_channel | Obtain information about notification channels for a specific New Relic account |
newrelic_notification_destination | Obtain information about notification destinations for a specific New Relic account |
newrelic_plugin | Obtain information about plugins installed in your New Relic account |
Next steps
- Connections — health, credentials and settings after you connect
- Query languages — syntax, parameters and time ranges
- Chatting with Scout — ask questions without writing a query
- All integrations — the rest of the catalog