Skip to content

Propagate DSC through sentry-opentelemetry #1163

Description

@szokeasaurusrex

Update sentry-opentelemetry::SentryPropagator so OpenTelemetry users get the same Sentry DSC propagation behavior as the core transaction path. The trace propagation spec requires SDK propagation mechanisms to carry both sentry-trace and baggage, while the current OTel propagator handles only sentry-trace.

Extract baggage alongside sentry-trace, inject Sentry DSC as baggage, include baggage in SentryPropagator::fields(), and pass extracted DSC to the transaction context created by the OTel processor. Keep this issue propagation-only; Sentry DSC should not control OTel sampler behavior. Related: #741, #1016.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions