Skip to content

fix(ourlog): use sentry prefix for browser name/version#4783

Merged
AbhiPrasad merged 2 commits intomasterfrom
abhi-sentry-prefix
May 30, 2025
Merged

fix(ourlog): use sentry prefix for browser name/version#4783
AbhiPrasad merged 2 commits intomasterfrom
abhi-sentry-prefix

Conversation

@AbhiPrasad
Copy link
Contributor

In #4757 we decided to attach browser name and version to logs.

Right now for spans, we prefix browser information with sentry.X, see https://github.com/getsentry/sentry/blob/34c738613c9b39e3b0d64336d13b4551a4075c66/src/sentry/search/eap/spans/attributes.py#L334.

This is causing inconsistencies between the queries for spans and logs, which is breaking the current queries for the logs view. Considering we are "enhancing" the data via relay, I think it makes sense to also add a sentry.X prefix for logs. This PR makes that change.

resolves https://linear.app/getsentry/issue/LOGS-152

@AbhiPrasad AbhiPrasad requested review from Zylphrex and k-fish May 30, 2025 14:49
@AbhiPrasad AbhiPrasad self-assigned this May 30, 2025
@AbhiPrasad AbhiPrasad requested a review from a team as a code owner May 30, 2025 14:50
@AbhiPrasad AbhiPrasad merged commit 6a14617 into master May 30, 2025
46 of 47 checks passed
@AbhiPrasad AbhiPrasad deleted the abhi-sentry-prefix branch May 30, 2025 15:53
AbhiPrasad added a commit to getsentry/sentry that referenced this pull request Jun 2, 2025
andrewshie-sentry pushed a commit to getsentry/sentry that referenced this pull request Jun 2, 2025
limbonaut pushed a commit to limbonaut/sentry that referenced this pull request Sep 24, 2025
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