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.

Activity

  1. linear-code commented on Jul 2, 2026

    @linear-code
  2. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Jul 13, 2026
  3. IgorGanapolsky commented on Jul 24, 2026

    @IgorGanapolsky
  4. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Jul 27, 2026
  5. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Jul 31, 2026
  6. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Aug 4, 2026
  7. Epsilon006 commented on Sep 6, 2026

    @Epsilon006

    Hi! I'd be interested in working on this.

    I checked the current implementation and confirmed that the automatic SentryOTLPPropagator setup is still present on both master and major/3.0.

    Since this issue is labeled Breaking change / Next Major, should a contribution target major/3.0 directly?

    My proposed scope would be to remove the automatic propagator setup from OTLPIntegration, update the related tests, and adjust the migration/documentation path as needed.

    I'll wait for maintainer guidance before starting the implementation.

  8. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Sep 6, 2026
  9. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions