Add locale to Glean metrics ping
Categories
(Data Platform and Tools :: Glean: SDK, enhancement, P1)
Tracking
(Not tracked)
People
(Reporter: benwu, Assigned: brizental)
Details
(Whiteboard: [telemetry:glean-rs:m11])
Attachments
(3 files)
Locale is sent in the baseline ping but not in the metrics ping. It would be useful to have locale in the metrics ping so that we can easily associate locale with the metrics assuming we can get the locale for the client. Workaround is to join baseline and metrics on client_id but it would be nice to skip this step.
I'm not sure if this should be done in the sdk or on application side but according to the documentation, locale is managed by the sdk so I'm guessing here. Let me know if this is more appropriate to be done in the app.
Comment 1•5 years ago
|
||
Hi Benjamin! Thank you for filing this.
We actually meant to do this, but it fell through the cracks. We can do this at SDK level, since it's likely needed for all products and we have the code (and tests!) for collecting that already.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Upon implementing this, it became clear that the best place to put this metric is in the client_info
for each ping.
That means that the metric will be part of every ping, not only baseline or metrics.
That also means that the metric will be documented in a different part of The Glean SDK Book.
All the rest is the same.
Comment 5•5 years ago
|
||
(In reply to Beatriz Rizental from comment #4)
Upon implementing this, it became clear that the best place to put this metric is in the
client_info
for each ping.That means that the metric will be part of every ping, not only baseline or metrics.
That also means that the metric will be documented in a different part of The Glean SDK Book.
All the rest is the same.
I confirm that it is still datareview+
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Description
•