Open
Bug 2063254
Opened 16 days ago
Updated 16 days ago
Stop using ifdefs in `metrics.yaml` or `pings.yaml` files
Categories
(Enterprise Products :: Firefox, task)
Enterprise Products
Firefox
Tracking
(Not tracked)
NEW
People
(Reporter: michael, Unassigned)
References
Details
While the ifdefs work for controlling code generation in non-enterprise builds, the glean_parser ignores these and treats them as comments. This means that ones we have merged upstream the enterprise metrics will start showing up in the glean dictionary for regular Firefox Desktop.
The recommendation by the telemetry team is to factor out the enterprise metrics into separate metrics files (e.g. a metrics_enterprise.yaml right next to the other one). The enterprise metric files should then be recorded in a separate list to the firefox_desktop_metrics in the metrics index (e.g. firefox_enterprise_metrics).
You need to log in
before you can comment on or make changes to this bug.
Description
•