Closed
Bug 1579752
Opened 6 years ago
Closed 6 years ago
Add telemetry product-override flag for testing.
Categories
(Toolkit :: Telemetry, enhancement, P1)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla71
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: benc, Assigned: chutten|PTO)
Details
Attachments
(1 file)
Telemetry probes have a "products" field which governs which products they're active for (gecko, fennec etc..).
It'd be nice to have a product-override flag available for tests which enables probes to be used even if the current product is not listed in the "products" field.
This came up mostly in the context of adding "thunderbird" as a telemetry product (Bug 1427877). Relevant discussion at https://phabricator.services.mozilla.com/D44426#1351005
Benefits (over skipping tests based on product):
- some unit tests use telemetry probes to test non-telemetry code (the telemetry provides insight into an otherwise-opaque module).
- it'll be very easy to add firefox-specific probes with new tests, and accidentally break other products without realising.
- the telemetry tests provide extra test coverage of modules, even if some products don't need telemetry data regarding those modules.
| Assignee | ||
Updated•6 years ago
|
Assignee: nobody → chutten
Status: NEW → ASSIGNED
Points: --- → 2
Priority: -- → P1
| Assignee | ||
Comment 1•6 years ago
|
||
Pushed by chutten@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2bb2908d7a36
Add a testing pref to override Telemetry's products check r=janerik
Comment 3•6 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•