-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ref(replay): Run geo info normalization on the replay user #4088
Conversation
7293a50
to
c4d7e6f
Compare
c4d7e6f
to
d76fbde
Compare
pub project_id: Option<ProjectId>, | ||
pub organization_id: Option<u64>, | ||
pub client_addr: Option<IpAddr>, | ||
pub user_agent: RawUserAgentInfo<String>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does pub
do on a field of a private struct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just 'documentation' that these fields can be freely accessed as opposed to stuff which should only be exposed via methods.
ffddd40
to
97efb24
Compare
Fixes: getsentry/sentry#50639
Additionally refactors the normalization code a bit to bundle a lot of the arguments that are passed around in a single struct. Also updates the feature flag checks to use
should_filter
instead ofhas_feature
to make it work on Proxy Relays.