Read time: 1 minute
Last edited: Oct 09, 2020
You can use LaunchDarkly's triggers feature with a New Relic One account to automatically perform actions on feature flags.
To learn more, read Using triggers with New Relic.
This topic explains how to use the LaunchDarkly New Relic One integration to view LaunchDarkly events in New Relic. New Relic One is an application performance management (APM) tool that allows customers to monitor the operational health of their application and infrastructure.
LaunchDarkly integrates with New Relic One. LaunchDarkly sends feature flag change events to New Relic as deployment events. These events appear as new deployments in the One console's APM Event log.
To configure the integration, you must create a REST API key on your New Relic One account.
To configure LaunchDarkly to send events to New Relic:
Navigate to the Integrations page and find the "New Relic" card.
Click + Integration. The integration configuration sidebar appears.
Give the integration a human-readable Name.
Paste in your New Relic REST API key.
Paste in your New Relic application ID.
Click Save New Relic Configuration.
By default, the New Relic integration sends production flag change events to New Relic. You can customize those events with the policy editor using the same language and construction as if you were creating a custom role.
To learn more, read Custom Roles.
You can customize the events LaunchDarkly sends to New Relic by using the policy editor in the New Relic configuration panel:
To view LaunchDarkly events in New Relic One, navigate to your application's APM dashboard, then select the Event log tab on your sidebar and filter for "Deployments" link on the sidebar.
Any flag change events in your production environment (default policy) will create a new deployment event. You will be able to see the impact of that flag change within this deployment page.
To see a full demo of this integration in action, check out the following video: