Migrate Legacy Telemetry Custom Ping "health" to Glean
Categories
(Toolkit :: Telemetry, task, P1)
Tracking
()
People
(Reporter: chutten, Assigned: chutten)
References
(Blocks 1 open bug)
Details
(Keywords: leave-open, Whiteboard: [fog-migration])
Attachments
(1 external file)
The Legacy Telemetry "health" ping is implemented in toolkit/components/telemetry/pings/HealthPing.sys.mjs. Its purpose is to relay information about how well the Legacy Telemetry system itself is operating.
It needs to be Migrated (a phrase here meaning any one or mix of different things from "removed because it's unused" to "duplicated in Glean").
As the Owner of this ping, I intend to reach out to users of its data and announce the end of its life within the next year. The ping instruments Legacy Telemetry and so will only have data so long as the Legacy Telemetry system itself continues operating. With its deprecation and removal scheduled in about a year, this data has a shelf life.
I know of exactly one active use of this data (the Internet Outages Dataset uses payload.sendFailure). Perhaps they'll be interested in migrating to a Glean health ping, should one be designed and implemented (bug 1667815)?
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Hey, Alessio, what are the current and future plans for the Internet Outages dataset? Will it need to be deprecated, too, or can it evolve to survive the end of Legacy Telemetry?
Comment 2•1 year ago
|
||
(In reply to Chris H-C :chutten from comment #1)
Hey, Alessio, what are the current and future plans for the Internet Outages dataset? Will it need to be deprecated, too, or can it evolve to survive the end of Legacy Telemetry?
It can evolve, there's no plan to deprecate it yet.
I guess there's two considerations:
- Is there a need for a glean health ping besides this?
- Do we strictly need a health ping for the network outages?
| Assignee | ||
Comment 3•1 year ago
|
||
There are needs that would be met for a Glean "health" ping beyond "supplying data for the network outages dataset". I believe we're presently designing data collection health scorecards, many scores for which will require data reporting (and not all products submit existing non-health builtin pings like "metrics" which currently serves some overlapping functions).
We've previously (bug 1667815) recorded a need for a "health" ping in Glean (though haven't yet prioritized the work) so maybe we should look again.
| Assignee | ||
Comment 4•3 months ago
|
||
The plan:
- Add a v3 to https://github.com/mozilla/bigquery-etl/tree/main/sql/moz-fx-data-shared-prod/internet_outages that sources from Glean data, using it going forward
- Remove the Legacy Telemetry "health" ping
There is no meaningful analogue to the TelemetrySend-supplied data that fuels the columns proportion_{undefined|timeout|abort|unreachable|terminated|channel_open}. Those data are tied to the submission frequency and network scheduling of Legacy Telemetry, so if we remove Legacy Telemetry we remove our ability to report them. On the plus side, the data for the other columns have been reported via Glean for over a year, so it should be a direct transition.
| Assignee | ||
Comment 5•3 months ago
|
||
Ah, dang. Like many plans, this one did not survive contact. I have uncovered a few issues. This one's surmountable:
- Some of the columns purport to count sessions when they're really counting times within which there was a subsession of length > 1s. Glean dropped the idea of subsessions, so this is incalculable
- Solution: Just count pings received on that hour. It's as accurate a "session" count as before, though it'll obviously be different
This one I think makes the dataset useless:
- For privacy reasons, we no longer keep geoIP-derived city, or subdivision 1 or 2.
Alessio, despite my best intentions, I think we may need to deprecate the global_outages dataset, revisiting it later with purpose-built instrumentation and processing. What say you?
Comment 6•3 months ago
|
||
(In reply to Chris H-C :chutten from comment #5)
This one I think makes the dataset useless:
- For privacy reasons, we no longer keep geoIP-derived city, or subdivision 1 or 2.
Alessio, despite my best intentions, I think we may need to deprecate the global_outages dataset, revisiting it later with purpose-built instrumentation and processing. What say you?
I think unfortunately you're correct, especially given the subdivision / city thing.
Let me work on a decommissioning / comms plan.
| Assignee | ||
Comment 7•1 month ago
|
||
Good news: We're going to maintain the capability of being able to report on networking failures as seen by Firefox in much the same way that we currently do!
Bad news: We still can't do a one-for-one transformation of the existing dataset to support this.
Good news: We have a plan:
- Add a new custom ping containing the TLS and DNS performance metrics in use by the current outages dataset
- Work with Firefox Networking to identify new metrics of interest and add them to that new custom ping
- Develop an
internet_outages.global_outages-like aggregate dataset’s ETL - Validate the data and the aggregate ETL's resulting dataset
- Working with the Foundation and some specific past partners (e.g. OONI), brag about it to the world
- Remove the existing Legacy instrumentation and turn off the old dataset
| Assignee | ||
Comment 8•17 days ago
|
||
To begin it will contain just the four metrics corresponding to the four
probes that supplied the Internet Outages dataset.
| Assignee | ||
Updated•16 days ago
|
Comment 10•16 days ago
|
||
| bugherder | ||
Description
•