Skip to content

Navigation Menu

Sign in
Sign up

Add DSC baggage parsing and serialization #1160

Open
Labels
FeatureRequest for a new feature RustSDK Traces

Description

Add W3C baggage conversion for DynamicSamplingContext so sentry-rust can read and write Sentry DSC values in the format required by the Dynamic Sampling Context spec. The implementation should parse sentry-* baggage entries into known DSC fields, serialize populated DSC fields as sentry-<name>=<value>, handle percent-decoding and percent-encoding, and expose the getters needed by sentry-core.

Cover supported DSC fields, empty baggage, mixed vendor baggage, malformed values, percent-encoding, and the chosen behavior for unknown future sentry-* keys. 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

    FeatureRequest for a new feature RustSDK Traces

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /