Closed Bug 1999541 Opened 1 year ago Closed 11 months ago

Implement per-probe-type and per-ping off switches for remote shutoff of Legacy Telemetry

Categories

(Toolkit :: Telemetry, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
148 Branch
Tracking Status
firefox148 --- fixed

People

(Reporter: chutten|PTO, Assigned: chutten|PTO)

References

Details

Attachments

(3 external files)

When we finally manage to remove the last Histogram or submission of the "bhr" ping from the tree, we'll still have a population full of users running older versions that still have those data collections that we're no longer looking at. This bug is about using Nimbus to implement remote-control off switches for pieces of Legacy Telemetry so we can turn data collection off in older clients the very moment that we're done (without waiting for them to update).

This is a little bit cost reduction and a little bit long-tail-taming.

We preserve "main", "first-shutdown", "new-profile", and "deletion-request" pings
from being disable-able by this method to prevent unintended effects on KPIs or
our ability to self-serve data deletion.

Even if scalars are completely disabled, we leave the two that fuel top-line
KPIs intact. This is out of an abundance of caution, should this feature be
accidentally enabled.

We keep the existing recording and clearing behaviour,
we just refuse to include them in the ping any more.

Pushed by chutten@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/83187fd2a59f https://hg.mozilla.org/integration/autoland/rev/e3257956e687 Implement a Legacy Telemetry shutoff switch for pings controlled by Nimbus r=TravisLong https://github.com/mozilla-firefox/firefox/commit/20116405691f https://hg.mozilla.org/integration/autoland/rev/652d56bad31b Implement Nimbus-controlled shutoff switch for "main" ping scalars r=TravisLong https://github.com/mozilla-firefox/firefox/commit/3727483b1cee https://hg.mozilla.org/integration/autoland/rev/2e81746e1979 Implement Nimbus-controlled shutoff switch for "main" ping histograms r=TravisLong
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c5d381e83fa7 https://hg.mozilla.org/integration/autoland/rev/d620d43ce876 Revert "Bug 1999541 - Implement Nimbus-controlled shutoff switch for "main" ping histograms r=TravisLong" for causing xpc failures @test_TelemetryController.js.

Backed out for causing xpc failures @test_TelemetryController.js.

Flags: needinfo?(chutten)

Shoulda skipped those tests on Android anyway.

Flags: needinfo?(chutten)
Pushed by chutten@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/afd1f9234246 https://hg.mozilla.org/integration/autoland/rev/aa7f1d09e00c Implement a Legacy Telemetry shutoff switch for pings controlled by Nimbus r=TravisLong https://github.com/mozilla-firefox/firefox/commit/29b42d85d9c9 https://hg.mozilla.org/integration/autoland/rev/8c9dbd758bad Implement Nimbus-controlled shutoff switch for "main" ping scalars r=TravisLong https://github.com/mozilla-firefox/firefox/commit/760c3d45acf2 https://hg.mozilla.org/integration/autoland/rev/4cd0339b846b Implement Nimbus-controlled shutoff switch for "main" ping histograms r=TravisLong
Pushed by chorotan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c5441bf8cef4 https://hg.mozilla.org/integration/autoland/rev/bafc759abf1e Revert "Bug 1999541 - Implement Nimbus-controlled shutoff switch for "main" ping histograms r=TravisLong" for causing xpcshell failures on test_TelemetryController.js

Backed out for causing xpcshell failures on test_TelemetryController.js

Backout link

Push with failures

Failure log

Flags: needinfo?(chutten)

I... don't understand. This is a Mac-only failure, but there's no Mac-only code here.

I wonder if maybe test_TelemetryController is just too long and making it longer is having it time out? Maybe I should split these tests out.

Flags: needinfo?(chutten)
Pushed by chutten@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0e3ebebbc480 https://hg.mozilla.org/integration/autoland/rev/989b2a896625 Implement a Legacy Telemetry shutoff switch for pings controlled by Nimbus r=TravisLong https://github.com/mozilla-firefox/firefox/commit/f58038979749 https://hg.mozilla.org/integration/autoland/rev/92661cfd3349 Implement Nimbus-controlled shutoff switch for "main" ping scalars r=TravisLong https://github.com/mozilla-firefox/firefox/commit/b1b84d814fc4 https://hg.mozilla.org/integration/autoland/rev/9614b60b7c64 Implement Nimbus-controlled shutoff switch for "main" ping histograms r=TravisLong
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
Regressions: 2005155
QA Whiteboard: [qa-triage-done-c149/b148]
See Also: → 2030063
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: