Open Bug 2095960 Opened 5 days ago

Remove duplicate bulk-migrated Glean metrics in netwerk

Categories

(Core :: Networking: HTTP, task, P2)

task

Tracking

()

People

(Reporter: omansfeld, Unassigned)

References

Details

(Whiteboard: [necko-triaged][necko-priority-next])

Some legacy probes were migrated to Glean by hand without removing the legacy recording. The bulk histogram migration (bug 1944631, bug 1960567) then converted them again, so both metrics are now recorded side by side at the same call site. Remove one of each pair:

  • http.tls_early_data_negotiated duplicates network.tls_early_data_negotiated (bug 1898018), recorded in TlsHandshaker::EarlyDataTelemetry.
  • http.channel_onstart_success duplicates networking.http_channel_onstart_status (bug 1898248), recorded in nsHttpChannel::RecordOnStartTelemetry.
  • networking.http_channel_disposition_upgrade (dual_labeled_counter) duplicates the six networking.http_channel_disposition_{enabled,disabled}_{upgrade,no_reason,wont} labeled counters (bug 1898248), recorded in nsHttpChannel::OnStopRequest. The dual_labeled_counter that was bulk migrated holds the same data in one metric instead of six, so it might be worthwhile to remove the six single metrics here.

For each we should do a quick sanity check if removal would break dashboards that are actively used.

Two duplicates where the hand-written metric records wrong labels are handled separately: bug 2095957 (http.channel_disposition) and bug 2095958 (http.tls_early_data_accepted).

Bug 2095065 already removes http.response_version, which prompted this investigation.

You need to log in before you can comment on or make changes to this bug.