New Relic
Connect
Connect New Relic from the terminal. Pass --help for the flags New Relic accepts.
polylane integration connect --type newrelicA User key from the API keys page in New Relic, created by a user with access to the account you want to connect.
Connect your New Relic account with a User key.
- In New Relic API keys, click Create a key, choose the User key type, and copy the NRAK- value.
- Paste the key into Polylane. Polylane checks it and finds the region and the accounts the key can read. If the key can read more than one account, pick the one to connect.
Run NRQL over New Relic APM, traces, logs, and metrics through Polylane, read entities, alert issues, conditions, and dashboards, and request NerdGraph changes. Changes require safety review and approval.
Polylane watches error rate, p95 latency, and throughput for your busiest services and the volume of your logs. It also adds a Polylane webhook destination and a workflow to the account, so every New Relic alert issue opens an issue in Polylane.
Polylane uses these NerdGraph fields:
| NerdGraph field | What it unlocks |
|---|---|
actor.user, actor.accounts | Finds the region and the accounts the key can read. |
actor.account.nrql | Runs NRQL for the agent tools and for the service, log, dashboard, and alert condition checks. |
actor.entitySearch, actor.entity | Finds services, hosts, and dashboards, with their golden signals and relationships. |
actor.distributedTracing.trace | Opens one distributed trace as a span tree. |
actor.account.aiIssues | Lists alert issues and their conditions and entities. |
actor.account.alerts | Reads alert policies and NRQL alert conditions. |
aiNotificationsCreateDestination, aiNotificationsCreateChannel, aiWorkflowsCreateWorkflow | Adds the Polylane webhook destination, channel, and workflow that send every alert issue to Polylane. |
alertsPolicyCreate, alertsNrqlConditionStaticCreate, alertsNrqlConditionStaticUpdate, alertsMutingRuleCreate, alertsMutingRuleDelete, aiIssuesAckIssue, aiIssuesResolveIssue | newrelicAlerts creates alert policies and conditions, turns conditions on or off, mutes and unmutes alerts, and acknowledges or closes issues, each after safety review and approval. |
newrelicApi | Sends any NerdGraph query; mutations require safety review and approval. API keys, users, and cloud account links are not available. |
Disconnecting removes the Polylane workflow, channel, and webhook destination from the account and leaves the User key in New Relic. Delete it on the API keys page in New Relic.
Disconnect
Disconnecting stops every sync and check and deletes the credentials Polylane held. Polylane removes what New Relic's API lets it remove. The following stays until you remove it yourself:
- New Relic User key
polylane integration disconnect <id>Tools
9Operations agents can perform in threads.