Open Bug 2076866 Opened 1 month ago Updated 1 month ago

Normalize New Tab telemetry parameter names

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

People

(Reporter: ini, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [hnt])

New Tab telemetry values often change names between the server response and Glean. A value can be renamed in DiscoveryStreamFeed, again in the React components, and again in TelemetryFeed. To find where a Glean extra came from, you have to trace it through every file on the way. Some of these renames are left over from older versions and no longer serve a purpose.

This metabug tracks cleanup in three areas:

  1. Audit. Map where each telemetry variable comes from and where it ends up.
  2. One rename point. Normalize names once, in the feed where the data comes in, and use the Glean metric names. Components and TelemetryFeed pass values through unchanged.
  3. Key-based lookup. The UI sends only what it knows, such as the item key, position and layout. TelemetryFeed looks up server metadata itself instead of receiving it back from the UI.
Depends on: 2076873
Blocks: 1905254
Depends on: 2076883
Depends on: 2076893
Whiteboard: [hnt]
You need to log in before you can comment on or make changes to this bug.