Backed out changeset 496886cb30a5 (bug 1867152) for bc failures on browser_user_input...
[gecko.git] / browser / modules / metrics.yaml
blobb8f9d036e2f3d0e02d4863fa3fd4ccc3469a1b20
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 # Adding a new metric? We have docs for that!
6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
8 ---
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
10 $tags:
11   - 'Firefox :: General'
13 browser.engagement:
14   active_ticks:
15     type: counter
16     description: |
17       The number of five-second intervals ('ticks') the user was considered
18       'active'.
20       'active' means keyboard or mouse interaction with the application.
21       It doesn't take into account whether or not the window has focus or is in
22       the foreground, only if it is receiving these interaction events.
24       Migrated from Telemetry's `browser.engagement.active_ticks`.
25     bugs:
26       - https://bugzilla.mozilla.org/show_bug.cgi?id=1376942  # Telemetry
27       - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172  # Telemetry
28       - https://bugzilla.mozilla.org/show_bug.cgi?id=1741674
29       - https://bugzilla.mozilla.org/show_bug.cgi?id=1755050
30       - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
31     data_reviews:
32       - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172#c8
33       - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
34       - https://bugzilla.mozilla.org/show_bug.cgi?id=1811152#c5
35     data_sensitivity:
36       - interaction
37     notification_emails:
38       - loines@mozilla.com
39     expires: never
40     send_in_pings:
41       - baseline
42       - metrics
43     no_lint:
44       - BASELINE_PING
46   uri_count:
47     type: counter
48     description: |
49       The number of total non-unique http(s) URIs visited, including page
50       reloads, after the session has been restored. URIs on minimized or
51       background tabs may also be counted. Private browsing uris are included.
53       Migrated from Telemetry's
54       `browser.engagement.total_uri_count_normal_and_private_mode`.
55     bugs:
56       - https://bugzilla.mozilla.org/show_bug.cgi?id=1535169  # Telemetry
57       - https://bugzilla.mozilla.org/show_bug.cgi?id=1741674
58       - https://bugzilla.mozilla.org/show_bug.cgi?id=1755050
59       - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
60     data_reviews:
61       - https://bugzilla.mozilla.org/show_bug.cgi?id=1535169#c14
62       - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
63       - https://bugzilla.mozilla.org/show_bug.cgi?id=1811152#c5
64     data_sensitivity:
65       - interaction
66     notification_emails:
67       - loines@mozilla.com
68     expires: never
69     send_in_pings:
70       - baseline
71       - metrics
72     no_lint:
73       - BASELINE_PING
75   profile_count:
76     type: quantity
77     unit: profiles
78     description: |
79       Windows only count of the browser profiles on the current system. This
80       counts profiles that have been used across all Windows user accounts on
81       machine since this probe was added. The value persists across installs.
82       A value of 0 is reported if there is an error determining the correct
83       count. Unset on other platforms.
84     bugs:
85       - https://bugzilla.mozilla.org/show_bug.cgi?id=1813195
86     data_reviews:
87       - https://bugzilla.mozilla.org/show_bug.cgi?id=1647422#c8
88     data_sensitivity:
89       - technical
90     notification_emails:
91       - pmcmanis@mozilla.com
92       - rtestard@mozilla.com
93     send_in_pings:
94       - metrics
95     expires: never
97 ping.centre:
98   send_failures:
99     type: counter
100     description: |
101       The number of PingCentre send failures.
102     bugs:
103       - https://bugzilla.mozilla.org/show_bug.cgi?id=1800079
104       - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
105     data_reviews:
106       - https://bugzilla.mozilla.org/show_bug.cgi?id=1800079
107       - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
108       - https://bugzilla.mozilla.org/show_bug.cgi?id=1851237
109     data_sensitivity:
110       - technical
111     notification_emails:
112       - chutten@mozilla.com
113     expires: 125
115   send_failures_by_namespace:
116     type: labeled_counter
117     description: |
118       The number of PingCentre send failures,
119       broken down by structured ingestion namespace.
120     bugs:
121       - https://bugzilla.mozilla.org/show_bug.cgi?id=1814922
122       - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
123     data_reviews:
124       - https://bugzilla.mozilla.org/show_bug.cgi?id=1814922
125       - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
126       - https://bugzilla.mozilla.org/show_bug.cgi?id=1851237
127     data_sensitivity:
128       - technical
129     notification_emails:
130       - chutten@mozilla.com
131     expires: 125
132     labels: &structured_ingestion_namespaces
133       - activity_stream
134       - messaging_system
135       - contextual_services
136     no_lint:
137       - COMMON_PREFIX
139   send_successes_by_namespace:
140     type: labeled_counter
141     description: |
142       The number of PingCentre send successes,
143       broken down by structured ingestion namespace.
144     bugs:
145       - https://bugzilla.mozilla.org/show_bug.cgi?id=1814922
146       - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
147     data_reviews:
148       - https://bugzilla.mozilla.org/show_bug.cgi?id=1814922
149       - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
150       - https://bugzilla.mozilla.org/show_bug.cgi?id=1851237
151     data_sensitivity:
152       - technical
153     notification_emails:
154       - chutten@mozilla.com
155     expires: 125
156     labels: *structured_ingestion_namespaces
157     no_lint:
158       - COMMON_PREFIX