Skip to content
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

feat(spans): extract user.geo.geoscheme metrics #3914

Merged
merged 11 commits into from
Aug 13, 2024

Conversation

DominikB2014
Copy link
Contributor

@DominikB2014 DominikB2014 commented Aug 8, 2024

Work towards getsentry/sentry#75230

This tags appropriate metrics with subregion as defined by the UN m49 standard. (There are many sources for this, for example see the tree under https://localizely.com/un-m49-list/). This allows us to filter down data by region within insight modules so that we can understand performance by region.

Originally we were hoping to use country codes, but due to cardinality concerns, we opted for larger regions. There are a total of 22 geographical subregions vs 200+ countries.

Note: I'm going to go through and double check all the mapping, but any early reviews of the implementation would be greatly appreciated.

@DominikB2014 DominikB2014 requested a review from a team as a code owner August 8, 2024 20:25
Copy link
Member

@Dav1dde Dav1dde left a comment

Choose a reason for hiding this comment

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

A test for no region (the fallback) would be nice.

Copy link
Member

@Dav1dde Dav1dde left a comment

Choose a reason for hiding this comment

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

See other/previous comments, LGTM.

@DominikB2014 DominikB2014 enabled auto-merge (squash) August 12, 2024 20:04
@DominikB2014 DominikB2014 merged commit f679440 into master Aug 13, 2024
24 checks passed
@DominikB2014 DominikB2014 deleted the DominikB2014/subregion-metrics branch August 13, 2024 14:03
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