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
      • .NET (server-side) SDK observability reference
      • .NET MAUI SDK observability reference
      • Android SDK observability reference
      • iOS 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
  • Overview
  • Endpoints
  • Telemetry data endpoint
  • Configuration endpoint
  • Firewall and proxy requirements
  • Observability SDKs
SDKs

Observability SDKs

Was this page helpful?
Previous

SDK features for observability

Next
Built with

Overview

This category contains documentation topics explaining the observability capabilities available for LaunchDarkly SDKs. These include session replay, error monitoring, logging, and tracing.

The functionality is available through observability SDKs, which are implemented as plugins to LaunchDarkly server-side and client-side SDKs. You can enable this functionality when you initialize a LaunchDarkly SDK client in your app:

  • Observability plugin for error monitoring, logging, and tracing. Available in both client-side and server-side SDKs.
  • Session replay plugin for session replays. Available in client-side SDKs only.

After you initialize the server-side or client-side SDK and one or more observability plugins, your application automatically starts sending observability data back to LaunchDarkly. You can review this information in the LaunchDarkly user interface. To learn how, read the Observability product overview.

Endpoints

The observability SDKs communicate with two LaunchDarkly endpoints:

Telemetry data endpoint

https://otel.observability.app.launchdarkly.com

This endpoint receives OpenTelemetry Protocol (OTLP) data from the SDKs over HTTPS. All telemetry data, including traces, logs, and metrics, is sent here.

The endpoint accepts data on the following paths:

PathData typeProtocol
/v1/tracesTrace spansHTTP/Protobuf
/v1/logsLog recordsHTTP/Protobuf
/v1/metricsMetric data pointsHTTP/Protobuf

All data is compressed with gzip before transmission. The default port is 4318 (OTLP HTTP). Server-side SDKs may also use gRPC on port 4317.

Configuration endpoint

https://pub.observability.app.launchdarkly.com

This endpoint serves SDK configuration, including sampling rules. The SDKs query this endpoint using GraphQL over HTTPS to retrieve their sampling configuration during initialization. This allows LaunchDarkly to dynamically control sampling rates without requiring SDK restarts.

Firewall and proxy requirements

You may need to update your infrastructure to allow the SDK to reach both of these domains. To learn more, read Accessing LaunchDarkly by domain.

If requests to these endpoints are being blocked, you can set up a proxy through your own domain using CNAME records. To learn more, read Using a proxy.

Observability SDKs

.NET logo.NET logo

.NET

.NET MAUI logo.NET MAUI logo

.NET MAUI

Android logoAndroid logo

Android

iOS logoiOS logo

iOS

Go logoGo logo

Go

JavaScript logoJavaScript logo

JavaScript

Node.js logoNode.js logo

Node.js

Python logoPython logo

Python

Ruby logoRuby logo

Ruby

React logoReact logo

React Web

React logoReact logo

React Native

Vue logoVue logo

Vue