addLangfuseSpanAdapter

Installs the Langfuse SpanAdapter without registering the Langfuse cloud exporter. Spans are reshaped to the Langfuse-recommended attribute layout but are emitted only through whatever exporters the caller registers separately.

Useful for tests that want to assert on Langfuse-shaped spans without performing a real HTTP round-trip and for integrators who want the Langfuse transformations applied to spans they ship to a different backend.

Parameters

traceAttributes

list of trace-level Langfuse attributes (see https://langfuse.com/integrations/native/opentelemetry#propagating-attributes).