Enable Telemetry events for low latency uptake monitoring
Categories
(Firefox :: Remote Settings Client, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox67 | --- | fixed |
People
(Reporter: leplatrem, Assigned: leplatrem)
Details
Attachments
(2 files)
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
Enable Events Telemetry for Uptake monitoring
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Will this supplant the older histogram-based collection? Should we file a bug to remove that after this lands?
| Assignee | ||
Comment 8•6 years ago
|
||
Will this supplant the older histogram-based collection? Should we file a bug to remove that after this lands?
Well, when the population running this patch (Fx67!?) becomes big enough to do proper monitoring I guess that yes, we will remove the histogram ping. It's also possible that we'll have to wait the next ESR...
| Assignee | ||
Comment 9•6 years ago
|
||
The current approach where we enable events in RemoteSettings.init() isn't good enough. nsBrowserGlue calls us very late and some collection might try to sync before that (eg. Tippytop icons on new tab).
Is enabling events something expensive? Should I called it like lazily (eg. on first call to UptakeTelemetry.report())?
And BTW, should I disable it at some point (eg. after synchronization is finished)?
What would you recommend?
Thanks!
| Assignee | ||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Enabling is not particularly expensive if done once (it stores the category in a hash set).
Disabling just removes it from the hash set. Therefore never disabling it again is usually fine.
If possible, calling it lazily just once in UptakeTelemetry seems like a good solution.
| Assignee | ||
Comment 12•6 years ago
|
||
| Assignee | ||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
| bugherder | ||
Description
•