# 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/.
# This file is for Internal Telemetry Use Only.
# Please don't add anything here unless you have the permission of a
# Telemetry Module Peer.
---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
- "Toolkit :: Telemetry"
legacy.telemetry:
client_id:
type: uuid
lifetime: application
description: |
The client_id according to Telemetry.
Might not always have a value due to being too early for it to have
loaded.
Value may be the canary client id `c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0`
in pings near when the data upload pref is disabled (if Telemetry gets
to go first), or between when a client_id has been removed and when it
has been regenerated.
Does not need to be sent in the Glean "deletion-request" ping.
bugs:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1755549
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1755549
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
data_sensitivity:
- technical
- highly_sensitive
notification_emails:
- chutten@mozilla.com
- glean-team@mozilla.com
expires: never
no_lint:
- BASELINE_PING
send_in_pings: &client_id_pings
- 'metrics'
- 'events'
- 'newtab'
- 'baseline'
profile_group_id:
type: uuid
lifetime: application
description: |
The profile_group_id according to Telemetry.
Might not always have a value due to being too early for it to have
loaded.
Does not need to be sent in the Glean "deletion-request" ping.
bugs:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1901263
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1901263
data_sensitivity:
- technical
- highly_sensitive
notification_emails:
- dtownsend@mozilla.com
- glean-team@mozilla.com
expires: never
no_lint:
- BASELINE_PING
send_in_pings: *client_id_pings
telemetry:
data_upload_optin:
type: boolean
description: >
User opted into sending Telemetry data again.
This metric was generated to correspond to the Legacy Telemetry
scalar telemetry.data_upload_optin.
bugs:
-
https://bugzil.la/1445921
data_reviews:
-
https://bugzil.la/1445921
notification_emails:
- jrediger@mozilla.com
- telemetry-client-dev@mozilla.com
expires: never
telemetry_mirror: TELEMETRY_DATA_UPLOAD_OPTIN
usage:
profile_id:
type: uuid
lifetime: user
description: |
A UUID uniquely identifying the profile,
not shared with other telemetry data.
bugs:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1926829
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1926829
data_sensitivity:
- technical
- highly_sensitive
notification_emails:
- glean-team@mozilla.com
- jrediger@mozilla.com
- loines@mozilla.com
expires: never
send_in_pings:
- usage-reporting
- usage-deletion-request
os:
type: string
lifetime: application
send_in_pings:
- usage-reporting
description: |
The name of the operating system.
Possible values:
Android, iOS, Linux, Darwin, Windows,
FreeBSD, NetBSD, OpenBSD, Solaris, Unknown
bugs:
-
https://bugzilla.mozilla.org/1497894
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1512938#c3
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
- loines@mozilla.com
expires: never
os_version:
type: string
lifetime: application
send_in_pings:
- usage-reporting
description: |
The user-visible version of the operating system (e.g. "1.2.3").
If the version detection fails, this metric gets set to `Unknown`.
bugs:
-
https://bugzilla.mozilla.org/1497894
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1512938#c3
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
- loines@mozilla.com
expires: never
windows_build_number:
type: quantity
lifetime: application
send_in_pings:
- usage-reporting
description: |
The optional Windows build number, reported by Windows
(e.g. 22000) and not set for other platforms.
bugs:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1802094
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1802094
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
- loines@mozilla.com
expires: never
unit: build_number
app_build:
type: string
lifetime: application
send_in_pings:
- usage-reporting
description: |
The build identifier generated by the CI system (e.g. "1234/A").
If the value was not provided through configuration,
this metric gets set to `Unknown`.
bugs:
-
https://bugzilla.mozilla.org/1508305
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1512938#c3
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
- loines@mozilla.com
expires: never
app_display_version:
type: string
lifetime: application
send_in_pings:
- usage-reporting
description: |
The user visible version string (e.g. "1.0.3").
If the value was not provided through configuration,
this metric gets set to `Unknown`.
bugs:
-
https://bugzilla.mozilla.org/1508305
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1508305#c9
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
- loines@mozilla.com
expires: never
app_channel:
type: string
lifetime: application
send_in_pings:
- usage-reporting
description: |
The channel the application is being distributed on.
bugs:
-
https://bugzilla.mozilla.org/1520741
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1520741#c18
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
- loines@mozilla.com
expires: never
first_run_date:
type: datetime
lifetime: user
send_in_pings:
- usage-reporting
time_unit: day
description: |
The date of the profile's first use. Set from `ProfileAge.firstUse`
bugs:
-
https://bugzilla.mozilla.org/1525045
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1525045#c18
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
- loines@mozilla.com
expires: never
reason:
type: string
lifetime: ping
send_in_pings:
- usage-reporting
description: |
The reason the usage-reporting ping was sent.
bugs:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1557048
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1609218#c4
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
- loines@mozilla.com
expires: never
is_default_browser:
type: boolean
lifetime: application
send_in_pings:
- usage-reporting
- baseline
no_lint:
- BASELINE_PING
description: |
Whether Firefox is set as the default browser.
bugs:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
- loines@mozilla.com
expires: never
distribution_id:
type: string
lifetime: application
send_in_pings:
- usage-reporting
- baseline
no_lint:
- BASELINE_PING
description: |
The distribution id associated with the install of Firefox.
bugs:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1944090
data_sensitivity:
- technical
notification_emails:
- glean-team@mozilla.com
- loines@mozilla.com
expires: never
browser.engagement:
session_time_including_suspend:
type: quantity
description: >
The duration of the session in milliseconds, including the time the
device was suspended.
This metric was generated to correspond to the Legacy Telemetry
scalar browser.engagement.session_time_including_suspend.
bugs:
-
https://bugzil.la/1205985
data_reviews:
-
https://bugzil.la/1205985
notification_emails:
- padenot@mozilla.com
expires: never
unit: ms
telemetry_mirror: BROWSER_ENGAGEMENT_SESSION_TIME_INCLUDING_SUSPEND
session_time_excluding_suspend:
type: quantity
description: >
The duration of the session in milliseconds, excluding the time the
device was suspended.
This metric was generated to correspond to the Legacy Telemetry
scalar browser.engagement.session_time_excluding_suspend.
bugs:
-
https://bugzil.la/1205985
data_reviews:
-
https://bugzil.la/1205985
notification_emails:
- padenot@mozilla.com
expires: never
unit: ms
telemetry_mirror: BROWSER_ENGAGEMENT_SESSION_TIME_EXCLUDING_SUSPEND
browser.timings:
last_shutdown:
type: quantity
description: >
The time, in milliseconds, it took to complete the last shutdown. On
successful shutdown, Telemetry saves this to disk into
Telemetry.ShutdownTime.txt. On the next startup this is loaded and
recorded.
This metric was generated to correspond to the Legacy Telemetry
scalar browser.timings.last_shutdown.
bugs:
-
https://bugzil.la/1429510
data_reviews:
-
https://bugzil.la/1429510
notification_emails:
- perf-telemetry-alerts@mozilla.com
- florian@mozilla.com
expires: never
unit: ms
telemetry_mirror: BROWSER_TIMINGS_LAST_SHUTDOWN
onboarding_opt_out:
# The `onboarding-opt-out` ping does not include any info sections, and
# therefore needs to capture experiments and rollouts independently. This
# data layout agrees with the `nimbus-targeting-context` ping for ease of
# analysis.
active_experiments:
bugs:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1942194
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1942194
expires: never
notification_emails:
- glean-team@mozilla.com
- jrediger@mozilla.com
- loines@mozilla.com
- dberry@mozilla.com
send_in_pings:
- onboarding-opt-out
description: >
The slugs of the actively enrolled experiments.
data_sensitivity:
- interaction
type: object
structure:
type: array
items:
type: string
active_rollouts:
bugs:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1942194
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1942194
expires: never
notification_emails:
- glean-team@mozilla.com
- jrediger@mozilla.com
- loines@mozilla.com
- dberry@mozilla.com
send_in_pings:
- onboarding-opt-out
description: >
The slugs of the actively enrolled rollouts.
data_sensitivity:
- interaction
type: object
structure:
type: array
items:
type: string
enrollments_map:
bugs:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1942194
data_reviews:
-
https://bugzilla.mozilla.org/show_bug.cgi?id=1942194
expires: never
notification_emails:
- glean-team@mozilla.com
- jrediger@mozilla.com
- loines@mozilla.com
- dberry@mozilla.com
send_in_pings:
- onboarding-opt-out
description: >
Information about historic enrollments, including the branches enrolled.
data_sensitivity:
- technical
type: object
structure:
type: array
items:
type: object
properties:
experimentSlug:
type: string
branchSlug:
type: string