Bug 1913377 - Comment and assert that `allowedScope` has a very limited set of values...
[gecko.git] / python / mozbuild / metrics.yaml
blob5b6355f2d066c0ca1858d9e96eaff98d45953a91
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 # If this file is changed, update the generated docs:
6 # https://firefox-source-docs.mozilla.org/mach/telemetry.html#updating-generated-metrics-docs
8 # Adding a new metric? We have docs for that!
9 # https://mozilla.github.io/glean/book/user/metrics/adding-new-metrics.html
11 ---
12 $schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
14 mozbuild:
15   compiler:
16     type: string
17     description: The compiler type in use (CC_TYPE), such as "clang" or "gcc".
18     lifetime: application
19     bugs:
20       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
21     data_reviews:
22       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
23     notification_emails:
24       - build-telemetry@mozilla.com
25       - ahochheiden@mozilla.com
26     expires: never
27     send_in_pings:
28       - usage
29   artifact:
30     type: boolean
31     description: True if `--enable-artifact-builds`.
32     lifetime: application
33     bugs:
34       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
35     data_reviews:
36       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
37     notification_emails:
38       - build-telemetry@mozilla.com
39       - ahochheiden@mozilla.com
40     expires: never
41     send_in_pings:
42       - usage
43   debug:
44     type: boolean
45     description: True if `--enable-debug`.
46     lifetime: application
47     bugs:
48       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
49     data_reviews:
50       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
51     notification_emails:
52       - build-telemetry@mozilla.com
53       - ahochheiden@mozilla.com
54     expires: never
55     send_in_pings:
56       - usage
57   opt:
58     type: boolean
59     description: True if `--enable-optimize`.
60     lifetime: application
61     bugs:
62       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
63     data_reviews:
64       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
65     notification_emails:
66       - build-telemetry@mozilla.com
67       - ahochheiden@mozilla.com
68     expires: never
69     send_in_pings:
70       - usage
71   ccache:
72     type: boolean
73     description: True if `--with-ccache`.
74     lifetime: application
75     bugs:
76       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
77     data_reviews:
78       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
79     notification_emails:
80       - build-telemetry@mozilla.com
81       - ahochheiden@mozilla.com
82     expires: never
83     send_in_pings:
84       - usage
85   sccache:
86     type: boolean
87     description: True if ccache in use is sccache.
88     lifetime: application
89     bugs:
90       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
91     data_reviews:
92       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
93     notification_emails:
94       - build-telemetry@mozilla.com
95       - ahochheiden@mozilla.com
96     expires: never
97     send_in_pings:
98       - usage
99   icecream:
100     type: boolean
101     description: True if icecream in use.
102     lifetime: application
103     bugs:
104       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
105     data_reviews:
106       - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
107     notification_emails:
108       - build-telemetry@mozilla.com
109       - ahochheiden@mozilla.com
110     expires: never
111     send_in_pings:
112       - usage
113   clobber:
114     type: boolean
115     description: True if the build was a clobber/full build.
116     lifetime: application
117     bugs:
118       - https://bugzilla.mozilla.org/show_bug.cgi?id=1526072
119     data_reviews:
120       - https://bugzilla.mozilla.org/show_bug.cgi?id=1526072#c15
121     notification_emails:
122       - build-telemetry@mozilla.com
123       - ahochheiden@mozilla.com
124     expires: never
125     send_in_pings:
126       - usage
127   project:
128     type: string
129     description: The project being built.
130     lifetime: application
131     bugs:
132       - https://bugzilla.mozilla.org/show_bug.cgi?id=1654084
133     data_reviews:
134       - https://bugzilla.mozilla.org/show_bug.cgi?id=1654084#c2
135     notification_emails:
136       - build-telemetry@mozilla.com
137       - ahochheiden@mozilla.com
138     expires: never
139     send_in_pings:
140       - usage
141   target:
142     type: string
143     description: The target architecture for the build, such as "x86_64-pc-mingw32".
144     lifetime: application
145     bugs:
146       - https://bugzilla.mozilla.org/show_bug.cgi?id=1887885
147     data_reviews:
148       - https://bugzilla.mozilla.org/show_bug.cgi?id=1893740#c1
149     notification_emails:
150       - build-telemetry@mozilla.com
151       - ahochheiden@mozilla.com
152     expires: never
153     send_in_pings:
154       - usage
155   tier_artifact_duration:
156     type: timespan
157     description: How long it took for the artifact tier of the build to complete.
158     lifetime: application
159     bugs:
160       - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
161     data_reviews:
162       - TBD
163     notification_emails:
164       - build-telemetry@mozilla.com
165       - ahochheiden@mozilla.com
166     expires: never
167     send_in_pings:
168       - usage
169   tier_pre_export_duration:
170     type: timespan
171     description: How long it took for the pre-export tier of the build to complete.
172     lifetime: application
173     bugs:
174       - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
175     data_reviews:
176       - TBD
177     notification_emails:
178       - build-telemetry@mozilla.com
179       - ahochheiden@mozilla.com
180     expires: never
181     send_in_pings:
182       - usage
183   tier_export_duration:
184     type: timespan
185     description: How long it took for the export tier of the build to complete.
186     lifetime: application
187     bugs:
188       - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
189     data_reviews:
190       - TBD
191     notification_emails:
192       - build-telemetry@mozilla.com
193       - ahochheiden@mozilla.com
194     expires: never
195     send_in_pings:
196       - usage
197   tier_misc_duration:
198     type: timespan
199     description: How long it took for the misc tier of the build to complete.
200     lifetime: application
201     bugs:
202       - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
203     data_reviews:
204       - TBD
205     notification_emails:
206       - build-telemetry@mozilla.com
207       - ahochheiden@mozilla.com
208     expires: never
209     send_in_pings:
210       - usage
211   tier_libs_duration:
212     type: timespan
213     description: How long it took for the libs tier of the build to complete.
214     lifetime: application
215     bugs:
216       - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
217     data_reviews:
218       - TBD
219     notification_emails:
220       - build-telemetry@mozilla.com
221       - ahochheiden@mozilla.com
222     expires: never
223     send_in_pings:
224       - usage
225   tier_tools_duration:
226     type: timespan
227     description: How long it took for the tools tier of the build to complete.
228     lifetime: application
229     bugs:
230       - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
231     data_reviews:
232       - TBD
233     notification_emails:
234       - build-telemetry@mozilla.com
235       - ahochheiden@mozilla.com
236     expires: never
237     send_in_pings:
238       - usage
239   tier_configure_duration:
240     type: timespan
241     description: How long it took for the configure tier of the build to complete.
242     lifetime: application
243     bugs:
244       - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
245     data_reviews:
246       - TBD
247     notification_emails:
248       - build-telemetry@mozilla.com
249       - ahochheiden@mozilla.com
250     expires: never
251     send_in_pings:
252       - usage
253   tier_compile_duration:
254     type: timespan
255     description: How long it took for the compile tier of the build to complete.
256     lifetime: application
257     bugs:
258       - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
259     data_reviews:
260       - TBD
261     notification_emails:
262       - build-telemetry@mozilla.com
263       - ahochheiden@mozilla.com
264     expires: never
265     send_in_pings:
266       - usage