Skip to content

Conversation

shruthilayaj
Copy link
Member

@shruthilayaj shruthilayaj commented Apr 4, 2025

There are certain context fields we were extracting into tags for transactions, making them a searchable property.
We need to make these fields searchable for EAP spans as well. Only storing these tags on segment spans for now.

https://www.notion.so/sentry/EAP-Spans-Missing-Tags-from-Transactions-1828b10e4b5d8041b73dcbc92188c168

@shruthilayaj shruthilayaj marked this pull request as ready for review April 7, 2025 18:02
@shruthilayaj shruthilayaj requested a review from a team as a code owner April 7, 2025 18:02
@shruthilayaj shruthilayaj requested review from Zylphrex and phacops April 7, 2025 18:03
@shruthilayaj shruthilayaj changed the title feat(spans): Extract searchable contexts into span tags feat(spans): Extract searchable contexts into span tags for segment spans Apr 8, 2025
@@ -239,6 +239,61 @@ pub struct SentryTags {
#[metastructure(field = "device.class")]
pub device_class: Annotated<String>,
// Mobile OS the transaction originated from(String).
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment got separated from its field.

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch!

@shruthilayaj shruthilayaj requested a review from loewenheim April 10, 2025 15:15
@shruthilayaj shruthilayaj requested review from loewenheim and removed request for loewenheim April 10, 2025 15:32
@shruthilayaj shruthilayaj merged commit ad1fb1c into master Apr 10, 2025
27 checks passed
@shruthilayaj shruthilayaj deleted the shruthi/feat/extract-searchable-contexts-into-spans branch April 10, 2025 15:56
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