Bug 1526072 - Add cpu utilization and clobber fields to build telemetry schema. r=nalexander

Differential Revision: https://phabricator.services.mozilla.com/D22629

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Chris Manchester 2019-03-27 22:47:58 +00:00
parent ed4fd3fd3a
commit 584f26283b

View File

@ -61,6 +61,10 @@ schema = Schema({
Optional('sccache', description='true if ccache in use is sccache'): bool,
Optional('icecream', description='true if icecream in use'): bool,
},
Optional('build_attrs', description='Attributes characterizing a build'): {
Optional('cpu_percent', description='cpu utilization observed during a build'): int,
Optional('clobber', description='true if the build was a clobber/full build'): bool,
},
Required('system'): {
# We don't need perfect granularity here.
Required('os', description='Operating system'): Any('windows', 'macos', 'linux', 'other'),