summaryrefslogtreecommitdiffstats
path: root/browser/modules/metrics.yaml
blob: d17c92dfaa20cc24cfaf942c5e1c8dcfb3587ce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# 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/.

# Adding a new metric? We have docs for that!
# https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html

---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
  - 'Firefox :: General'

browser.engagement:
  active_ticks:
    type: counter
    description: |
      The number of five-second intervals ('ticks') the user was considered
      'active'.

      'active' means keyboard or mouse interaction with the application.
      It doesn't take into account whether or not the window has focus or is in
      the foreground, only if it is receiving these interaction events.

      Migrated from Telemetry's `browser.engagement.active_ticks`.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1376942  # Telemetry
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172  # Telemetry
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1741674
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1755050
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172#c8
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811152#c5
    data_sensitivity:
      - interaction
    notification_emails:
      - loines@mozilla.com
    expires: never
    send_in_pings:
      - baseline
      - metrics
    no_lint:
      - BASELINE_PING

  uri_count:
    type: counter
    description: |
      The number of total non-unique http(s) URIs visited, including page
      reloads, after the session has been restored. URIs on minimized or
      background tabs may also be counted. Private browsing uris are included.

      Migrated from Telemetry's
      `browser.engagement.total_uri_count_normal_and_private_mode`.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1535169  # Telemetry
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1741674
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1755050
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1535169#c14
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811152#c5
    data_sensitivity:
      - interaction
    notification_emails:
      - loines@mozilla.com
    expires: never
    send_in_pings:
      - baseline
      - metrics
    no_lint:
      - BASELINE_PING

  profile_count:
    type: quantity
    unit: profiles
    description: |
      Windows only count of the browser profiles on the current system. This
      counts profiles that have been used across all Windows user accounts on
      machine since this probe was added. The value persists across installs.
      A value of 0 is reported if there is an error determining the correct
      count. Unset on other platforms.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1813195
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1647422#c8
    data_sensitivity:
      - technical
    notification_emails:
      - pmcmanis@mozilla.com
      - rtestard@mozilla.com
    send_in_pings:
      - metrics
    expires: never

ping.centre:
  send_failures:
    type: counter
    description: |
      The number of PingCentre send failures.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1800079
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1800079
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
    data_sensitivity:
      - technical
    notification_emails:
      - chutten@mozilla.com
    expires: 120

  send_failures_by_namespace:
    type: labeled_counter
    description: |
      The number of PingCentre send failures,
      broken down by structured ingestion namespace.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1814922
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1814922
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
    data_sensitivity:
      - technical
    notification_emails:
      - chutten@mozilla.com
    expires: 120
    labels: &structured_ingestion_namespaces
      - activity_stream
      - messaging_system
      - contextual_services
    no_lint:
      - COMMON_PREFIX

  send_successes_by_namespace:
    type: labeled_counter
    description: |
      The number of PingCentre send successes,
      broken down by structured ingestion namespace.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1814922
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1814922
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1827767
    data_sensitivity:
      - technical
    notification_emails:
      - chutten@mozilla.com
    expires: 120
    labels: *structured_ingestion_namespaces
    no_lint:
      - COMMON_PREFIX