Closed
Bug 1557358
Opened 6 years ago
Closed 5 years ago
Consider dropping labeled booleans metric types in favor of a "label set" metric type
Categories
(Data Platform and Tools :: Glean: SDK, task, P3)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1557353
People
(Reporter: gfritzsche, Unassigned)
References
Details
(Whiteboard: [telemetry:glean-rs:backlog])
Labeled booleans allow recording multiple bools under different values, e.g. to record whether a specific subfeature of a feature set was used.
"For example you may want to find which URI schemes are used in your application, like "http"
, "https"
, "about"
"
Maybe we could instead use a more straight-forward data type here, like a "label set". It would behave as a set of unique string values (vs. a string list with non-uniques). E.g.:
val x: StringSetMetric
x.add("http")
x.add("http")
x.add("about")
// x now contains: {"http", "about"}
Reporter | ||
Comment 1•6 years ago
|
||
Note that i'll remove these from the docs for now in this PR:
https://github.com/mozilla-mobile/android-components/pull/3273
Updated•6 years ago
|
Priority: -- → P3
Whiteboard: [telemetry:glean-rs:m?]
Updated•6 years ago
|
See Also: → 1557353
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog]
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•