Closed Bug 1827683 Opened 3 years ago Closed 2 years ago

Include build locale in `background-update` pings

Categories

(Data Platform and Tools :: Glean: SDK, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

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?

Flags: needinfo?(chutten)

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.

Flags: needinfo?(chutten)
See Also: → 1626969
Assignee: nobody → tlong
Priority: -- → P2

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.

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.

Flags: needinfo?(nalexander)

(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!

Flags: needinfo?(nalexander)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.