Closed Bug 1938143 Opened 2 months ago Closed 24 days ago

Implement a `MetricGetter` in FoG, so that metrics know either their MetricID or SubMetricID.

Categories

(Toolkit :: Telemetry, task)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: aabh, Assigned: aabh)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Right now, in FoG, metrics might know their own metric ID. This was previously only used for testing purposes, however is now being used extensively by the profiler to look up the name of metrics while streaming markers.

In order to support retrieving the names of labeled metrics, we need to know a submetric ID instead, and we need to be able to distinguish between whether we have a metric ID, or a submetric ID within a metric.

Attachment #9444548 - Attachment description: WIP: Bug 1938143 - Move MetricID to MetricGetter → Bug 1938143 - Replace MetricId with MetricGetter to allow metrics to determine if they are labeled or not r?chutten,florian
Pushed by abrouwersharries@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/489e48b3cd75 Replace MetricId with MetricGetter to allow metrics to determine if they are labeled or not r=chutten
Status: NEW → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: