Skip to content

fix(attributes): Add deprecated sentry.thread.id - #451

Merged
mjq merged 1 commit into
mainfrom
mjq/sentry-thread-id
Jun 23, 2026
Merged

fix(attributes): Add deprecated sentry.thread.id#451
mjq merged 1 commit into
mainfrom
mjq/sentry-thread-id

Conversation

@mjq

@mjq mjq commented Jun 23, 2026

Copy link
Copy Markdown
Member

Transaction-based spans wrote the current thread ID into sentry.thread.id. The Sentry backend aliases this to thread.id.

Span streaming SDKs are correctly using our conventional thread.id directly, but the backend can't see them due to that existing alias.

Add a deprecated sentry.thread.id pointing to thread.id as its replacement. Once this is merged and updated in Snuba, coalescing will make this start working on the Sentry side. We should then be able to remove Sentry's custom mapping, relying on the definition here instead.

See DAIN-1733.

@mjq
mjq requested review from a team, Lms24, cleptric and nsdeschenes as code owners June 23, 2026 14:27
@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Add gen_ai.request.reasoning_effort attribute by cleptric in #334
  • Add deprecated otel.kind attribute by Lms24 in #440

Other

  • (docs) Make span name and description cards linkable by Lms24 in #433

Bug Fixes 🐛

  • (attributes) Add deprecated sentry.thread.id by mjq in #451

Documentation 📚

  • (contributing) Improve releasing and downstream update instructions by constantinius in #434
  • Remove semicolon in db.query.summary example by JPeer264 in #439

Internal Changes 🔧

Deps

  • Bump dompurify from 3.4.10 to 3.4.11 by dependabot in #438
  • Bump astro from 6.1.10 to 6.4.6 in /docs by dependabot in #432

Other

  • (attributes) Rename pii field to apply_scrubbing by cleptric in #426
  • (test) Exit vitest when running yarn test by Lms24 in #441
  • Exclude formatting changes from git blame by Lms24 in #450
  • Use oxfmt and oxlint for formatting and linting by Lms24 in #449
  • Update yarn.lock file by JPeer264 in #436
  • Bump all dependencies to fix esbuild security issues by cleptric in #431

Other

  • Update blame ignore revs for pii field renaming by cleptric in #437

🤖 This preview updates automatically when you update the PR.

@mjq
mjq merged commit 0a14b40 into main Jun 23, 2026
13 of 15 checks passed
@mjq
mjq deleted the mjq/sentry-thread-id branch June 23, 2026 14:38
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.

2 participants