Closed
Bug 1166341
Opened 9 years ago
Closed 7 years ago
Label enumerated values
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
RESOLVED
DUPLICATE
of bug 1188888
People
(Reporter: sfink, Unassigned)
Details
It would be very convenient to be able to register enumeration names. For example, we have a GC_REASON_2 histogram that can be any one of a couple of dozen different values, and mapping the numeric value to what it means is a nuisance (and error-prone.) It would be nice if we could list out the mapping between reasons and their string descriptions, and have that show up in both about:telemetry and the dashboard and wherever else this stuff is reported. (My browser usually GCs because 47, but quite a few are because 48 and a nontrivial number are because 36 and 52.)
Comment 1•7 years ago
|
||
We now have categorical histograms, which allow to do that: http://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/collection/histograms.html#categorical
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•