Open
Bug 1600008
Opened 5 years ago
Updated 1 years ago
Consider adding a test API for checking if *any* label was recorded
Categories
(Data Platform and Tools :: Glean: SDK, enhancement, P3)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
NEW
People
(Reporter: Dexter, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [telemetry:glean-rs:testing])
From this GH issue:
It may or may not make sense based on your mental model of things, but I found myself wanting a
LabeledMetric::testHasValue()
helper function that will test whether a value has been recorded for any label.
Reporter | ||
Updated•5 years ago
|
Priority: -- → P3
Whiteboard: [telemetry:glean-rs:m?]
Updated•5 years ago
|
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog]
Comment 1•5 years ago
|
||
I'm not so sure about that API.
If you don't know which label might have data, then what information does one gain from knowing that something was recorded?
Comment 2•5 years ago
|
||
In my case, I was interested in asserting that nothing was recorded under any label.
Reporter | ||
Updated•4 years ago
|
Whiteboard: [telemetry:glean-rs:backlog] → [telemetry:glean-rs:backlog][telemetry:glean:testing]
Updated•4 years ago
|
Whiteboard: [telemetry:glean-rs:backlog][telemetry:glean:testing] → [telemetry:glean-rs:testing]
You need to log in
before you can comment on or make changes to this bug.
Description
•