Bug 1689162 - Update to Glean metrics schema v2. r=Dexter,firefox-build-system-reviewers,nalexander DONTBUILD
authorJan-Erik Rediger <jrediger@mozilla.com>
Mon, 14 Feb 2022 08:57:27 +0000
changeset 607652 8d6a153dde7c5e42b3fabd106606e9b6a526e5e0
parent 607651 7e9f494644fbc2f85ffd8eae48db1633b5502377
child 607655 8073f68ad5184f8a4b5d6bf445fc76afac4bfdfe
push id157786
push userjrediger@mozilla.com
push dateMon, 14 Feb 2022 08:59:50 +0000
treeherderautoland@8d6a153dde7c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersDexter, firefox-build-system-reviewers, nalexander
bugs1689162
milestone99.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1689162 - Update to Glean metrics schema v2. r=Dexter,firefox-build-system-reviewers,nalexander DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D138537
python/mach/metrics.yaml
python/mach/pings.yaml
--- a/python/mach/metrics.yaml
+++ b/python/mach/metrics.yaml
@@ -3,17 +3,17 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # If this file is changed, update the generated docs:
 # https://firefox-source-docs.mozilla.org/mach/telemetry.html#updating-generated-metrics-docs
 
 # Adding a new metric? We have docs for that!
 # https://mozilla.github.io/glean/book/user/metrics/adding-new-metrics.html
 ---
-$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
+$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
 
 mach:
   command:
     type: string
     description: >
       The name of the mach command that was invoked, such as "build",
       "doc", or "try".
     lifetime: application
--- a/python/mach/pings.yaml
+++ b/python/mach/pings.yaml
@@ -1,16 +1,16 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # If this file is changed, update the generated docs:
 # https://firefox-source-docs.mozilla.org/mach/telemetry.html#updating-generated-metrics-docs
 ---
-$schema: moz://mozilla.org/schemas/glean/pings/1-0-0
+$schema: moz://mozilla.org/schemas/glean/pings/2-0-0
 
 usage:
   description: >
     Sent when the mach invocation is completed (regardless of result).
     Contains information about the mach invocation that was made, its result,
     and some details about the current environment and hardware.
   bugs:
     - https://bugzilla.mozilla.org/show_bug.cgi?id=1291053