Skip to content

feat(transaction): Extract contexts, extra, breadcrumbs meta - #6296

Draft
mjq wants to merge 1 commit into
masterfrom
mjq/transaction-meta-to-eap
Draft

feat(transaction): Extract contexts, extra, breadcrumbs meta#6296
mjq wants to merge 1 commit into
masterfrom
mjq/transaction-meta-to-eap

Conversation

@mjq

@mjq mjq commented Aug 7, 2026

Copy link
Copy Markdown
Member

Transaction events' contexts, extra, and breadcrumbs are stored in segment span attributes as of #6286. The frontend also uses the related meta information, but that's currently missing. Add the meta from these three fields onto EAP spans as well.

@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.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 5801fa8. Configure here.

mjq added a commit to getsentry/sentry that referenced this pull request Aug 7, 2026
Transaction events' `contexts`, `extra`, and `breadcrumbs` are now
deprecated under span streaming (replaced with attributes, attributes,
and logs, respectively). However, SDKs that are still sending this data
should still have it visible.

These transaction fields are serialized to attributes in Relay
(getsentry/relay#6286) and then emitted by the
trace item details API
(#121461). Use them in
preference to the transaction event. We keep reading the transaction
event so that data predating this data being written to EAP (Aug 6,
2026) continue to work.

Note that:
- The `Request` section is now missing, whether from a transaction event
or EAP. All this data is already written to attributes (from a
transaction or a streaming span) so it hasn't disappeared, it's just in
a new form.
- EAP currently lacks the `_meta` equivalent for these fields, so we've
lost annotations for redactions, etc when this data is sourced from EAP.
I'm going to restore this soon
(getsentry/relay#6296), but I don't want to wait
for it (better to show the data without annotations than to have no data
at all).

Fixes BROWSE-673.
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