You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(spans): check sdk platform for user.geo.subregion tag (#4023)
This is an extension of this PR
#4013
I assumed that Backend SDK transactions would not have a browser
context, so i used that as a means to check if the project is a frontend
project. Turns out, python SDKs still set browser context on the
transaction (I guess this is the browser the user made the request
from?). So to fix this, we can just check the platform directly as
frontend is typically/always javascript.
---------
Co-authored-by: Joris Bayer <[email protected]>
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@
27
27
- Remove the OTEL spans endpoint in favor of Envelopes. ([#3973](https://github.com/getsentry/relay/pull/3973))
28
28
- Remove the `generate-schema` tool. Relay no longer exposes JSON schema for the event protocol. Consult the Rust type documentation of the `relay-event-schema` crate instead. ([#3974](https://github.com/getsentry/relay/pull/3974))
29
29
- Allow creation of `SqliteEnvelopeBuffer` from config, and load existing stacks from db on startup. ([#3967](https://github.com/getsentry/relay/pull/3967))
30
-
- Only tag `user.geo.subregion` on frontend and mobile projects. ([#4013](https://github.com/getsentry/relay/pull/4013))
30
+
- Only tag `user.geo.subregion` on frontend and mobile projects. ([#4013](https://github.com/getsentry/relay/pull/4013), [#4023](https://github.com/getsentry/relay/pull/4023))
0 commit comments