Disable telemetry in Firefox for geckodriver and marionette client
Categories
(Testing :: geckodriver, task, P1)
Tracking
(firefox82 fixed)
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
Attachments
(2 files)
One aspect we have been made aware of by different developers and by the uninstall survey is that having telemetry enabled takes a certain amount of time for Firefox startup. Given that we do not send telemetry at all, it should be completely disabled.
To completely disable Telemetry the preference datareporting.healthreport.uploadEnabled
has to be set to false
.
Assignee | ||
Comment 1•4 years ago
•
|
||
Some additional notes from :chutten on Matrix:
The first is that startup might not be improved as much as you think. The pref controls data upload, not Telemetry itself. Data collection was originally architected in a way to support client-local features for the user (before we learned that users didn't care), so data collecting is always on, even if it never leaves the browser
The second is that many other services look to that pref to turn systems on and off. Mostly data reporting, it might also turn off parts of normandy, shield, activity stream, pocket
And lastly, turning it from on to off will send a deletion request ping if Telemetry's had an opportunity to init with it on before you switch it to off
So you may need to leave the telemetry server set to a local server to prevent accidental internet access
Assignee | ||
Comment 2•4 years ago
|
||
Oh, and I think that I will also sneak in the patch for Marionette client here.
It's already set to false in geckodriver: https://searchfox.org/mozilla-central/rev/84922363f4014eae684aabc4f1d06380066494c5/testing/geckodriver/src/prefs.rs#78
Only Marionette doesn't explicitly set it to false.
Given the comment below:
// We want to collect telemetry, but we don't want to send in the results
("toolkit.telemetry.server", Pref::new("https://%(server)s/dummy/telemetry/")),
I'm curious why we wanted to collected telemetry, and when that desire changed... How was this used? Does anyone know?
Assignee | ||
Comment 4•4 years ago
|
||
And one more info:
So you should probably just remove toolkit.telemetry.server from any of the suites where you set the data upload pref to false
Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D89037
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/46e4cd2dfe73
https://hg.mozilla.org/mozilla-central/rev/15cea70e79a8
Description
•