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 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
17 The name of the mach command that was invoked, such as "build",
21 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
23 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
25 - build-telemetry@mozilla.com
26 - mhentges@mozilla.com
33 Parameters provided to mach. Absolute paths are sanitized to be relative
34 to one of a few key base paths, such as the "$topsrcdir", "$topobjdir",
35 or "$HOME". For example: "/home/mozilla/dev/firefox/python/mozbuild"
36 would be replaced with "$topsrcdir/python/mozbuild".
37 If a valid replacement base path cannot be found, the path is replaced
38 with "<path omitted>".
41 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
43 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
45 - build-telemetry@mozilla.com
46 - mhentges@mozilla.com
52 description: True if the mach invocation succeeded.
55 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
57 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
59 - build-telemetry@mozilla.com
60 - mhentges@mozilla.com
66 description: How long it took for the command to complete.
69 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
71 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
73 - build-telemetry@mozilla.com
74 - mhentges@mozilla.com
82 description: CPU brand string from CPUID.
85 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
87 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
89 - build-telemetry@mozilla.com
90 - mhentges@mozilla.com
96 description: The name of the operating system distribution.
99 - https://bugzilla.mozilla.org/show_bug.cgi?id=1655845
101 - https://bugzilla.mozilla.org/show_bug.cgi?id=1655845#c3
103 - build-telemetry@mozilla.com
104 - mhentges@mozilla.com
110 description: The high-level OS version.
111 lifetime: application
113 - https://bugzilla.mozilla.org/show_bug.cgi?id=1655845
115 - https://bugzilla.mozilla.org/show_bug.cgi?id=1655845#c3
117 - build-telemetry@mozilla.com
118 - mhentges@mozilla.com
124 description: Number of logical CPU cores present.
125 lifetime: application
127 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
129 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
131 - build-telemetry@mozilla.com
132 - mhentges@mozilla.com
138 description: Number of physical CPU cores present.
139 lifetime: application
141 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
143 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
145 - build-telemetry@mozilla.com
146 - mhentges@mozilla.com
151 type: memory_distribution
152 memory_unit: gigabyte
153 description: Amount of system memory.
154 lifetime: application
156 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053
158 - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053#c34
160 - build-telemetry@mozilla.com
161 - mhentges@mozilla.com
167 description: True if the current terminal is opened via Visual Studio Code.
168 lifetime: application
170 - https://bugzilla.mozilla.org/show_bug.cgi?id=1702172
172 - https://bugzilla.mozilla.org/show_bug.cgi?id=1702172#c4
174 - build-telemetry@mozilla.com
181 description: True if the current shell is a remote SSH connection.
182 lifetime: application
184 - https://bugzilla.mozilla.org/show_bug.cgi?id=1702172
186 - https://bugzilla.mozilla.org/show_bug.cgi?id=1702172#c4
188 - build-telemetry@mozilla.com
195 description: True if there is an instance of vscode running.
196 lifetime: application
198 - https://bugzilla.mozilla.org/show_bug.cgi?id=1717801
200 - https://bugzilla.mozilla.org/show_bug.cgi?id=1717801#c1
202 - build-telemetry@mozilla.com