Closed Bug 1896615 Opened 1 year ago Closed 1 year ago

allow Thunderbird specific Glean metrics

Categories

(Data Platform and Tools :: General, defect)

defect

Tracking

(firefox128 fixed)

RESOLVED FIXED
Tracking Status
firefox128 --- fixed

People

(Reporter: mkmelin, Assigned: mkmelin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Thunderbird wants to transition from legacy Telemetry to Glean.

Seems the code generation is specified by https://searchfox.org/mozilla-central/source/toolkit/components/glean/metrics_index.py.
For Thunderbird metrics.yaml files to be found, we need an addition to this, or some hook for Thunderbird to specify where the metrics.yaml file to be included.

For legacy Telemetry this was done using MOZ_TELEMETRY_EXTRA_SCALAR_FILES https://searchfox.org/mozilla-central/rev/b3f40fd7c4671537ed29a232e76c962977650045/toolkit/components/telemetry/moz.build#171 (and MOZ_TELEMETRY_EXTRA_HISTOGRAM_FILES/MOZ_TELEMETRY_EXTRA_EVENT_FILES)

An #ifdef MOZ_THUNDERBIRD would be one potential solution.

Assignee: nobody → mkmelin+mozilla
Attachment #9401634 - Attachment description: WIP: Bug 1896615 - allow Thunderbird specific Glean metrics → Bug 1896615 - allow Thunderbird specific Glean metrics. r=dexter
Status: NEW → ASSIGNED
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/integration/autoland/rev/d532ca177b94 allow Thunderbird specific Glean metrics. r=chutten
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: