• Home
  • Integrations
  • SDKs
  • Guides
  • API docs
No results for ""
EXPAND ALL

EDIT ON GITHUB

Using the New Relic One events integration

Read time: 2 minutes
Last edited: Nov 18, 2021
The New Relic One events integration is a Pro and Enterprise feature

The New Relic One events integration is available to customers on a Pro or Enterprise plan. To learn more, read about our pricing. To upgrade your plan, contact Sales.

This integration is only available for New Relic One Pro accounts

This integration only works with a New Relic One Pro subscription. Check your subscription details on your New Relic account billing page.

Overview

This topic explains how to use the LaunchDarkly New Relic One integration to view LaunchDarkly events in New Relic.

LaunchDarkly integrates with New Relic One. LaunchDarkly sends feature flag change events to New Relic One as deployment events. These events appear as new deployments in the One console's APM Event log.

Prerequisites

To configure the integration, you must create a REST API key on your New Relic One account.

Configuring LaunchDarkly to send flag change events to New Relic One

To configure LaunchDarkly to send events to New Relic One:

  1. Navigate to the Integrations page and find the New Relic One card.

The New Relic One integration card.
The New Relic One integration card.

  1. Click Add integration. The integration configuration screen appears.

The Create New Relic One configuration screen.
The Create New Relic One configuration screen.

  1. Give the integration a human-readable Name.

  2. Paste in your New Relic REST API key.

  3. Paste in your New Relic application ID.

  4. (Optional) If you have an EU Region New Relic account, select the EU option in the Data Center dropdown.

  5. (Optional) Configure a custom policy to control which flag information LaunchDarkly sends to New Relic One. To learn more, read Adding custom policies to the New Relic One integration.

  6. After reading the Integration Terms and Conditions, check the I have read and agree to the Integration Terms and Conditions checkbox.

  7. Click Save configuration.

Adding custom policies to the New Relic One integration

LaunchDarkly sends all flag change events in the production environment to New Relic One by default. To customize the events LaunchDarkly sends to New Relic One, use the policy editor in the configuration panel. To learn more about creating a policy, read Example policies and templates.

The policy editor.
The policy editor.

Accessing LaunchDarkly events in New Relic One

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.

New Relic One > Deployments
New Relic One > Deployments

Demo

To see a full demo of this integration in action, watch the following video: