Bug 1842773 - Part 5: Add ArrayBuffer.prototype.{maxByteLength,resizable} getters...
[gecko.git] / dom / metrics.yaml
blob34f2f6a425d6adad0159af62d45a10abd8a9221a
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     data_reviews:
50       - https://bugzilla.mozilla.org/show_bug.cgi?id=1759744#c5
51       - https://bugzilla.mozilla.org/show_bug.cgi?id=1799727#c4
52       - https://bugzilla.mozilla.org/show_bug.cgi?id=1834774#c3
53       - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939#c5
54     notification_emails:
55       - perf-telemetry-alerts@mozilla.com
56       - dpalmeiro@mozilla.com
57     expires: never
58     extra_keys:
59       load_time:
60         description:
61           "Time between loadEventStart and navigationStart, in ms."
62         type: quantity
63         unit: ms
64       dns_lookup_time:
65         description:
66           "Time taken to perform dns lookup of the top level document, in ms."
67         type: quantity
68         unit: ms
69       response_time:
70         description:
71           "Time between responseStart and navigationStart, in ms."
72         type: quantity
73         unit: ms
74       fcp_time:
75         description:
76           "Time between firstContentfulPaint and navigationStart, in ms."
77         type: quantity
78         unit: ms
79       lcp_time:
80         description:
81           "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."
82         type: quantity
83         unit: ms
84       js_exec_time:
85         description:
86           "Time spent executing JS during page load, in ms."
87         type: quantity
88         unit: ms
89       redirect_time:
90         type: quantity
91         description:
92           "Time spent in redirections for the top level document."
93         unit: ms
94       redirect_count:
95         description:
96           "Number of redirections for the top level document."
97         type: quantity
98         unit: integer
99       load_type:
100         description:
101           "One of normal,reload,stop,link,history,error or other."
102         type: string
103       same_origin_nav:
104         description:
105           "If true, a normal navigation was performed on the same origin."
106         type: boolean
107       http_ver:
108         description:
109           "Version of HTTP protocol used."
110         type: quantity
111         unit: integer
112       trr_domain:
113         description:
114           "TRR domain used."
115         type: string
116     send_in_pings:
117       - pageload
119 bloburl:
120   resolve_stopped:
121     type: counter
122     description: >
123       Counts how many times we do not resolve a blob URL
124       because of different partition keys
125     bugs:
126       - https://bugzilla.mozilla.org/show_bug.cgi?id=1843158
127     data_reviews:
128       - https://bugzilla.mozilla.org/show_bug.cgi?id=1843158
129     data_sensitivity:
130       - technical
131     notification_emails:
132       - amadan@mozilla.com
133     expires: 127
134     telemetry_mirror: BLOBURL_RESOLVE_STOPPED