Include build locale in `background-update` pings
Categories
(Data Platform and Tools :: Glean: SDK, defect, P2)
Tracking
(Not tracked)
People
(Reporter: nalexander, Assigned: travis_)
References
Details
It surprised me to discover that every background-update ping has client_info.locale = NULL; see, for example, this query. I expected this to be automatically determined, I suppose by FOG initialization. How do I start collecting this data?
It would help me to understand exactly what this data means in Firefox Desktop. Is this the OS locale? The build locale of a single-locale repack? Or is it a runtime locale, potentially determined by the build locale and overlaid langpacks?
Comment 1•3 years ago
|
||
As you explore in the description, and as bug 1626969 goes into in some detail, locales are more complicated than they look. As a result we opted to not set the wrong one in the client_info and encouraged users to use metrics to send the locales they were specifically interested in (like how the "newtab" ping uses the settled application locale as per a specific point in time).
I'm both interested in hearing of solutions for bug 1626969 and wary of any possible solution's misunderstanding in analysis.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
Trying to move this forward by first resolving Bug 1626969. Provided I can get agreement on that bug, we can go ahead and get the locale populated per the requirements of this bug.
| Assignee | ||
Comment 3•2 years ago
|
||
Since Bug 1626969 was resolved, does that satisfy the need for the 'locale' that you were interested in Nick? If you still need some other locale recorded (I'm not sure if the "build locale" differs from the locale captured by the other bug or not), I'm happy to explore options on getting this information collected for you.
| Reporter | ||
Comment 4•2 years ago
|
||
(In reply to Travis Long [:travis_] from comment #3)
Since Bug 1626969 was resolved, does that satisfy the need for the 'locale' that you were interested in Nick? If you still need some other locale recorded (I'm not sure if the "build locale" differs from the locale captured by the other bug or not), I'm happy to explore options on getting this information collected for you.
This should handle my use case and fill the "Glean gap". Thanks, Travis!
| Assignee | ||
Updated•2 years ago
|
Description
•