---
title: LaunchDarkly
description: Control feature releases and infrastructure changes with confidence.
breadcrumbs: Docs > Integrations > LaunchDarkly
---

# LaunchDarkly
Supported OS  A brief overview of LaunchDarkly.
## Overview{% #overview %}

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

**The LaunchDarkly integration is not supported for the Datadog  site**.
{% /callout %}

LaunchDarkly provides the following integrations with Datadog:

### Events integration{% #events-integration %}

The [LaunchDarkly](https://launchdarkly.com) events integration for Datadog brings flag event markers to your monitoring dashboards, so you can see the effects of your LaunchDarkly feature deployments on your customer's services or systems. For instance, if a deployed feature causes a service to slow down, you can see the cause within Datadog.

### Feature flag tracking integration{% #feature-flag-tracking-integration %}

LaunchDarkly's feature flag tracking integration enriches your RUM data with your feature flags to provide visibility into performance monitoring and behavioral changes. Determine which users are shown a user experience and if it is negatively affecting the user's performance.

### Relay proxy metrics integration{% #relay-proxy-metrics-integration %}

If you are using the [LaunchDarkly Relay Proxy](https://docs.launchdarkly.com/home/relay-proxy), you can configure it to export metrics, such as active and cumulative connections, to Datadog.

## Setup{% #setup %}

### Events integration{% #events-integration-1 %}

The LaunchDarkly events integration uses a [Datadog API key](https://app.datadoghq.com/organization-settings/api-keys), which can be created by a Datadog admin. Once you obtain a Datadog API key, see the [LaunchDarkly documentation for the Datadog integration](https://docs.launchdarkly.com/integrations/datadog/events) to learn how to setup the LaunchDarkly events integration for Datadog.

### Feature flag tracking setup{% #feature-flag-tracking-setup %}

Feature flag tracking is available in the RUM Browser SDK. For detailed set up instructions, visit the [Getting started with Feature Flag data in RUM](https://docs.datadoghq.com/real_user_monitoring/guide/setup-feature-flag-data-collection/) guide.

1. Update your Browser RUM SDK version 4.25.0 or above.
1. Initialize the RUM SDK and configure the `enableExperimentalFeatures` initialization parameter with `["feature_flags"]`.
1. Initialize LaunchDarkly's SDK and create an inspector reporting feature flag evaluations to Datadog using the snippet of code shown below.

```gdscript3
const client = LDClient.initialize("<APP_KEY>", "<USER_ID>", {
  inspectors: [
    {
      type: "flag-used",
      name: "dd-inspector",
      method: (key: string, detail: LDClient.LDEvaluationDetail) => {
        datadogRum.addFeatureFlagEvaluation(key, detail.value);
      },
    },
  ],
});
```

### Relay Proxy metrics{% #relay-proxy-metrics %}

Follow the Relay Proxy's [Metrics integrations documentation](https://github.com/launchdarkly/ld-relay/blob/v6/docs/metrics.md) to configure this feature.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **launchdarkly\_relay.connections\_env\_platformCategory\_userAgent**(gauge)             | The number of current proxied streaming connections.*Shown as connection* |
| **launchdarkly\_relay.newconnections\_env\_platformCategory\_relayId\_userAgent**(gauge) | The number of streaming connections created.*Shown as connection*         |
| **launchdarkly\_relay.requests\_env\_method\_platformCategory\_route\_userAgent**(gauge) | Number of requests received.*Shown as request*                            |

### Events{% #events %}

The LaunchDarkly events integration sends flag, project, and environment events from LaunchDarkly to Datadog.

### Service Checks{% #service-checks %}

The LaunchDarkly integration does not include any service checks.

## Support{% #support %}

Need help? Contact [Datadog Support](https://docs.datadoghq.com/help/).

## Further Reading{% #further-reading %}

- [LaunchDarkly: Feature Flags, Feature Management, and Experimentation](https://launchdarkly.com)
- [Using the Datadog events integration | LaunchDarkly | Documentation](https://docs.launchdarkly.com/integrations/datadog/events)
