Closed Bug 1925369 Opened 28 days ago Closed 17 days ago

Remove `operating_systems` support from Histograms, Scalars

Categories

(Toolkit :: Telemetry, task, P1)

task

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: chutten, Assigned: chutten)

References

Details

Attachments

(2 files)

A necessary task in migrating Scalar and Histogram APIs to Glean APIs is figuring out what to do with the operating_systems property. On platforms not matching the values supplied to that property, the probe constants don't exist, and so any Glean metric (which exists in all platforms) that mirrors to it will fail the compile on those platforms.

Rather than continuing to do this piecemeal as we did with Events, let's sunset operating_systems here as its own separate task.

There are already multiple patches in bug 1923028 that remove some operating_systems fields.

All of the histograms were in code that only ran on the specified platform(s),
so the only thing that 'operating_systems' was doing was saving a few bytes
(the HistogramInfo, its part of gHistogramBucketLowerBoundIndex, its entry in
the PHF) and a few ms during build (less code in the headers,
fewer static asserts).

(( It didn't even save the bytes of storing the name in the string table. ))

Pushed by chutten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/581d74ca4495 Remove 'operating_systems' properties from Histogram definitions r=florian https://hg.mozilla.org/integration/autoland/rev/019c11c5aa37 Remove support for and documentation of 'operating_systems' fields for Events, Histograms, and Scalars r=TravisLong
Status: ASSIGNED → RESOLVED
Closed: 17 days ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: