Backed out changeset 51eeece91171 (bug 1613280) for causing mochitest-plain failures...
[gecko.git] / gfx / metrics.yaml
blob5cd012b88a275c6060bca5359d26945116ce862e
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
28     telemetry_mirror: PAINT_BUILD_DISPLAYLIST_TIME
30 gpu_process:
31   feature_status:
32     type: string
33     description: >
34       Current status of the GPU process feature
35     bugs:
36       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
37     data_reviews:
38       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
39     data_sensitivity:
40       - technical
41     notification_emails:
42       - gfx-telemetry-alerts@mozilla.com
43       - jnicol@mozilla.com
44     expires: never
45   crash_fallbacks:
46     type: labeled_counter
47     description: >
48       How often we use different fallbacks when the GPU process crashes
49     labels:
50       - none
51       - decoding_disabled
52       - disabled
53     bugs:
54       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
55     data_reviews:
56       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
57     data_sensitivity:
58       - technical
59     notification_emails:
60       - gfx-telemetry-alerts@mozilla.com
61       - jnicol@mozilla.com
62     expires: never
63   total_launch_attempts:
64     type: quantity
65     description: >
66       The number of total GPU process launch attempts.
67     unit: launches
68     bugs:
69       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
70     data_reviews:
71       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
72     data_sensitivity:
73       - technical
74     notification_emails:
75       - gfx-telemetry-alerts@mozilla.com
76       - jnicol@mozilla.com
77     expires: never
78   unstable_launch_attempts:
79     type: quantity
80     description: >
81       The number of consecutive unstable launch attempts.
82     unit: launches
83     bugs:
84       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
85     data_reviews:
86       - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
87     data_sensitivity:
88       - technical
89     notification_emails:
90       - gfx-telemetry-alerts@mozilla.com
91       - jnicol@mozilla.com
92     expires: never
94 wr:
95   gpu_wait_time:
96     type: timing_distribution
97     description: >
98       The time spent waiting for the GPU to complete previously issued drawing
99       commands.
100     time_unit: microsecond
101     bugs:
102       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772216
103     data_reviews:
104       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772216
105     data_sensitivity:
106       - technical
107     notification_emails:
108       - gfx-telemetry-alerts@mozilla.com
109     expires: never
110     telemetry_mirror: WR_GPU_WAIT_TIME
111   rasterize_glyphs_time:
112     type: timing_distribution
113     description: >
114       The time to rasterize glyphs for consumption by WebRender.
115     time_unit: microsecond
116     bugs:
117       - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
118     data_reviews:
119       - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
120     data_sensitivity:
121       - technical
122     notification_emails:
123       - gfx-telemetry-alerts@mozilla.com
124     expires: never
125     telemetry_mirror: WR_RASTERIZE_GLYPHS_TIME
126   rasterize_blobs_time:
127     type: timing_distribution
128     description: >
129       The time to rasterize blobs for consumption by WebRender.
130     time_unit: microsecond
131     bugs:
132       - https://bugzilla.mozilla.org/show_bug.cgi?id=1770974
133     data_reviews:
134       - https://bugzilla.mozilla.org/show_bug.cgi?id=1770974
135     data_sensitivity:
136       - technical
137     notification_emails:
138       - gfx-telemetry-alerts@mozilla.com
139     expires: never
140     telemetry_mirror: WR_RASTERIZE_BLOBS_TIME
141   renderer_time:
142     type: timing_distribution
143     description: >
144       WebRender renderer time.
145     time_unit: microsecond
146     bugs:
147       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
148     data_reviews:
149       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
150     data_sensitivity:
151       - technical
152     notification_emails:
153       - gfx-telemetry-alerts@mozilla.com
154     expires: never
155     telemetry_mirror: WR_RENDERER_TIME
156   renderer_time_no_sc:
157     type: timing_distribution
158     description: >
159       WebRender renderer time excluding frames in which shader compilation took
160       place.
161     time_unit: microsecond
162     bugs:
163       - https://bugzilla.mozilla.org/show_bug.cgi?id=1784286
164     data_reviews:
165       - https://bugzilla.mozilla.org/show_bug.cgi?id=1784286
166     data_sensitivity:
167       - technical
168     notification_emails:
169       - gfx-telemetry-alerts@mozilla.com
170     expires: never
171     telemetry_mirror: WR_RENDERER_TIME_NO_SC_MS
172   framebuild_time:
173     type: timing_distribution
174     description: >
175       The time to rasterize glyphs for consumption by WebRender.
176     time_unit: microsecond
177     bugs:
178       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
179       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
180     data_reviews:
181       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
182       - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
183     data_sensitivity:
184       - technical
185     notification_emails:
186       - gfx-telemetry-alerts@mozilla.com
187       - jmuizelaar@mozilla.com
188     expires: never
189     telemetry_mirror: WR_FRAMEBUILD_TIME
190   scenebuild_time:
191     type: timing_distribution
192     description: >
193       WebRender scene build time.
194     time_unit: microsecond
195     bugs:
196       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
197     data_reviews:
198       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
199     data_sensitivity:
200       - technical
201     notification_emails:
202       - gfx-telemetry-alerts@mozilla.com
203       - jmuizelaar@mozilla.com
204     expires: never
205     telemetry_mirror: WR_SCENEBUILD_TIME
206   sceneswap_time:
207     type: timing_distribution
208     description: >
209       WebRender scene swap time.
210     time_unit: microsecond
211     bugs:
212       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
213     data_reviews:
214       - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
215     data_sensitivity:
216       - technical
217     notification_emails:
218       - gfx-telemetry-alerts@mozilla.com
219       - jmuizelaar@mozilla.com
220     expires: never
221     telemetry_mirror: WR_SCENESWAP_TIME
222   texture_cache_update_time:
223     type: timing_distribution
224     description: >
225       Time taken by WebRender to update the texture cache.
226     time_unit: microsecond
227     bugs:
228       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
229     data_reviews:
230       - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
231     data_sensitivity:
232       - technical
233     notification_emails:
234       - gfx-telemetry-alerts@mozilla.com
235     expires: never
236     telemetry_mirror: WR_TEXTURE_CACHE_UPDATE_TIME
237   time_to_frame_build:
238     type: timing_distribution
239     description: >
240       Time elapsed between the construction of a transaction and the
241       associated frame build beginning.
242     time_unit: microsecond
243     bugs:
244       - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
245     data_reviews:
246       - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
247     data_sensitivity:
248       - technical
249     notification_emails:
250       - gfx-telemetry-alerts@mozilla.com
251     expires: never
252     telemetry_mirror: WR_TIME_TO_FRAME_BUILD_MS
253   time_to_render_start:
254     type: timing_distribution
255     description: >
256       Time elapsed between the construction of a frame and the start of
257       rendering.
258     time_unit: microsecond
259     bugs:
260       - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
261     data_reviews:
262       - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
263     data_sensitivity:
264       - technical
265     notification_emails:
266       - gfx-telemetry-alerts@mozilla.com
267     expires: never
268     telemetry_mirror: WR_TIME_TO_RENDER_START_MS