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 # This file is for Internal Telemetry Use Only.
6 # Please don't add anything here unless you have the permission of a
7 # Telemetry Module Peer.
10 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
12 - "Toolkit :: Telemetry"
19 The client_id according to Telemetry.
20 Might not always have a value due to being too early for it to have
22 Value may be the canary client id `c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0`
23 in pings near when the data upload pref is disabled (if Telemetry gets
24 to go first), or between when a client_id has been removed and when it
26 Does not need to be sent in the Glean "deletion-request" ping.
28 - https://bugzilla.mozilla.org/show_bug.cgi?id=1755549
29 - https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
31 - https://bugzilla.mozilla.org/show_bug.cgi?id=1755549
32 - https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
38 - glean-team@mozilla.com
42 send_in_pings: &client_id_pings
52 The profile_group_id according to Telemetry.
53 Might not always have a value due to being too early for it to have
55 Does not need to be sent in the Glean "deletion-request" ping.
57 - https://bugzilla.mozilla.org/show_bug.cgi?id=1901263
59 - https://bugzilla.mozilla.org/show_bug.cgi?id=1901263
64 - dtownsend@mozilla.com
65 - glean-team@mozilla.com
69 send_in_pings: *client_id_pings
75 User opted into sending Telemetry data again.
76 This metric was generated to correspond to the Legacy Telemetry
77 scalar telemetry.data_upload_optin.
79 - https://bugzil.la/1445921
81 - https://bugzil.la/1445921
83 - jrediger@mozilla.com
84 - telemetry-client-dev@mozilla.com
86 telemetry_mirror: TELEMETRY_DATA_UPLOAD_OPTIN
93 A UUID uniquely identifying the profile,
94 not shared with other telemetry data.
96 - https://bugzilla.mozilla.org/show_bug.cgi?id=1926829
98 - https://bugzilla.mozilla.org/show_bug.cgi?id=1926829
103 - glean-team@mozilla.com
104 - jrediger@mozilla.com
109 - usage-deletion-request
112 session_time_including_suspend:
115 The duration of the session in milliseconds, including the time the
116 device was suspended.
117 This metric was generated to correspond to the Legacy Telemetry
118 scalar browser.engagement.session_time_including_suspend.
120 - https://bugzil.la/1205985
122 - https://bugzil.la/1205985
124 - padenot@mozilla.com
127 telemetry_mirror: BROWSER_ENGAGEMENT_SESSION_TIME_INCLUDING_SUSPEND
129 session_time_excluding_suspend:
132 The duration of the session in milliseconds, excluding the time the
133 device was suspended.
134 This metric was generated to correspond to the Legacy Telemetry
135 scalar browser.engagement.session_time_excluding_suspend.
137 - https://bugzil.la/1205985
139 - https://bugzil.la/1205985
141 - padenot@mozilla.com
144 telemetry_mirror: BROWSER_ENGAGEMENT_SESSION_TIME_EXCLUDING_SUSPEND
150 The time, in milliseconds, it took to complete the last shutdown. On
151 successful shutdown, Telemetry saves this to disk into
152 Telemetry.ShutdownTime.txt. On the next startup this is loaded and
154 This metric was generated to correspond to the Legacy Telemetry
155 scalar browser.timings.last_shutdown.
157 - https://bugzil.la/1429510
159 - https://bugzil.la/1429510
161 - perf-telemetry-alerts@mozilla.com
162 - florian@mozilla.com
165 telemetry_mirror: BROWSER_TIMINGS_LAST_SHUTDOWN