Skip to content

ref(core): Add trace propagation context#1212

Open
szokeasaurusrex wants to merge 2 commits into
szokeasaurusrex/split-mod-performancefrom
szokeasaurusrex/trace-propagation-context
Open

ref(core): Add trace propagation context#1212
szokeasaurusrex wants to merge 2 commits into
szokeasaurusrex/split-mod-performancefrom
szokeasaurusrex/trace-propagation-context

Conversation

@szokeasaurusrex

@szokeasaurusrex szokeasaurusrex commented Jun 30, 2026

Copy link
Copy Markdown
Member

Introduce TracePropagationContext as the preferred representation for Sentry trace propagation metadata. Keep SentryTrace as a deprecated compatibility type so existing callers can continue to construct and pass the old type while new code uses the more general context API.

Add a fallible header parser and a renamed transaction continuation method for the new context type. Update internal and OpenTelemetry call sites to use the new API.

References #1200
References RUST-252

Introduce `TracePropagationContext` as the preferred representation for Sentry trace propagation metadata. Keep `SentryTrace` as a deprecated compatibility type so existing callers can continue to construct and pass the old type while new code uses the more general context API.

Add a fallible header parser and a renamed transaction continuation method for the new context type. Update internal and OpenTelemetry call sites to use the new API.

References [#1200](#1200)
References [RUST-252](https://linear.app/getsentry/issue/RUST-252)
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review June 30, 2026 11:33
@szokeasaurusrex szokeasaurusrex requested a review from lcian as a code owner June 30, 2026 11:33
@linear-code

linear-code Bot commented Jun 30, 2026

Copy link
Copy Markdown

RUST-252

@szokeasaurusrex szokeasaurusrex marked this pull request as draft June 30, 2026 11:34
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review June 30, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant