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)

Tracking

(Not tracked)

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).

See https://bugzilla.mozilla.org/show_bug.cgi?id=2054438#c9

You need to log in before you can comment on or make changes to this bug.