Develop a removal plan for Legacy Telemetry's code
Categories
(Toolkit :: Telemetry, task, P1)
Tracking
()
People
(Reporter: chutten, Assigned: chutten)
References
Details
(Whiteboard: [fog-migration])
As pieces of Legacy Telemetry become unused, we'll want to remove them. For example, once the last Event probe is gone, we're probably going to want to remove some code like EventPing and TelemetryEvent, or at least make it inaccessible. But not every submodule of Legacy Telemetry will be easy to remove. We can't touch ClientID. TelemetryEnvironment is likely to be important for a while. And even if we manage to turn off the "main" ping, it may be that we have to leave TelemetrySession in place because it glues other components together.
This bug is about auditing the current structure of Legacy Telemetry to see what we can remove and where, and under what conditions. This will likely take the shape of a proposal with review and decisionmaking local to the DCT Team. The hope is that the proposal's specification will be a series of preconditions and plans that any dev could follow when the time was right to create patches that Telemetry Peers could review.
It will not decide when, as that would involve coordination with other orgs and should be decided on separately. It will not take into account analyses and derived dataset migrations/removals as those are preconditions to the probe removals that are required before the code can be removed/disabled. It might recommend use of the per-probe and per-ping shutoff switches from bug 1999541 and reference the plan of "just" shuttering Telemetry Events entirely in bug 1983602.
Updated•7 months ago
|
| Assignee | ||
Comment 1•5 months ago
|
||
First draft: https://docs.google.com/document/d/1o32wuTM79_gzRfiGkJpBpsa0UoGmRnIh-ddsO55pJEU/edit?tab=t.0
| Assignee | ||
Comment 2•5 months ago
|
||
Upon writing the memo, I found that the best format for this information wasn't a removal plan. It still satisfies the same use case for being a reference document for developers to rely on to identify the known interactions between Legacy Telemetry components during a removal operation. Instead of a strict ordering you'd expect from a plan, though, it highlights classes of risk and sorts the components by ease of removal.
This will allow us to more flexibly remove components opportunistically when they become unused, as, at time of writing at least, we don't actually know which components will reach 0 on https://arewegleanyet.com/ first.
Description
•