New Relic provides performance tracking. You can use New Relic to drive insights into values such as:
- Error rates
- Live entities in your environment
- Embedded dashboards
In order to connect Cortex to your New Relic instance, you’ll need to create a New Relic User Token, and add it under Settings → New Relic.
If you do not see the Settings page you're looking for in the sidebar, you likely don't have the proper permissions and need to contact your admin.
Multi Account Support
New Relic has multi account support - data can be retrieved and NRQL can be executed across multiple accounts.
Each New Relic account will require an alias, which is a name that we use to connect the instance you want to use with the application registrations for various services. There is also a default configuration used by registrations without an alias listed. You can edit aliases and the default configuration under Settings → New Relic.
New Relic application metrics can be fetched for each entity.
Instructions to find your Application ID can be found in the New Relic docs. You can also find the Application ID in the URL in New Relic. Aliases tie the service registration to a New Relic configuration listed under Settings → New Relic. The alias parameter is optional, but if not provided the service will use the default configuration under Settings → New Relic.
x-cortex-apm: newrelic: applicationId: 1234567 alias: myApp
Cortex can also embed dashboards from New Relic.
x-cortex-dashboards: embeds: - type: grafana url: https://chart-embed.service.newrelic.com/herald/6b334ae2-b1e0-412c-b714-826a5aed8358