Open Bug 1961664 Opened 1 year ago Updated 16 days ago

Migrate Legacy Telemetry Custom Ping "health" to Glean

Categories

(Toolkit :: Telemetry, task, P1)

task

Tracking

()

ASSIGNED

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)?

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?

Flags: needinfo?(alessio.placitelli)

(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:

  1. Is there a need for a glean health ping besides this?
  2. Do we strictly need a health ping for the network outages?
Flags: needinfo?(alessio.placitelli)

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.

Depends on: 1667815

The plan:

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.

Priority: P2 → P1

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?

Flags: needinfo?(alessio.placitelli)

(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.

Flags: needinfo?(alessio.placitelli)
Depends on: 2072238

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

To begin it will contain just the four metrics corresponding to the four
probes that supplied the Internet Outages dataset.

Keywords: leave-open
Pushed by chutten@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/73588f5aa173 https://hg.mozilla.org/integration/autoland/rev/79539e70b40a New ping "network-health" for reporting network health metrics r=necko-reviewers,jesup
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: