Migrate Legacy Telemetry Custom Ping "default-browser" to Glean
Categories
(Toolkit :: Default Browser Agent, task, P2)
Tracking
()
People
(Reporter: chutten, Assigned: drubino)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fog-migration][fidedi])
Attachments
(1 external file)
The Legacy Telemetry "default-browser" ping is implemented in toolkit/mozapps/defaultagent/Telemetry.cpp. Its purpose is to report, about once every 24h, what the Windows default browser setting is and whether it has changed.
I'd thought most analyses had already switched over to the "default-agent" ping sent from firefox_desktop_background_defaultagent, and so "migration" might be a word which here means "remove the code and erase the storage", but alas there's a lot of recent querying of this data in STMO by :rtestard and :rtublitz.
This bug is about establishing whether the "default-agent" ping will serve the analysis needs currently supplied by the "default-browser" ping, and if not, bringing it up to that standard.
Updated•1 year ago
|
| Reporter | ||
Comment 1•1 year ago
|
||
:cdupuis, do you know of any plans for the "default-browser" ping? Is the "default-agent" ping intended to replace it?
| Reporter | ||
Comment 2•1 year ago
|
||
:dmcintosh, do you know of plans for the "default-browser" ping?
Comment 3•1 year ago
|
||
:rtublitz hasn't been with the company for a few years now, so what you're probably seeing is :rtestard's collection of queries firing periodically. I'd poke them to migrate to Glean, then remove Legacy telemetry. You can add me for review.
| Reporter | ||
Comment 4•1 year ago
|
||
Hey, :rtestard, are you still using https://sql.telemetry.mozilla.org/queries/74902 and other queries that also use default_browser_agent.default_browser instead of data from firefox_desktop_background_defaultagent? If so, how might I best support your migration from the former to the latter, or otherwise support your analysis needs (while still allowing me to eventually get rid of the "default-browser" ping at some point)?
Comment 5•8 months ago
|
||
As a tag along, errors reading system state are now reported in telemetry as "Error".
Updated•8 months ago
|
Updated•8 months ago
|
| Reporter | ||
Updated•8 months ago
|
Comment 7•7 months ago
|
||
| bugherder | ||
Comment 9•7 months ago
•
|
||
.
Comment 10•7 months ago
|
||
Backout merged to main: https://hg-edge.mozilla.org/mozilla-central/rev/5a6d730eceb0c8c63f4895d779f8b0bdf35cc4bf
Updated•7 months ago
|
Updated•7 months ago
|
Comment 11•6 months ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 1 week.
:nrishel, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
| Reporter | ||
Updated•6 months ago
|
Comment 12•6 months ago
|
||
I still need to take a pass to verify Glean is being initialized correctly, so r+ patch is intentionally not landing at present.
Comment 14•2 months ago
|
||
:drubino I got hung up on this question and not having a solid reasoning about whether we "initialize Glean properly" in the default agent context to disable telemetry, my suspicion is that we do not and we would need to plumb the Windows registry pref key to Glean initialization in the default agent some way. I would would to see manual verification that Glean is disabled where appropriate (either manual inspection or test) to move this forward.
| Reporter | ||
Comment 15•1 month ago
|
||
Ultimately this patch is strictly removing data collection and so has no Policy objections to landing. There is no additional data being collected. And the only "expansion" is that it will also submit from unofficial builds which are handled by FOG internally to not upload anyway, so I mention it only for completeness' sake.
The "is the default agent's behaviour wrt data collection understood and correct" question is orthogonal and can (and I'd argue should) be handled separately.
What do you think, :nrishel?
Comment 16•1 month ago
|
||
Ah, I crossed wires here. I have a local commit that removes the manually "is disabled" check and instead relies on Glean's mechanism, but I wasn't confident that was correct.
:drubino if you want to commandeer the revision and rebase I think it should land without much fuss.
Comment 17•1 month ago
•
|
||
:drubino I went ahead an rebased this on main, but haven't investigated the telemetry regression that prompt the last back out. That's what actually needs to be resolved before landing.
| Assignee | ||
Comment 18•1 month ago
|
||
OK, I'm assigning this to myself and commandeering the revision.
Comment 19•1 month ago
|
||
Comment 20•1 month ago
|
||
| bugherder | ||
Updated•1 month ago
|
Updated•1 month ago
|
Description
•