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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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