For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inTry it free
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
  • SDKs
    • SDK concepts
    • SDK features
    • Client-side SDKs
    • Server-side SDKs
    • AI SDKs
    • Edge SDKs
    • OpenFeature providers
    • Observability SDKs
      • SDK features
        • Configuration for client-side observability
        • Configuration for server-side observability
        • Configuration for session replay
        • OpenTelemetry in client-side SDKs
        • Recording metrics
        • Recording traces
        • Sending errors
        • Sending logs
        • SDK data handling behavior
        • Self-hosting an OpenTelemetry Collector
        • OpenTelemetry versions and instrumentation support
      • .NET (server-side) SDK observability reference
      • .NET MAUI SDK observability reference
      • Android SDK observability reference
      • iOS SDK observability reference
      • Flutter SDK observability reference
      • Go SDK observability reference
      • JavaScript SDK observability reference
      • Node.js (server-side) SDK observability reference
      • Python SDK observability reference
      • Ruby SDK observability reference
      • React Native SDK observability reference
      • React Web SDK observability reference
      • Vue SDK observability reference
    • Relay Proxy
Sign inTry it free
LogoLogo
On this page
  • Viewing OpenTelemetry data in LaunchDarkly
  • Sending OpenTelemetry data to LaunchDarkly
  • Client-side SDKs
SDKsObservability SDKsSDK features

OpenTelemetry in client-side SDKs

Was this page helpful?
Previous

Recording metrics

Next
Built with

This topic explains how to enable OpenTelemetry in client-side SDKs, using the LaunchDarkly observability plugins. OpenTelemetry (OTel) is an open source observability framework and toolkit designed to create and manage telemetry data such as traces, metrics, and logs.

Looking for information on OpenTelemetry in server-side SDKs?

For information on using OpenTelemetry in LaunchDarkly’s server-side SDKs, read OpenTelemetry in server-side SDKs.

Viewing OpenTelemetry data in LaunchDarkly

In the LaunchDarkly UI, OpenTelemetry data is used in the observability, Experimentation, feature monitoring, and guarded rollouts features.

When LaunchDarkly receives OpenTelemetry trace data, it processes and converts this data into events that LaunchDarkly metrics track over time. LaunchDarkly also automatically normalizes deprecated OpenTelemetry attribute names to their current equivalents, so you can use older attribute names and LaunchDarkly will create the corresponding current attribute names for you. To learn more, read Automatic attribute normalization.

Sending OpenTelemetry data to LaunchDarkly

When you use one of the LaunchDarkly client-side SDKs, LaunchDarkly automatically ingests OTel data if you are using one of the observability SDKs. These are implemented as plugins that you can configure as part of initializing the client-side SDK.

The SDKs send this data to LaunchDarkly at the following endpoints:

  • https://otel.observability.app.launchdarkly.com/v1/traces
  • https://otel.observability.app.launchdarkly.com/v1/logs
  • https://otel.observability.app.launchdarkly.com/v1/metrics

You may need to update your infrastructure to make sure the SDK can reach this domain. To learn more, read Accessing LaunchDarkly by domain.

Client-side SDKs

Learn more about client-side SDK observability support for your SDK:

  • JavaScript SDK observability reference
  • React Native SDK observability reference
  • React Web SDK observability reference
  • Vue SDK observability reference