Skip to content

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

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

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

Conversation

@AbhiPrasad

Copy link
Copy Markdown
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
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