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
12 $schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
17 description: The compiler type in use (CC_TYPE), such as "clang" or "gcc".
20 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
22 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
24 - build-telemetry@mozilla.com
25 - ahochheiden@mozilla.com
31 description: True if `--enable-artifact-builds`.
34 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
36 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
38 - build-telemetry@mozilla.com
39 - ahochheiden@mozilla.com
45 description: True if `--enable-debug`.
48 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
50 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
52 - build-telemetry@mozilla.com
53 - ahochheiden@mozilla.com
59 description: True if `--enable-optimize`.
62 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
64 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
66 - build-telemetry@mozilla.com
67 - ahochheiden@mozilla.com
73 description: True if `--with-ccache`.
76 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
78 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
80 - build-telemetry@mozilla.com
81 - ahochheiden@mozilla.com
87 description: True if ccache in use is sccache.
90 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
92 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
94 - build-telemetry@mozilla.com
95 - ahochheiden@mozilla.com
101 description: True if icecream in use.
102 lifetime: application
104 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
106 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
108 - build-telemetry@mozilla.com
109 - ahochheiden@mozilla.com
115 description: True if the build was a clobber/full build.
116 lifetime: application
118 - https://bugzilla.mozilla.org/show_bug.cgi?id=1526072
120 - https://bugzilla.mozilla.org/show_bug.cgi?id=1526072#c15
122 - build-telemetry@mozilla.com
123 - ahochheiden@mozilla.com
129 description: The project being built.
130 lifetime: application
132 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654084
134 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654084#c2
136 - build-telemetry@mozilla.com
137 - ahochheiden@mozilla.com
143 description: The target architecture for the build, such as "x86_64-pc-mingw32".
144 lifetime: application
146 - https://bugzilla.mozilla.org/show_bug.cgi?id=1887885
148 - https://bugzilla.mozilla.org/show_bug.cgi?id=1893740#c1
150 - build-telemetry@mozilla.com
151 - ahochheiden@mozilla.com
155 tier_artifact_duration:
157 description: How long it took for the artifact tier of the build to complete.
158 lifetime: application
160 - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
164 - build-telemetry@mozilla.com
165 - ahochheiden@mozilla.com
169 tier_pre_export_duration:
171 description: How long it took for the pre-export tier of the build to complete.
172 lifetime: application
174 - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
178 - build-telemetry@mozilla.com
179 - ahochheiden@mozilla.com
183 tier_export_duration:
185 description: How long it took for the export tier of the build to complete.
186 lifetime: application
188 - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
192 - build-telemetry@mozilla.com
193 - ahochheiden@mozilla.com
199 description: How long it took for the misc tier of the build to complete.
200 lifetime: application
202 - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
206 - build-telemetry@mozilla.com
207 - ahochheiden@mozilla.com
213 description: How long it took for the libs tier of the build to complete.
214 lifetime: application
216 - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
220 - build-telemetry@mozilla.com
221 - ahochheiden@mozilla.com
227 description: How long it took for the tools tier of the build to complete.
228 lifetime: application
230 - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
234 - build-telemetry@mozilla.com
235 - ahochheiden@mozilla.com
239 tier_configure_duration:
241 description: How long it took for the configure tier of the build to complete.
242 lifetime: application
244 - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
248 - build-telemetry@mozilla.com
249 - ahochheiden@mozilla.com
253 tier_compile_duration:
255 description: How long it took for the compile tier of the build to complete.
256 lifetime: application
258 - https://bugzilla.mozilla.org/show_bug.cgi?id=1894153
262 - build-telemetry@mozilla.com
263 - ahochheiden@mozilla.com