Backed out changeset b462e7b742d8 (bug 1908261) for causing multiple reftest failures...
[gecko.git] / gfx / metrics.yaml
blob1fafbb4d84611e84b542277a949dfd965e1794c0
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 # Adding a new metric? We have docs for that!
6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
8 ---
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
10 $tags:
11   - 'Core :: Graphics'
13 paint:
14   build_displaylist_time:
15     type: timing_distribution
16     description: >
17       The time to build a Gecko display list.
18     bugs:
19       - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
20     data_reviews:
21       - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
22     data_sensitivity:
23       - technical
24     notification_emails:
25       - gfx-telemetry-alerts@mozilla.com
26       - mwoodrow@mozilla.com
27     expires: never
29 gpu_process:
30   feature_status:
31     type: string
32     description: >
33       Current status of the GPU process feature
34     bugs:
35       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
36     data_reviews:
37       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
38     data_sensitivity:
39       - technical
40     notification_emails:
41       - gfx-telemetry-alerts@mozilla.com
42       - jnicol@mozilla.com
43     expires: never
44   crash_fallbacks:
45     type: labeled_counter
46     description: >
47       How often we use different fallbacks when the GPU process crashes
48     labels:
49       - none
50       - decoding_disabled
51       - disabled
52     bugs:
53       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
54     data_reviews:
55       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
56     data_sensitivity:
57       - technical
58     notification_emails:
59       - gfx-telemetry-alerts@mozilla.com
60       - jnicol@mozilla.com
61     expires: never
62   total_launch_attempts:
63     type: quantity
64     description: >
65       The number of total GPU process launch attempts.
66     unit: launches
67     bugs:
68       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
69     data_reviews:
70       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
71     data_sensitivity:
72       - technical
73     notification_emails:
74       - gfx-telemetry-alerts@mozilla.com
75       - jnicol@mozilla.com
76     expires: never
77   unstable_launch_attempts:
78     type: quantity
79     description: >
80       The number of consecutive unstable launch attempts.
81     unit: launches
82     bugs:
83       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
84     data_reviews:
85       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
86     data_sensitivity:
87       - technical
88     notification_emails:
89       - gfx-telemetry-alerts@mozilla.com
90       - jnicol@mozilla.com
91     expires: never
93   launch_time:
94     type: timing_distribution
95     description: >
96       GPU process launch time in milliseconds
98       This metric was generated to correspond to the Legacy Telemetry
99       exponential histogram GPU_PROCESS_LAUNCH_TIME_MS_2.
100     time_unit: millisecond
101     bugs:
102       - https://bugzilla.mozilla.org/show_bug.cgi?id=1297790
103       - https://bugzilla.mozilla.org/show_bug.cgi?id=1317796
104       - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
105     data_reviews:
106       - https://bugzilla.mozilla.org/show_bug.cgi?id=1297790
107       - https://bugzilla.mozilla.org/show_bug.cgi?id=1317796
108       - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
109     notification_emails:
110       - gfx-telemetry-alerts@mozilla.com
111       - rhunt@mozilla.com
112       - dbolter@mozilla.com
113     expires: never
114     telemetry_mirror: GPU_PROCESS_LAUNCH_TIME_MS_2
116   initialization_time:
117     type: timing_distribution
118     description: >
119       GPU process initialization (excluding XPCOM and fork time) time in
120       milliseconds
122       This metric was generated to correspond to the Legacy Telemetry
123       exponential histogram GPU_PROCESS_INITIALIZATION_TIME_MS.
124     time_unit: millisecond
125     bugs:
126       - https://bugzilla.mozilla.org/show_bug.cgi?id=1324095
127       - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
128     data_reviews:
129       - https://bugzilla.mozilla.org/show_bug.cgi?id=1324095
130       - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
131     notification_emails:
132       - gfx-telemetry-alerts@mozilla.com
133       - rhunt@mozilla.com
134       - dbolter@mozilla.com
135     expires: never
136     telemetry_mirror: GPU_PROCESS_INITIALIZATION_TIME_MS
139   gpu_wait_time:
140     type: timing_distribution
141     description: >
142       The time spent waiting for the GPU to complete previously issued drawing
143       commands.
144     time_unit: microsecond
145     bugs:
146       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772216
147     data_reviews:
148       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772216
149     data_sensitivity:
150       - technical
151     notification_emails:
152       - gfx-telemetry-alerts@mozilla.com
153     expires: never
155   rasterize_glyphs_time:
156     type: timing_distribution
157     description: >
158       The time to rasterize glyphs for consumption by WebRender.
159     time_unit: microsecond
160     bugs:
161       - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
162     data_reviews:
163       - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
164     data_sensitivity:
165       - technical
166     notification_emails:
167       - gfx-telemetry-alerts@mozilla.com
168     expires: never
170   rasterize_blobs_time:
171     type: timing_distribution
172     description: >
173       The time to rasterize blobs for consumption by WebRender.
174     time_unit: microsecond
175     bugs:
176       - https://bugzilla.mozilla.org/show_bug.cgi?id=1770974
177     data_reviews:
178       - https://bugzilla.mozilla.org/show_bug.cgi?id=1770974
179     data_sensitivity:
180       - technical
181     notification_emails:
182       - gfx-telemetry-alerts@mozilla.com
183     expires: never
185   renderer_time:
186     type: timing_distribution
187     description: >
188       WebRender renderer time.
189     time_unit: microsecond
190     bugs:
191       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
192     data_reviews:
193       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
194     data_sensitivity:
195       - technical
196     notification_emails:
197       - gfx-telemetry-alerts@mozilla.com
198     expires: never
200   renderer_time_no_sc:
201     type: timing_distribution
202     description: >
203       WebRender renderer time excluding frames in which shader compilation took
204       place.
205     time_unit: microsecond
206     bugs:
207       - https://bugzilla.mozilla.org/show_bug.cgi?id=1784286
208     data_reviews:
209       - https://bugzilla.mozilla.org/show_bug.cgi?id=1784286
210     data_sensitivity:
211       - technical
212     notification_emails:
213       - gfx-telemetry-alerts@mozilla.com
214     expires: never
216   framebuild_time:
217     type: timing_distribution
218     description: >
219       The time to rasterize glyphs for consumption by WebRender.
220     time_unit: microsecond
221     bugs:
222       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
223       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
224     data_reviews:
225       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
226       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
227     data_sensitivity:
228       - technical
229     notification_emails:
230       - gfx-telemetry-alerts@mozilla.com
231       - jmuizelaar@mozilla.com
232     expires: never
234   scenebuild_time:
235     type: timing_distribution
236     description: >
237       WebRender scene build time.
238     time_unit: microsecond
239     bugs:
240       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
241     data_reviews:
242       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
243     data_sensitivity:
244       - technical
245     notification_emails:
246       - gfx-telemetry-alerts@mozilla.com
247       - jmuizelaar@mozilla.com
248     expires: never
250   sceneswap_time:
251     type: timing_distribution
252     description: >
253       WebRender scene swap time.
254     time_unit: microsecond
255     bugs:
256       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
257     data_reviews:
258       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
259     data_sensitivity:
260       - technical
261     notification_emails:
262       - gfx-telemetry-alerts@mozilla.com
263       - jmuizelaar@mozilla.com
264     expires: never
266   texture_cache_update_time:
267     type: timing_distribution
268     description: >
269       Time taken by WebRender to update the texture cache.
270     time_unit: microsecond
271     bugs:
272       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
273     data_reviews:
274       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
275     data_sensitivity:
276       - technical
277     notification_emails:
278       - gfx-telemetry-alerts@mozilla.com
279     expires: never
281   time_to_frame_build:
282     type: timing_distribution
283     description: >
284       Time elapsed between the construction of a transaction and the
285       associated frame build beginning.
286     time_unit: microsecond
287     bugs:
288       - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
289     data_reviews:
290       - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
291     data_sensitivity:
292       - technical
293     notification_emails:
294       - gfx-telemetry-alerts@mozilla.com
295     expires: never
297   time_to_render_start:
298     type: timing_distribution
299     description: >
300       Time elapsed between the construction of a frame and the start of
301       rendering.
302     time_unit: microsecond
303     bugs:
304       - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
305     data_reviews:
306       - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
307     data_sensitivity:
308       - technical
309     notification_emails:
310       - gfx-telemetry-alerts@mozilla.com
311     expires: never
313 gfx:
314   composite_time:
315     type: timing_distribution
316     time_unit: millisecond
317     telemetry_mirror: COMPOSITE_TIME
318     description: >
319       The time taken to composite a frame.
320       On non-webrender this is the time taken in
321       `CompositorBridgeParent::CompositeToTarget()`.
322       On webrender, this is the time taken from the start of
323       `WebRenderBridgeParent::CompositeToTarget()`,
324       until the render thread has rendered the frame (in
325       `RenderThread::HandleFrameOneDoc()`).
326       (Migrated from the geckoview metric of the same name).
327     bugs:
328       - https://bugzilla.mozilla.org/show_bug.cgi?id=1080160
329       - https://bugzilla.mozilla.org/show_bug.cgi?id=1529352
330       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580129
331       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
332     data_reviews:
333       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580129#c7
334     notification_emails:
335       - gfx-telemetry-alerts@mozilla.com
336       - jnicol@mozilla.com
337     expires: never
339   scroll_present_latency:
340     type: timing_distribution
341     time_unit: millisecond
342     description: >
343       Time between receiving a scroll
344       event on the event loop and compositing
345       its result onto the screen (ms).
346       (Migrated from the geckoview metric of the same name).
347     telemetry_mirror: SCROLL_PRESENT_LATENCY
348     bugs:
349       - https://bugzilla.mozilla.org/show_bug.cgi?id=1604818
350       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
351     data_reviews:
352       - https://bugzilla.mozilla.org/show_bug.cgi?id=1604818#c4
353     notification_emails:
354       - sefeng@mozilla.com
355       - perf-telemetry-alerts@mozilla.com
356     expires: never
358   skipped_composites:
359     type: counter
360     description: >
361       Number of skipped composites, happening when rendering is too slow
362       to keep up with content.
363       This metric was generated to correspond to the Legacy Telemetry
364       scalar gfx.skipped_composites.
365     bugs:
366       - https://bugzil.la/1797975
367     data_reviews:
368       - https://bugzil.la/1797975
369     notification_emails:
370       - gfx-telemetry-alerts@mozilla.com
371       - perf-telemetry-alerts@mozilla.com
372     expires: never
373     telemetry_mirror: GFX_SKIPPED_COMPOSITES
375   os_compositor:
376     type: boolean
377     description: >
378       Boolean indicating whether the os compositor is being used by
379       WebRender. Only collected in the first subsession.
380       This metric was generated to correspond to the Legacy Telemetry
381       scalar gfx.os_compositor.
382     bugs:
383       - https://bugzil.la/1623492
384     data_reviews:
385       - https://bugzil.la/1623492
386     notification_emails:
387       - gfx-telemetry-alerts@mozilla.com
388       - jmuizelaar@mozilla.com
389     expires: never
390     telemetry_mirror: GFX_OS_COMPOSITOR
392   linux_window_protocol:
393     type: string
394     description: >
395       Windowing protocol on Linux. Can be Wayland, WaylandDRM, XWayland,
396       or X11
397       This metric was generated to correspond to the Legacy Telemetry
398       scalar gfx.linux_window_protocol.
399     bugs:
400       - https://bugzil.la/1645732
401     data_reviews:
402       - https://bugzil.la/1645732
403     notification_emails:
404       - gfx-telemetry-alerts@mozilla.com
405       - aosmond@mozilla.com
406       - mkaply@mozilla.com
407     expires: never
408     telemetry_mirror: GFX_LINUX_WINDOW_PROTOCOL
410   supports_hdr:
411     type: boolean
412     description: >
413       Does the hardware support accurate display of HDR content
414       This metric was generated to correspond to the Legacy Telemetry
415       scalar gfx.supports_hdr.
416     bugs:
417       - https://bugzil.la/1798067
418     data_reviews:
419       - https://bugzil.la/1798067
420     notification_emails:
421       - gfx-telemetry-alerts@mozilla.com
422       - bwerth@mozilla.com
423     expires: never
424     telemetry_mirror: GFX_SUPPORTS_HDR
426 gfx.display:
427   count:
428     description: >
429       Amount of displays connected to the device
430       (Migrated from the geckoview metric of the same name).
431     type: quantity
432     unit: Display count
433     # Temporary misuse of the user lifetime approved by Glean team
434     # due to limitations in Geckoview streaming telemetry.
435     # DO NOT DUPLICATE unless approved by Glean team.
436     lifetime: user
437     bugs:
438       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
439       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
440       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
441     data_reviews:
442       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
443     notification_emails:
444       - gfx-telemetry-alerts@mozilla.com
445     expires: never
446   primary_width:
447     description: >
448       Width of the primary display, takes device rotation into account.
449       (Migrated from the geckoview metric of the same name).
450     type: quantity
451     unit: Pixels
452     # Temporary misuse of the user lifetime approved by Glean team
453     # due to limitations in Geckoview streaming telemetry.
454     # DO NOT DUPLICATE unless approved by Glean team.
455     lifetime: user
456     bugs:
457       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
458       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
459       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
460     data_reviews:
461       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
462     notification_emails:
463       - gfx-telemetry-alerts@mozilla.com
464     expires: never
465   primary_height:
466     description: >
467       Height of the primary display, takes device rotation into account.
468       (Migrated from the geckoview metric of the same name).
469     type: quantity
470     unit: Pixels
471     # Temporary misuse of the user lifetime approved by Glean team
472     # due to limitations in Geckoview streaming telemetry.
473     # DO NOT DUPLICATE unless approved by Glean team.
474     lifetime: user
475     bugs:
476       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
477       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
478       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
479     data_reviews:
480       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
481     notification_emails:
482       - gfx-telemetry-alerts@mozilla.com
483     expires: never
486 gfx.checkerboard:
487   duration:
488     type: timing_distribution
489     time_unit: millisecond
490     telemetry_mirror: CHECKERBOARD_DURATION
491     description: >
492       The duration of a checkerboard event.
493       Checkerboarding is when painting has not kept up with asynchronous
494       panning and zooming so the compositor has to display a "checkerboard
495       pattern" (or in practice, the background color) rather than the actual
496       page content.
497       (Migrated from the geckoview metric of the same name).
498     bugs:
499       - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
500       - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
501       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
502       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
503     data_reviews:
504       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
505     notification_emails:
506       - gfx-telemetry-alerts@mozilla.com
507       - botond@mozilla.com
508     expires: never
510   peak_pixel_count:
511     type: custom_distribution
512     range_max: 66355200
513     bucket_count: 50
514     histogram_type: exponential
515     unit: Pixels
516     telemetry_mirror: CHECKERBOARD_PEAK
517     description: >
518       The peak number of CSS pixels that checkerboarded during a checkerboard
519       event. The minimum value of the largest histogram bucket is the size of
520       a 4k display with maximum APZ zooming.
521       (Migrated from the geckoview metric of the same name).
522     bugs:
523       - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
524       - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
525       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
526       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
527     data_reviews:
528       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
529     notification_emails:
530       - gfx-telemetry-alerts@mozilla.com
531       - botond@mozilla.com
532     expires: never
534   potential_duration:
535     type: timing_distribution
536     time_unit: millisecond
537     telemetry_mirror: CHECKERBOARD_POTENTIAL_DURATION
538     description: >
539       The total amount of time that we could reasonably be checkerboarding.
540       This is the union of two possibly-intersecting sets of time periods:
541       The first set is that in which checkerboarding was actually happening,
542       since by definition it could potentially be happening.
543       The second set is that in which the APZC is actively transforming content
544       in the compositor, since it could potentially transform it so as to
545       display checkerboarding to the user. Combined with other information,
546       this allows us to meaningfully say how frequently users actually
547       enncounters checkerboarding.
548       (Migrated from the geckoview metric of the same name).
549     bugs:
550       - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
551       - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
552       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
553       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
554     data_reviews:
555       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
556     notification_emails:
557       - gfx-telemetry-alerts@mozilla.com
558       - botond@mozilla.com
559     expires: never
561   severity:
562     type: custom_distribution
563     range_max: 1073741824
564     bucket_count: 50
565     histogram_type: exponential
566     unit: Opaque unit
567     telemetry_mirror: CHECKERBOARD_SEVERITY
568     description: >
569       An opaque measurement of the severity of a checkerboard event.
570       This doesn't have units, it's just useful for comparing two checkerboard
571       events to see which one is worse, for some implementation-specific
572       definition of "worse". The larger the value, the worse the
573       checkerboarding.
574       (Migrated from the geckoview metric of the same name).
575     bugs:
576       - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
577       - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
578       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
579       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
580     data_reviews:
581       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
582     notification_emails:
583       - gfx-telemetry-alerts@mozilla.com
584       - botond@mozilla.com
585     expires: never
587 gfx.feature:
588   webrender:
589     type: string
590     description: >
591       Whether webrender is enabled or disabled, and why.
592       (Migrated from the geckoview metric of the same name).
593     lifetime: application
594     bugs:
595       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687312
596       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
597     data_reviews:
598       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687312#c5
599     notification_emails:
600       - gfx-telemetry-alerts@mozilla.com
601       - jnicol@mozilla.com
602     expires: never
604 gfx.status:
605   compositor:
606     description: >
607       Name of the graphics compositor in use.
608       Possible values are "opengl, d3d11, client, webrender or basic"
609       (Migrated from the geckoview metric of the same name).
610     type: string
611     # Temporary misuse of the user lifetime approved by Glean team
612     # due to limitations in Geckoview streaming telemetry.
613     # DO NOT DUPLICATE unless approved by Glean team.
614     lifetime: user
615     bugs:
616       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
617       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
618       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
619     data_reviews:
620       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
621     notification_emails:
622       - gfx-telemetry-alerts@mozilla.com
623     expires: never
624   last_compositor_gecko_version:
625     description: >
626       The gecko version at the last time a compositor was initialized, and
627       therefore when gfx_status_compositor was last updated. Due to
628       gfx_status_compositor's user lifetime we see lots of unexpected values for
629       the current gecko version. We believe this is because the user has not
630       opened a tab since they were updated to a version where webrender should
631       be enabled on their device. This can be used to verify that theory.
632       (Migrated from the geckoview metric of the same name).
633     type: string
634     # Temporary misuse of the user lifetime approved by Glean team
635     # due to limitations in Geckoview streaming telemetry.
636     # DO NOT DUPLICATE unless approved by Glean team.
637     lifetime: user
638     bugs:
639       - https://bugzilla.mozilla.org/show_bug.cgi?id=1704842
640       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
641     data_reviews:
642       - https://bugzilla.mozilla.org/show_bug.cgi?id=1704842#c8
643     notification_emails:
644       - jnicol@mozilla.com
645       - gfx-telemetry-alerts@mozilla.com
646     expires: never
647   headless:
648     description: >
649       Boolean indicated whether graphics is running in
650       headless (no display) mode
651       (Migrated from the geckoview metric of the same name).
652     type: boolean
653     # Temporary misuse of the user lifetime approved by Glean team
654     # due to limitations in Geckoview streaming telemetry.
655     # DO NOT DUPLICATE unless approved by Glean team.
656     lifetime: user
657     bugs:
658       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
659       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
660       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
661     data_reviews:
662       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
663     notification_emails:
664       - gfx-telemetry-alerts@mozilla.com
665     expires: never
667 gfx.content.frame_time:
668   from_paint:
669     type: custom_distribution
670     range_max: 5000
671     bucket_count: 50
672     histogram_type: exponential
673     unit: Percentage of vsync interval
674     telemetry_mirror: CONTENT_FRAME_TIME
675     description: >
676       The time, in percentage of a vsync interval, spent from beginning a paint
677       in the content process until that frame is presented in the compositor.
678       (Migrated from the geckoview metric of the same name).
679     bugs:
680       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470528
681       - https://bugzilla.mozilla.org/show_bug.cgi?id=1509536
682       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
683       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
684     data_reviews:
685       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
686     notification_emails:
687       - gfx-telemetry-alerts@mozilla.com
688       - jnicol@mozilla.com
689     expires: never
691   from_vsync:
692     type: custom_distribution
693     range_min: 8
694     range_max: 792
695     bucket_count: 100
696     histogram_type: linear
697     unit: Percentage of vsync interval
698     telemetry_mirror: CONTENT_FRAME_TIME_VSYNC
699     description: >
700       The time, in percentage of a vsync interval, spent from the vsync that
701       started a paint in the content process until that frame is presented in
702       the compositor.
703       (Migrated from the geckoview metric of the same name).
704     bugs:
705       - https://bugzilla.mozilla.org/show_bug.cgi?id=1517355
706       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
707       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
708     data_reviews:
709       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
710     notification_emails:
711       - gfx-telemetry-alerts@mozilla.com
712     expires: never
714   with_svg:
715     type: custom_distribution
716     range_max: 5000
717     bucket_count: 50
718     histogram_type: exponential
719     unit: Percentage of vsync interval
720     telemetry_mirror: CONTENT_FRAME_TIME_WITH_SVG
721     description: >
722       The time, in percentage of a vsync interval, spent from beginning a paint
723       in the content process until that frame is presented in the compositor,
724       for frames that contained an SVG to be drawn by webrender.
725       (Migrated from the geckoview metric of the same name).
726     bugs:
727       - https://bugzilla.mozilla.org/show_bug.cgi?id=1483549
728       - https://bugzilla.mozilla.org/show_bug.cgi?id=1509536
729       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
730       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
731     data_reviews:
732       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
733     notification_emails:
734       - gfx-telemetry-alerts@mozilla.com
735     expires: never
737   without_resource_upload:
738     type: custom_distribution
739     range_max: 5000
740     bucket_count: 50
741     histogram_type: exponential
742     unit: Percentage of vsync interval
743     telemetry_mirror: CONTENT_FRAME_TIME_WITHOUT_RESOURCE_UPLOAD
744     description: >
745       The time, in percentage of a vsync interval, spent from beginning a paint
746       in the content process until that frame is presented in the compositor by
747       webrender, excluding time spent uploading resources.
748       (Migrated from the geckoview metric of the same name).
749     bugs:
750       - https://bugzilla.mozilla.org/show_bug.cgi?id=1503405
751       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
752       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
753     data_reviews:
754       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
755     notification_emails:
756       - gfx-telemetry-alerts@mozilla.com
757     expires: never
759   without_upload:
760     type: custom_distribution
761     range_max: 5000
762     bucket_count: 50
763     histogram_type: exponential
764     unit: Percentage of vsync interval
765     telemetry_mirror: CONTENT_FRAME_TIME_WITHOUT_UPLOAD
766     description: >
767       The time, in percentage of a vsync interval, spent from beginning a paint
768       in the content process until that frame is presented in the compositor by
769       webrender, excluding time spent uploading any content.
770       (Migrated from the geckoview metric of the same name).
771     bugs:
772       - https://bugzilla.mozilla.org/show_bug.cgi?id=1503405
773       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
774       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
775     data_reviews:
776       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
777     notification_emails:
778       - gfx-telemetry-alerts@mozilla.com
779     expires: never
781   reason:
782     type: labeled_counter
783     labels:
784       - on_time
785       - no_vsync
786       - missed_composite
787       - slow_composite
788       - missed_composite_mid
789       - missed_composite_long
790       - missed_composite_low
791       - no_vsync_no_id
792     description: >
793       The reason that `gfx.content.frame_time.from_paint` recorded a slow
794       (>200ms) result, if any.
795       (Migrated from the geckoview metric of the same name).
796     bugs:
797       - https://bugzilla.mozilla.org/show_bug.cgi?id=1510853
798       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
799       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
800     data_reviews:
801       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
802     notification_emails:
803       - gfx-telemetry-alerts@mozilla.com
804     expires: never
806 gfx.content:
807   paint_time:
808     type: timing_distribution
809     time_unit: millisecond
810     telemetry_mirror: CONTENT_PAINT_TIME
811     description: >
812       Time spent in the main-thread paint pipeline for content.
813       For non-webrender, this includes display list building, layer building,
814       and when OMTP is disabled, rasterization.
815       For webrender, this includes display list building, and webrender display
816       list building.
817       (Migrated from the geckoview metric of the same name).
818     bugs:
819       - https://bugzilla.mozilla.org/show_bug.cgi?id=1309442
820       - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
821       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
822       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
823     data_reviews:
824       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
825     notification_emails:
826       - gfx-telemetry-alerts@mozilla.com
827     expires: never
829   full_paint_time:
830     type: timing_distribution
831     time_unit: millisecond
832     telemetry_mirror: CONTENT_FULL_PAINT_TIME
833     description: >
834       Time spent in the full paint pipeline for content until it's ready for
835       composition.
836       For non-webrender this includes `paint_time`, plus rasterization if OMTP
837       is enabled.
838       For webrender, this includes `paint_time`, plus scene building time.
839       (Migrated from the geckoview metric of the same name).
840     bugs:
841       - https://bugzilla.mozilla.org/show_bug.cgi?id=1505858
842       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
843       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
844     data_reviews:
845       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
846     notification_emails:
847       - gfx-telemetry-alerts@mozilla.com
848       - jmuizelaar@mozilla.com
849     expires: never
851 gfx.adapter.primary:
852   description:
853     description: >
854       Long form description of the Graphics adapter
855       (Migrated from the geckoview metric of the same name).
856     type: string
857     # Temporary misuse of the user lifetime approved by Glean team
858     # due to limitations in Geckoview streaming telemetry.
859     # DO NOT DUPLICATE unless approved by Glean team.
860     lifetime: user
861     bugs:
862       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
863       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
864       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
865     data_reviews:
866       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
867     notification_emails:
868       - gfx-telemetry-alerts@mozilla.com
869     expires: never
871   vendor_id:
872     description: >
873       Graphics adapter vendor identification
874       (Migrated from the geckoview metric of the same name).
875     type: string
876     # Temporary misuse of the user lifetime approved by Glean team
877     # due to limitations in Geckoview streaming telemetry.
878     # DO NOT DUPLICATE unless approved by Glean team.
879     lifetime: user
880     bugs:
881       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
882       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
883       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
884     data_reviews:
885       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
886     notification_emails:
887       - gfx-telemetry-alerts@mozilla.com
888     expires: never
890   device_id:
891     description: >
892       Graphics adapter device identification
893       (Migrated from the geckoview metric of the same name).
894     type: string
895     # Temporary misuse of the user lifetime approved by Glean team
896     # due to limitations in Geckoview streaming telemetry.
897     # DO NOT DUPLICATE unless approved by Glean team.
898     lifetime: user
899     bugs:
900       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
901       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
902       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
903     data_reviews:
904       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
905     notification_emails:
906       - gfx-telemetry-alerts@mozilla.com
907     expires: never
909   subsystem_id:
910     description: >
911       Graphics adapter subsystem identification
912       (Migrated from the geckoview metric of the same name).
913     type: string
914     # Temporary misuse of the user lifetime approved by Glean team
915     # due to limitations in Geckoview streaming telemetry.
916     # DO NOT DUPLICATE unless approved by Glean team.
917     lifetime: user
918     bugs:
919       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
920       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
921       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
922     data_reviews:
923       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
924     notification_emails:
925       - gfx-telemetry-alerts@mozilla.com
926     expires: never
928   ram:
929     description: >
930       Graphics adapter dedicated memory
931       (Migrated from the geckoview metric of the same name).
932     type: quantity
933     unit: Megabytes
934     # Temporary misuse of the user lifetime approved by Glean team
935     # due to limitations in Geckoview streaming telemetry.
936     # DO NOT DUPLICATE unless approved by Glean team.
937     lifetime: user
938     bugs:
939       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
940       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
941       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
942     data_reviews:
943       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
944     notification_emails:
945       - gfx-telemetry-alerts@mozilla.com
946     expires: never
948   driver_files:
949     description: >
950       List of graphics adapter driver files
951       (Migrated from the geckoview metric of the same name).
952     type: string
953     # Temporary misuse of the user lifetime approved by Glean team
954     # due to limitations in Geckoview streaming telemetry.
955     # DO NOT DUPLICATE unless approved by Glean team.
956     lifetime: user
957     bugs:
958       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
959       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
960       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
961     data_reviews:
962       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
963     notification_emails:
964       - gfx-telemetry-alerts@mozilla.com
965     expires: never
967   driver_vendor:
968     description: >
969       Graphics adapter driver vendor identification
970       (Migrated from the geckoview metric of the same name).
971     type: string
972     # Temporary misuse of the user lifetime approved by Glean team
973     # due to limitations in Geckoview streaming telemetry.
974     # DO NOT DUPLICATE unless approved by Glean team.
975     lifetime: user
976     bugs:
977       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
978       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
979       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
980     data_reviews:
981       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
982     notification_emails:
983       - gfx-telemetry-alerts@mozilla.com
984     expires: never
986   driver_version:
987     description: >
988       Graphics adapter driver version
989       (Migrated from the geckoview metric of the same name).
990     type: string
991     # Temporary misuse of the user lifetime approved by Glean team
992     # due to limitations in Geckoview streaming telemetry.
993     # DO NOT DUPLICATE unless approved by Glean team.
994     lifetime: user
995     bugs:
996       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
997       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
998       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
999     data_reviews:
1000       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
1001     notification_emails:
1002       - gfx-telemetry-alerts@mozilla.com
1003     expires: never
1005   driver_date:
1006     description: >
1007       Graphics adapter driver date
1008       (Migrated from the geckoview metric of the same name).
1009     type: string
1010     # Temporary misuse of the user lifetime approved by Glean team
1011     # due to limitations in Geckoview streaming telemetry.
1012     # DO NOT DUPLICATE unless approved by Glean team.
1013     lifetime: user
1014     bugs:
1015       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
1016       - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
1017       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
1018     data_reviews:
1019       - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
1020     notification_emails:
1021       - gfx-telemetry-alerts@mozilla.com
1022     expires: never
1025 performance.interaction:
1026   keypress_present_latency:
1027     type: timing_distribution
1028     time_unit: millisecond
1029     telemetry_mirror: KEYPRESS_PRESENT_LATENCY
1030     description: >
1031       Time between receiving a keypress event in the event loop and compositing
1032       its result onto the screen.
1033       (Migrated from the geckoview metric of the same name).
1034     bugs:
1035       - https://bugzilla.mozilla.org/show_bug.cgi?id=1506537
1036       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
1037       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
1038     data_reviews:
1039       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
1040     notification_emails:
1041       - perf-telemetry-alerts@mozilla.com
1042       - vchin@mozilla.com
1043     expires: never
1045   mouseup_click_present_latency:
1046     type: timing_distribution
1047     time_unit: millisecond
1048     telemetry_mirror: MOUSEUP_FOLLOWED_BY_CLICK_PRESENT_LATENCY
1049     description: >
1050       Time between receiving a mouseup which follow by a mouseclick
1051       on the event loop and compositing its result onto the screen.
1052       (Migrated from the geckoview metric of the same name).
1053     bugs:
1054       - https://bugzilla.mozilla.org/show_bug.cgi?id=1698643
1055       - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
1056     data_reviews:
1057       - https://bugzilla.mozilla.org/show_bug.cgi?id=1698643#c3
1058     notification_emails:
1059       - perf-telemetry-alerts@mozilla.com
1060       - sefeng@mozilla.com
1061     expires: never
1063 gfx.hdr:
1064   windows_display_colorspace_bitfield:
1065     type: quantity
1066     description: >
1067       A bitfield representation of the available DXGI color spaces of the
1068       connected displays on Windows. See (https://docs.microsoft.com/en-
1069       us/windows/desktop/api/dxgicommon/ne-dxgicommon-
1070       dxgi_color_space_type) for definitions of color spaces. Each N'th
1071       bit of this scalar indicates whether the DXGI color space with index
1072       'N' is available on at least one connected monitor.
1073       This metric was generated to correspond to the Legacy Telemetry
1074       scalar gfx.hdr.windows_display_colorspace_bitfield.
1075     bugs:
1076       - https://bugzil.la/1514840
1077       - https://bugzil.la/1690597
1078     data_reviews:
1079       - https://bugzil.la/1514840
1080       - https://bugzil.la/1690597
1081     notification_emails:
1082       - gfx-telemetry-alerts@mozilla.com
1083       - jmuizelaaar@mozilla.com
1084     expires: never
1085     unit: bitfield
1086     telemetry_mirror: GFX_HDR_WINDOWS_DISPLAY_COLORSPACE_BITFIELD
1087     no_lint:
1088       - UNIT_IN_NAME
1090 fontlist:
1091   initotherfamilynames:
1092     type: timing_distribution
1093     description: >
1094       Time(ms) spent on reading other family names from all fonts
1096       This metric was generated to correspond to the Legacy Telemetry
1097       exponential histogram FONTLIST_INITOTHERFAMILYNAMES.
1098     time_unit: millisecond
1099     bugs:
1100       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1101     data_reviews:
1102       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1103     notification_emails:
1104       - gfx-telemetry-alerts@mozilla.com
1105     expires: never
1106     telemetry_mirror: FONTLIST_INITOTHERFAMILYNAMES
1108   initotherfamilynames_no_deferring:
1109     type: timing_distribution
1110     description: >
1111       Time(ms) spent on reading other family names from all fonts for no timeout
1112       case
1114       This metric was generated to correspond to the Legacy Telemetry
1115       exponential histogram FONTLIST_INITOTHERFAMILYNAMES_NO_DEFERRING.
1116     time_unit: millisecond
1117     bugs:
1118       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1119     data_reviews:
1120       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1121     notification_emails:
1122       - gfx-telemetry-alerts@mozilla.com
1123     expires: never
1124     telemetry_mirror: FONTLIST_INITOTHERFAMILYNAMES_NO_DEFERRING
1126   initfacenamelists:
1127     type: timing_distribution
1128     description: >
1129       Time(ms) spent on reading family names from all fonts
1131       This metric was generated to correspond to the Legacy Telemetry
1132       exponential histogram FONTLIST_INITFACENAMELISTS.
1133     time_unit: millisecond
1134     bugs:
1135       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1136     data_reviews:
1137       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1138     notification_emails:
1139       - gfx-telemetry-alerts@mozilla.com
1140     expires: never
1141     telemetry_mirror: FONTLIST_INITFACENAMELISTS
1143   bundledfonts_activate:
1144     type: timing_distribution
1145     description: >
1146       Time(ms) spent activating additional fonts bundled with the product
1148       This metric was generated to correspond to the Legacy Telemetry
1149       exponential histogram FONTLIST_BUNDLEDFONTS_ACTIVATE.
1150     time_unit: millisecond
1151     bugs:
1152       - https://bugzilla.mozilla.org/show_bug.cgi?id=1696162
1153     data_reviews:
1154       - https://bugzilla.mozilla.org/show_bug.cgi?id=1696162
1155     notification_emails:
1156       - gfx-telemetry-alerts@mozilla.com
1157     expires: never
1158     telemetry_mirror: FONTLIST_BUNDLEDFONTS_ACTIVATE
1160   dwritefont_delayedinit_total:
1161     type: timing_distribution
1162     description: >
1163       gfxDWriteFontList::DelayedInitFontList Total (ms)
1165       This metric was generated to correspond to the Legacy Telemetry
1166       exponential histogram DWRITEFONT_DELAYEDINITFONTLIST_TOTAL.
1167     time_unit: millisecond
1168     bugs:
1169       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1170     data_reviews:
1171       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1172     notification_emails:
1173       - gfx-telemetry-alerts@mozilla.com
1174     expires: never
1175     telemetry_mirror: DWRITEFONT_DELAYEDINITFONTLIST_TOTAL
1177   dwritefont_delayedinit_count:
1178     type: custom_distribution
1179     description: >
1180       gfxDWriteFontList::DelayedInitFontList Font Family Count
1182       This metric was generated to correspond to the Legacy Telemetry
1183       exponential histogram DWRITEFONT_DELAYEDINITFONTLIST_COUNT.
1184     range_min: 1
1185     range_max: 10000
1186     bucket_count: 10
1187     histogram_type: exponential
1188     unit: font family count
1189     bugs:
1190       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1191     data_reviews:
1192       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1193     notification_emails:
1194       - gfx-telemetry-alerts@mozilla.com
1195     expires: never
1196     telemetry_mirror: DWRITEFONT_DELAYEDINITFONTLIST_COUNT
1198   dwritefont_delayedinit_collect:
1199     type: timing_distribution
1200     description: >
1201       gfxDWriteFontList::DelayedInitFontList GetSystemFontCollection (ms)
1203       This metric was generated to correspond to the Legacy Telemetry
1204       exponential histogram DWRITEFONT_DELAYEDINITFONTLIST_COLLECT.
1205     time_unit: millisecond
1206     bugs:
1207       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1208     data_reviews:
1209       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1210     notification_emails:
1211       - gfx-telemetry-alerts@mozilla.com
1212     expires: never
1213     telemetry_mirror: DWRITEFONT_DELAYEDINITFONTLIST_COLLECT
1215   dwritefont_init_problem:
1216     type: custom_distribution
1217     description: >
1218       DirectWrite system fontlist initialization problem (1=GDI interop,
1219       2=system font collection, 3=no fonts)
1221       This metric was generated to correspond to the Legacy Telemetry enumerated
1222       histogram DWRITEFONT_INIT_PROBLEM.
1223     range_min: 0
1224     range_max: 8
1225     bucket_count: 9
1226     histogram_type: linear
1227     bugs:
1228       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1229     data_reviews:
1230       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1231     notification_emails:
1232       - gfx-telemetry-alerts@mozilla.com
1233     expires: never
1234     telemetry_mirror: DWRITEFONT_INIT_PROBLEM
1236   system_font_fallback:
1237     type: timing_distribution
1238     description: >
1239       System font fallback (us)
1241       This metric was generated to correspond to the Legacy Telemetry
1242       exponential histogram SYSTEM_FONT_FALLBACK.
1243     time_unit: microsecond
1244     bugs:
1245       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1246     data_reviews:
1247       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1248     notification_emails:
1249       - gfx-telemetry-alerts@mozilla.com
1250     expires: never
1251     telemetry_mirror: SYSTEM_FONT_FALLBACK
1253   system_font_fallback_first:
1254     type: timing_distribution
1255     description: >
1256       System font fallback, first call (ms)
1258       This metric was generated to correspond to the Legacy Telemetry
1259       exponential histogram SYSTEM_FONT_FALLBACK_FIRST.
1260     time_unit: millisecond
1261     bugs:
1262       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1263     data_reviews:
1264       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1265     notification_emails:
1266       - gfx-telemetry-alerts@mozilla.com
1267     expires: never
1268     telemetry_mirror: SYSTEM_FONT_FALLBACK_FIRST
1270   font_cache_hit:
1271     type: labeled_counter
1272     description: >
1273       font cache hit
1275       This metric was generated to correspond to the Legacy Telemetry boolean
1276       histogram FONT_CACHE_HIT.
1277     labels:
1278       - "false"
1279       - "true"
1280     bugs:
1281       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1282     data_reviews:
1283       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1284     notification_emails:
1285       - gfx-telemetry-alerts@mozilla.com
1286     expires: never
1287     telemetry_mirror: h#FONT_CACHE_HIT
1289   bad_fallback_font:
1290     type: labeled_counter
1291     description: >
1292       system fallback font can't be used
1294       This metric was generated to correspond to the Legacy Telemetry boolean
1295       histogram BAD_FALLBACK_FONT.
1296     labels:
1297       - "false"
1298       - "true"
1299     bugs:
1300       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1301     data_reviews:
1302       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1303     notification_emails:
1304       - gfx-telemetry-alerts@mozilla.com
1305     expires: never
1306     telemetry_mirror: h#BAD_FALLBACK_FONT
1308   gdi_init_total:
1309     type: timing_distribution
1310     description: >
1311       gfxGDIFontList::InitFontList Total (ms)
1313       This metric was generated to correspond to the Legacy Telemetry
1314       exponential histogram GDI_INITFONTLIST_TOTAL.
1315     time_unit: millisecond
1316     bugs:
1317       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1318     data_reviews:
1319       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1320     notification_emails:
1321       - gfx-telemetry-alerts@mozilla.com
1322     expires: never
1323     telemetry_mirror: GDI_INITFONTLIST_TOTAL
1325   mac_init_total:
1326     type: timing_distribution
1327     description: >
1328       gfxMacPlatformFontList::InitFontList Total (ms)
1330       This metric was generated to correspond to the Legacy Telemetry
1331       exponential histogram MAC_INITFONTLIST_TOTAL.
1332     time_unit: millisecond
1333     bugs:
1334       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1335     data_reviews:
1336       - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
1337     notification_emails:
1338       - gfx-telemetry-alerts@mozilla.com
1339     expires: never
1340     telemetry_mirror: MAC_INITFONTLIST_TOTAL