Backed out changeset f594e6f00208 (bug 1940883) for causing crashes in bug 1941164.
[gecko.git] / dom / metrics.yaml
bloba19f3ae20d9e8ef49308ca609905a8d605aa2434
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 :: DOM: Core & HTML'
13 perf:
14   largest_contentful_paint:
15     type: timing_distribution
16     time_unit: millisecond
17     description: >
18         Time from navigation start to largest contentful paint.
19     bugs:
20       - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939
21     data_reviews:
22       - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939#c5
23     notification_emails:
24       - perf-telemetry-alerts@mozilla.com
25     expires: never
26     telemetry_mirror: PERF_LARGEST_CONTENTFUL_PAINT_MS
27   largest_contentful_paint_from_response_start:
28     type: timing_distribution
29     time_unit: millisecond
30     description: >
31         Time from response start to largest contentful paint.
32     bugs:
33       - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939
34     data_reviews:
35       - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939#c5
36     notification_emails:
37       - perf-telemetry-alerts@mozilla.com
38     expires: never
39     telemetry_mirror: PERF_LARGEST_CONTENTFUL_PAINT_FROM_RESPONSE_START_MS
40   page_load:
41     type: event
42     description: >
43         Recorded when a top level content document has been loaded.
44     bugs:
45       - https://bugzilla.mozilla.org/show_bug.cgi?id=1759744
46       - https://bugzilla.mozilla.org/show_bug.cgi?id=1799727
47       - https://bugzilla.mozilla.org/show_bug.cgi?id=1834774
48       - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939
49       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892231
50       - https://bugzilla.mozilla.org/show_bug.cgi?id=1923894
51     data_reviews:
52       - https://bugzilla.mozilla.org/show_bug.cgi?id=1759744#c5
53       - https://bugzilla.mozilla.org/show_bug.cgi?id=1799727#c4
54       - https://bugzilla.mozilla.org/show_bug.cgi?id=1834774#c3
55       - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939#c5
56       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892231#c3
57     notification_emails:
58       - perf-telemetry-alerts@mozilla.com
59       - dpalmeiro@mozilla.com
60     expires: never
61     extra_keys:
62       load_time:
63         description:
64           "Time between loadEventStart and navigationStart, in ms."
65         type: quantity
66         unit: ms
67       dns_lookup_time:
68         description:
69           "Time taken to perform dns lookup of the top level document, in ms."
70         type: quantity
71         unit: ms
72       time_to_request_start:
73         description:
74           "Time between requestStart and navigationStart, in ms."
75         type: quantity
76         unit: ms
77       response_time:
78         description:
79           "Time between responseStart and navigationStart, in ms."
80         type: quantity
81         unit: ms
82       fcp_time:
83         description:
84           "Time between firstContentfulPaint and navigationStart, in ms."
85         type: quantity
86         unit: ms
87       lcp_time:
88         description:
89           "Time between largestContentfulPaint and navigationStart, at the point of onLoad firing, in ms. This may differ from the final LCP value as reported through the LCP histogram."
90         type: quantity
91         unit: ms
92       js_exec_time:
93         description:
94           "Time spent executing JS during page load, in ms."
95         type: quantity
96         unit: ms
97       redirect_time:
98         type: quantity
99         description:
100           "Time spent in redirections for the top level document."
101         unit: ms
102       redirect_count:
103         description:
104           "Number of redirections for the top level document."
105         type: quantity
106         unit: integer
107       load_type:
108         description:
109           "One of normal,reload,stop,link,history,error or other."
110         type: string
111       same_origin_nav:
112         description:
113           "If true, a normal navigation was performed on the same origin."
114         type: boolean
115       using_webdriver:
116         description:
117           "If true, a webdriver is running on the client."
118         type: boolean
119       http_ver:
120         description:
121           "Version of HTTP protocol used."
122         type: quantity
123         unit: integer
124       trr_domain:
125         description:
126           "TRR domain used."
127         type: string
128       features:
129         description:
130           "Bitfield of features in use within this document:
131             1 - fetchpriority applied to images"
132         type: quantity
133         unit: integer
134     send_in_pings:
135       - pageload
137 performance.pageload:
138   load_time:
139     type: timing_distribution
140     time_unit: millisecond
141     telemetry_mirror: PERF_PAGE_LOAD_TIME_MS
142     description: >
143       Time in milliseconds from navigationStart to loadEventStart
144       for the foreground http or https root content document.
145       (Migrated from the geckoview metric of the same name).
146     bugs:
147       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
148       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
149     data_reviews:
150       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
151     notification_emails:
152       - dpalmeiro@mozilla.com
153       - perf-telemetry-alerts@mozilla.com
154     expires: never
156   load_time_responsestart:
157     type: timing_distribution
158     time_unit: millisecond
159     telemetry_mirror: PERF_PAGE_LOAD_TIME_FROM_RESPONSESTART_MS
160     description: >
161       Time in milliseconds from responseStart to loadEventStart
162       for the foreground http or https root content document.
163       (Migrated from the geckoview metric of the same name).
164     bugs:
165       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
166       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
167     data_reviews:
168       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
169     notification_emails:
170       - dpalmeiro@mozilla.com
171       - perf-telemetry-alerts@mozilla.com
172     expires: never
174   fcp:
175     type: timing_distribution
176     time_unit: millisecond
177     telemetry_mirror: PERF_FIRST_CONTENTFUL_PAINT_MS
178     description: >
179       The time between navigationStart and the first contentful paint
180       of a foreground http or https root content document, in
181       milliseconds. The contentful paint timestamp is taken during
182       display list building and does not include rasterization or
183       compositing of that paint.
184       (Migrated from the geckoview metric of the same name).
185     bugs:
186       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
187       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
188     data_reviews:
189       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
190     notification_emails:
191       - dpalmeiro@mozilla.com
192       - perf-telemetry-alerts@mozilla.com
193     expires: never
195   fcp_responsestart:
196     type: timing_distribution
197     time_unit: millisecond
198     telemetry_mirror: PERF_FIRST_CONTENTFUL_PAINT_FROM_RESPONSESTART_MS
199     description: >
200       The time between responseStart and the first contentful paint
201       of a foreground http or https root content document, in
202       milliseconds. The contentful paint timestamp is taken during
203       display list building and does not include rasterization or
204       compositing of that paint.
205       (Migrated from the geckoview metric of the same name).
206     bugs:
207       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
208       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
209     data_reviews:
210       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
211     notification_emails:
212       - dpalmeiro@mozilla.com
213       - perf-telemetry-alerts@mozilla.com
214     expires: never
216   http3_fcp_http3: &http3_fcp_http3
217     type: timing_distribution
218     time_unit: millisecond
219     description: >
220         The time between navigationStart and the first contentful paint of
221         a foreground http or https root content document, in milliseconds.
222         The contentful paint timestamp is taken during display list building
223         and does not include rasterization or compositing of that paint.
224         This is collected only on page load where the main document uses or suppports HTTP3.
225     bugs:
226       - https://bugzilla.mozilla.org/show_bug.cgi?id=1675503
227       - https://bugzilla.mozilla.org/show_bug.cgi?id=1898245
228     data_reviews:
229       - https://bugzilla.mozilla.org/show_bug.cgi?id=1898245
230     notification_emails:
231       - necko@mozilla.com
232       - perf-telemetry-alerts@mozilla.com
233     expires: never
235   http3_fcp_supports_http3:
236     <<: *http3_fcp_http3
237     description: >
238         The time between navigationStart and the first contentful paint of
239         a foreground http or https root content document, in milliseconds.
240         The contentful paint timestamp is taken during display list building
241         and does not include rasterization or compositing of that paint.
242         This is collected only on page load where the main document supports but is not using HTTP3.
244   h3p_fcp_with_priority: &h3p_fcp_with_priority
245     type: timing_distribution
246     time_unit: millisecond
247     description: >
248         The time between navigationStart and the first contentful paint of
249         a foreground http or https root content document, in milliseconds.
250         The contentful paint timestamp is taken during display list
251         building and does not include rasterization or compositing of that paint.
252         This is collected only on page load where the main document uses HTTP3.
253         A "priority" header has been received.
254     bugs:
255       - https://bugzilla.mozilla.org/show_bug.cgi?id=1743965
256       - https://bugzilla.mozilla.org/show_bug.cgi?id=1796398
257       - https://bugzilla.mozilla.org/show_bug.cgi?id=1898245
258     data_reviews:
259       - https://bugzilla.mozilla.org/show_bug.cgi?id=1898245
260     notification_emails:
261       - necko@mozilla.com
262       - perf-telemetry-alerts@mozilla.com
263     expires: never
265   http3_fcp_without_priority:
266     <<: *h3p_fcp_with_priority
267     description: >
268         The time between navigationStart and the first contentful paint of
269         a foreground http or https root content document, in milliseconds.
270         The contentful paint timestamp is taken during display list
271         building and does not include rasterization or compositing of that paint.
272         This is collected only on page load where the main document uses HTTP3.
273         A "priority" header has not been received.
275 performance.time:
276   dom_interactive:
277     type: timing_distribution
278     time_unit: millisecond
279     telemetry_mirror: TIME_TO_DOM_INTERACTIVE_MS
280     description: >
281       Time from navigationStart to domInteractive as per the W3C
282       Performance Timing API.
283       (Migrated from the geckoview metric of the same name.)
284     bugs:
285       - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
286       - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
287       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
288       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
289     data_reviews:
290       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
291     notification_emails:
292       - vgosu@mozilla.com
293       - perf-telemetry-alerts@mozilla.com
294     expires: never
296   dom_content_loaded_start:
297     type: timing_distribution
298     time_unit: millisecond
299     telemetry_mirror: TIME_TO_DOM_CONTENT_LOADED_START_MS
300     description: >
301       Time from navigationStart to domContentLoadedEventStart as per
302       the W3C Performance Timing API.
303       (Migrated from the geckoview metric of the same name.)
304     bugs:
305       - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
306       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
307       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
308     data_reviews:
309       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
310     notification_emails:
311       - perf-telemetry-alerts@mozilla.com
312       - bdekoz@mozilla.com
313     expires: never
315   dom_content_loaded_end:
316     type: timing_distribution
317     time_unit: millisecond
318     telemetry_mirror: TIME_TO_DOM_CONTENT_LOADED_END_MS
319     description: >
320       Time from navigationStart to domContentLoadedEventEnd as per
321       the W3C Performance Timing API.
322       (Migrated from the geckoview metric of the same name.)
323     bugs:
324       - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
325       - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
326       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
327       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
328     data_reviews:
329       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
330     notification_emails:
331       - vchin@mozilla.com
332       - perf-telemetry-alerts@mozilla.com
333     expires: never
335   dom_complete:
336     type: timing_distribution
337     time_unit: millisecond
338     telemetry_mirror: TIME_TO_DOM_COMPLETE_MS
339     description: >
340       Time from navigationStart to domComplete as per the W3C Performance
341       Timing API.
342       (Migrated from the geckoview metric of the same name.)
343     bugs:
344       - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
345       - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
346       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
347       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
348     data_reviews:
349       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
350     notification_emails:
351       - vgosu@mozilla.com
352       - perf-telemetry-alerts@mozilla.com
353     expires: never
355   load_event_start:
356     type: timing_distribution
357     time_unit: millisecond
358     telemetry_mirror: TIME_TO_LOAD_EVENT_START_MS
359     description: >
360       Time from navigationStart to loadEventStart as per the W3C Performance
361       Timing API.
362       (Migrated from the geckoview metric of the same name.)
363     bugs:
364       - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
365       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
366       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
367     data_reviews:
368       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
369     notification_emails:
370       - perf-telemetry-alerts@mozilla.com
371       - bdekoz@mozilla.com
372     expires: never
374   load_event_end:
375     type: timing_distribution
376     time_unit: millisecond
377     telemetry_mirror: TIME_TO_LOAD_EVENT_END_MS
378     description: >
379       Time from navigationStart to loadEventEnd as per the W3C Performance
380       Timing API.
381       (Migrated from the geckoview metric of the same name.)
382     bugs:
383       - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
384       - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
385       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
386       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
387     data_reviews:
388       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
389     notification_emails:
390       - vchin@mozilla.com
391       - perf-telemetry-alerts@mozilla.com
392     expires: never
395 performance.page:
396   non_blank_paint:
397     type: timing_distribution
398     time_unit: millisecond
399     telemetry_mirror: TIME_TO_NON_BLANK_PAINT_MS
400     description: >
401       The time between navigationStart and the first non-blank paint of a
402       foreground root content document, in milliseconds. This only records
403       documents that were in an active docshell throughout the whole time
404       between navigation start and non-blank paint. The non-blank paint
405       timestamp is taken during display list building and does not include
406       rasterization or compositing of that paint.
407       (Migrated from the geckoview metric of the same name.)
408     bugs:
409       - https://bugzilla.mozilla.org/show_bug.cgi?id=1307242
410       - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
411       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
412       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
413     data_reviews:
414       - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
415     notification_emails:
416       - vchin@mozilla.com
417       - perf-telemetry-alerts@mozilla.com
418     expires: never
421 javascript.pageload:
422   execution_time:
423     type: timing_distribution
424     time_unit: millisecond
425     telemetry_mirror: JS_PAGELOAD_EXECUTION_MS
426     description: >
427       Time spent during page load executing Javascript in ms.
428       (Migrated from the geckoview metric of the same name.)
429     bugs:
430       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
431       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
432     data_reviews:
433       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
434     notification_emails:
435       - dpalmeiro@mozilla.com
436       - perf-telemetry-alerts@mozilla.com
437     expires: never
439   delazification_time:
440     type: timing_distribution
441     time_unit: millisecond
442     telemetry_mirror: JS_PAGELOAD_DELAZIFICATION_MS
443     description: >
444       Time spent during page load delazifying Javascript in ms.
445       (Migrated from the geckoview metric of the same name.)
446     bugs:
447       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
448       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
449     data_reviews:
450       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
451     notification_emails:
452       - dpalmeiro@mozilla.com
453       - perf-telemetry-alerts@mozilla.com
454     expires: never
456   xdr_encode_time:
457     type: timing_distribution
458     time_unit: millisecond
459     telemetry_mirror: JS_PAGELOAD_XDR_ENCODING_MS
460     description: >
461       Time spent during page load XDR encoding Javascript in ms.
462       (Migrated from the geckoview metric of the same name.)
463     bugs:
464       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
465       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
466     data_reviews:
467       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
468     notification_emails:
469       - dpalmeiro@mozilla.com
470       - perf-telemetry-alerts@mozilla.com
471     expires: never
473   baseline_compile_time:
474     type: timing_distribution
475     time_unit: millisecond
476     telemetry_mirror: JS_PAGELOAD_BASELINE_COMPILE_MS
477     description: >
478       Time spent during page load baseline compiling Javascript in ms.
479       (Migrated from the geckoview metric of the same name.)
480     bugs:
481       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
482       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
483     data_reviews:
484       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
485     notification_emails:
486       - dpalmeiro@mozilla.com
487       - perf-telemetry-alerts@mozilla.com
488     expires: never
490   gc_time:
491     type: timing_distribution
492     time_unit: millisecond
493     telemetry_mirror: JS_PAGELOAD_GC_MS
494     description: >
495       Time spent during page load in the GC in ms.
496       (Migrated from the geckoview metric of the same name.)
497     bugs:
498       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
499       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
500     data_reviews:
501       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
502     notification_emails:
503       - dpalmeiro@mozilla.com
504       - perf-telemetry-alerts@mozilla.com
505     expires: never
507   parse_time:
508     type: timing_distribution
509     time_unit: millisecond
510     telemetry_mirror: JS_PAGELOAD_PARSE_MS
511     description: >
512       Time spent during page load syntax parsing JS scripts on
513       the main thread in ms.
514       (Migrated from the geckoview metric of the same name.)
515     bugs:
516       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
517       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
518     data_reviews:
519       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
520     notification_emails:
521       - dpalmeiro@mozilla.com
522       - perf-telemetry-alerts@mozilla.com
523     expires: never
525   protect_time:
526     type: timing_distribution
527     time_unit: millisecond
528     telemetry_mirror: JS_PAGELOAD_PROTECT_MS
529     description: >
530       Time spent during page load protecting JIT executable memory.
531       (Migrated from the geckoview metric of the same name.)
532     bugs:
533       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
534       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
535     data_reviews:
536       - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
537     notification_emails:
538       - dpalmeiro@mozilla.com
539       - perf-telemetry-alerts@mozilla.com
540     expires: never
542 security:
543   fission_principals:
544     type: event
545     description: >
546       When running with Fission, we received an unexpected principal from
547       the content process. Expected values for this telemetry event are
548       the method names in ContentParent that received the unexpected
549       principal.
550       This event was generated to correspond to the Legacy Telemetry event
551       security.fissionPrincipals#contentParent.
552     bugs:
553       - https://bugzil.la/1687891
554     data_reviews:
555       - https://bugzil.la/1687891
556     notification_emails:
557       - tom@mozilla.com
558       - ckerschb@mozilla.com
559     expires: never
560     extra_keys:
561       value:
562         description: >
563           The `value` of the event. Mirrors to the Legacy Telemetry
564           event's `value` parameter.
565         type: string
566       principalType:
567         description: >
568           The type of principal that was received. Expected values for this field are
569             NullPtr
570             SystemPrincipal
571             ExpandedPrincipal
572             ContentPrincipal
573             Unknown
575         type: string
576       scheme:
577         description: >
578           If the principal is a ContentPrincipal, we also collect the scheme
579         type: string
580     telemetry_mirror: Security_Fissionprincipals_Contentparent
582 mathml:
583   doc_count:
584     type: counter
585     description: >
586       The number of documents that contained enabled MathML elements.
587       This metric was generated to correspond to the Legacy Telemetry
588       scalar mathml.doc_count.
589     bugs:
590       - https://bugzil.la/1362187
591       - https://bugzil.la/1538985
592       - https://bugzil.la/1590350
593     data_reviews:
594       - https://bugzil.la/1362187
595       - https://bugzil.la/1538985
596       - https://bugzil.la/1590350
597     notification_emails:
598       - emilio@mozilla.com
599       - fred.wang@free.fr
600       - dev-tech-layout@lists.mozilla.org
601     expires: never
602     telemetry_mirror: MATHML_DOC_COUNT
604 dom.contentprocess:
605   build_id_mismatch:
606     type: counter
607     description: >
608       The number of times the about:restartrequired page appeared due to a
609       buildID mismatch between the parent and the content processes.
610       This metric was generated to correspond to the Legacy Telemetry
611       scalar dom.contentprocess.buildID_mismatch.
612     bugs:
613       - https://bugzil.la/1366808
614     data_reviews:
615       - https://bugzil.la/1366808
616     notification_emails:
617       - spohl@mozilla.com
618     expires: never
619     telemetry_mirror: DOM_CONTENTPROCESS_BUILDID_MISMATCH
621   build_id_mismatch_false_positive:
622     type: counter
623     description: >
624       The number of times a process crashed early but we could verify it
625       was not because of buildID mismatch between the parent and the
626       content processes.
627       This metric was generated to correspond to the Legacy Telemetry
628       scalar dom.contentprocess.buildID_mismatch_false_positive.
629     bugs:
630       - https://bugzil.la/1651133
631       - https://bugzil.la/1730045
632       - https://bugzil.la/1754658
633       - https://bugzil.la/1777404
634       - https://bugzil.la/1817104
635       - https://bugzil.la/1866197
636       - https://bugzil.la/1928259
637     data_reviews:
638       - https://bugzil.la/1651133
639       - https://bugzil.la/1730045
640       - https://bugzil.la/1754658
641       - https://bugzil.la/1777404
642       - https://bugzil.la/1817104
643       - https://bugzil.la/1866197
644       - https://bugzil.la/1928259
645     notification_emails:
646       - alissy@mozilla.com
647     expires: 150
648     telemetry_mirror: DOM_CONTENTPROCESS_BUILDID_MISMATCH_FALSE_POSITIVE
650   os_priority_lowered:
651     type: counter
652     description: >
653       The number of times a content process has had its OS priority
654       lowered due to only containing background tabs without audible media
655       playing.
656       This metric was generated to correspond to the Legacy Telemetry
657       scalar dom.contentprocess.os_priority_lowered.
658     bugs:
659       - https://bugzil.la/1538987
660     data_reviews:
661       - https://bugzil.la/1538987
662     notification_emails:
663       - mconley@mozilla.com
664       - gsvelto@mozilla.com
665     expires: never
666     telemetry_mirror: DOM_CONTENTPROCESS_OS_PRIORITY_LOWERED
668   os_priority_raised:
669     type: counter
670     description: >
671       The number of times a content process has had its OS priority raised
672       due to containing at least one foregrounded tab, or a tab with
673       audible media has started playing in it.
674       This metric was generated to correspond to the Legacy Telemetry
675       scalar dom.contentprocess.os_priority_raised.
676     bugs:
677       - https://bugzil.la/1538987
678     data_reviews:
679       - https://bugzil.la/1538987
680     notification_emails:
681       - mconley@mozilla.com
682       - gsvelto@mozilla.com
683     expires: never
684     telemetry_mirror: DOM_CONTENTPROCESS_OS_PRIORITY_RAISED
686   os_priority_change_considered:
687     type: counter
688     description: >
689       The number of times we've had the opportunity to change content
690       process priority due to a tab switch or a tab being opened.
691       This metric was generated to correspond to the Legacy Telemetry
692       scalar dom.contentprocess.os_priority_change_considered.
693     bugs:
694       - https://bugzil.la/1538987
695     data_reviews:
696       - https://bugzil.la/1538987
697     notification_emails:
698       - mconley@mozilla.com
699       - gsvelto@mozilla.com
700     expires: never
701     telemetry_mirror: DOM_CONTENTPROCESS_OS_PRIORITY_CHANGE_CONSIDERED
703 dom.parentprocess:
704   private_window_used:
705     type: boolean
706     description: >
707       Whether a private browsing window has been used in the session.
708       This metric was generated to correspond to the Legacy Telemetry
709       scalar dom.parentprocess.private_window_used.
710     bugs:
711       - https://bugzil.la/1491047
712     data_reviews:
713       - https://bugzil.la/1491047
714     notification_emails:
715       - seceng-telemetry@mozilla.com
716       - ehsan+telemetry@mozilla.com
717     expires: never
718     telemetry_mirror: DOM_PARENTPROCESS_PRIVATE_WINDOW_USED
720   process_launch_errors:
721     type: labeled_counter
722     description: >
723       Collect precise set of error code and calling site upon process
724       creation failure path.
725       This metric was generated to correspond to the Legacy Telemetry
726       scalar dom.parentprocess.process_launch_errors.
727     bugs:
728       - https://bugzil.la/1819311
729     data_reviews:
730       - https://bugzil.la/1819311
731     notification_emails:
732       - alissy@mozilla.com
733     expires: never
734     telemetry_mirror: DOM_PARENTPROCESS_PROCESS_LAUNCH_ERRORS