Skip to content

ref(core): Add trace propagation context - #1212

Merged
szokeasaurusrex merged 2 commits into
szokeasaurusrex/split-mod-performancefrom
szokeasaurusrex/trace-propagation-context
Jul 28, 2026
Merged

szokeasaurusrex merged 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

@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
@szokeasaurusrex
szokeasaurusrex requested a review from a team as a code owner July 7, 2026 11:05
@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/trace-propagation-context branch from 3f34a77 to bedc2a2 Compare July 7, 2026 11:05
@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/trace-propagation-context branch 2 times, most recently from b686b94 to 9fae22a Compare July 8, 2026 14:04

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9fae22a. Configure here.

Comment thread sentry-core/src/performance/headers.rs Resolved
@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/trace-propagation-context branch from 9fae22a to 1661031 Compare July 9, 2026 13:17
@szokeasaurusrex
szokeasaurusrex requested review from Litarnus and giortzisg and removed request for alexander-alderman-webb July 20, 2026 15:08
@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/trace-propagation-context branch from 1661031 to faee0fb Compare July 20, 2026 15:53
@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/trace-propagation-context branch 2 times, most recently from 7ec7b74 to e857277 Compare July 20, 2026 16:29
@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/trace-propagation-context branch from e857277 to f8bf2c6 Compare July 24, 2026 10:11
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 force-pushed the szokeasaurusrex/trace-propagation-context branch from f8bf2c6 to 6928f1d Compare July 27, 2026 15:39
@szokeasaurusrex
szokeasaurusrex merged commit c9d2732 into master Jul 28, 2026
32 of 49 checks passed
@szokeasaurusrex
szokeasaurusrex deleted the szokeasaurusrex/trace-propagation-context branch July 28, 2026 12:10
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.

3 participants