Product Updates

[ What's launched at LaunchDarkly ]
blue starsGreen toggleFlaming arrow
November 04, 2025
Guarded Release

Tim Cook

C++ Server SDK: Hooks and Tracing Support

The C++ Server SDK v3.10.0 adds hook support, including a tracing hook for OpenTelemetry. This enables teams to send observability data enriched with LaunchDarkly contexts to power Guardian and integrate feature flag data into distributed traces.

#If your project already includes OpenTelemetry
cmake -DLD_BUILD_OTEL_SUPPORT=ON ..

#If you want the SDK to fetch and build OpenTelemetry automatically
cmake -DLD_BUILD_OTEL_FETCH_DEPS=ON -DLD_OTEL_CPP_VERSION=<version> ..Copied!copy icon


By default, LD_BUILD_OTEL_SUPPORT uses find_package to locate your existing OpenTelemetry SDK.
Use LD_BUILD_OTEL_FETCH_DEPS if you’d prefer the SDK to fetch and build the dependency automatically.

Learn more