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

chore(telemetry): send geo_iso with pings #9909

Merged
merged 4 commits into from
Nov 6, 2023
Merged

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Oct 30, 2023

Summary

Problem

Currently, we only send the user's country name to Glean, but names change (c.f. Czechia) and may have inconsistent writings.

Solution

Also send the user's country code to Glean.


How did you test this change?

TBD

@caugner caugner requested a review from a team as a code owner October 30, 2023 20:13
@caugner caugner force-pushed the send-country-code-in-pings branch from d9fb40f to c01f353 Compare October 30, 2023 20:15
@caugner caugner marked this pull request as draft October 31, 2023 17:11
@caugner caugner marked this pull request as ready for review October 31, 2023 17:39
Copy link
Member

@LeoMcA LeoMcA left a comment

Choose a reason for hiding this comment

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

one small copy nit, otherwise looks good - tested locally and forwards the country_iso value from rumba (ZZ in this case): https://debug-ping-preview.firebaseapp.com/pings/mdn-dev/9e5d5ee1-da33-454b-aeca-ff0fce65c75b#L40

client/src/telemetry/metrics.yaml Outdated Show resolved Hide resolved
@caugner caugner merged commit 2c94a69 into main Nov 6, 2023
15 checks passed
@caugner caugner deleted the send-country-code-in-pings branch November 6, 2023 17:37
@caugner caugner changed the title chore(glean): send geo_iso with pings chore(telemetry): send geo_iso with pings Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants