Backed out changeset aa5fc411278d (bug 1876522) for causing failures on browser_tab_t...
[gecko.git] / browser / components / metrics.yaml
blob81b12dc89cae25279abff4ee0b9a645c0c8cc756
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.launched_to_handle:
14   system_notification:
15     type: event
16     description: >
17       Recorded when Firefox launches to complete a native notification popped by
18       a system (chrome privileged) alert.  Windows-only at the time of writing.
19     bugs:
20       - https://bugzilla.mozilla.org/show_bug.cgi?id=1788960
21     data_reviews:
22       - https://bugzilla.mozilla.org/show_bug.cgi?id=1788960#c10
23     data_sensitivity:
24       - interaction
25     notification_emails:
26       - nalexander@mozilla.com
27       - rtestard@mozilla.com
28     expires: never
29     extra_keys:
30       name:
31         description: >
32           The `name` of the system (chrome privileged) alert that Firefox was
33           launched to complete.
34         type: string
35       action:
36         description: >
37           The `action` of the system (chrome privileged) alert that Firefox was
38           launched to complete.
39         type: string
40     telemetry_mirror: BrowserLaunched_to_handle_SystemNotification_Toast
42 background_update:
43   reasons_to_not_update:
44     type: string_list
45     description: >
46       Records which error was causing the background updater to fail.
47       This list supercedes the `background-update.reason` in
48       `mozapps/update/metrics.yaml`
49     bugs:
50       - https://bugzilla.mozilla.org/show_bug.cgi?id=1795471
51     data_reviews:
52       - https://bugzilla.mozilla.org/show_bug.cgi?id=1795471
53     data_sensitivity:
54       - technical
55     notification_emails:
56       - install-update@mozilla.com
57     expires: never
58     send_in_pings:
59       - background-update
60       - metrics
61     lifetime: application
63   time_last_update_scheduled:
64     type: datetime
65     time_unit: day
66     description: >
67       Last time the background update was triggered.
68     bugs:
69       - https://bugzilla.mozilla.org/show_bug.cgi?id=1795471
70     data_reviews:
71       - https://bugzilla.mozilla.org/show_bug.cgi?id=1795471
72     data_sensitivity:
73       - interaction
74     notification_emails:
75       - install-update@mozilla.com
76     expires: never
77     send_in_pings:
78       - background-update
79       - metrics
80     lifetime: application