Skip to content

Remove automatic propagator setup from OTLPIntegration #6732

Description

@dingsdax

The OTLP integration currently sets up a Sentry propagator by default. This injects sentry-trace and baggage headers on outgoing requests alongside, or instead of, the standard W3C traceparent header.

Per the OTLP integration spec, the integration must not set up an automatic propagator. Cross-service trace propagation should be handled by propagateTraceparent or by user-configured OpenTelemetry propagators.

Docs:
Update docs to reflect the breaking change and manual propagator configuration path. The planned removal notice is already present in the OTLP docs.

Migration path:
Users who still need Sentry-specific headers in mixed Sentry-native and OpenTelemetry environments can configure propagators manually via the OpenTelemetry propagation API.

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions