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
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
11 - 'Firefox :: General'
17 Dispatched when one of the sanitize dialogs opens
19 - https://bugzilla.mozilla.org/1856417
21 - https://bugzilla.mozilla.org/show_bug.cgi?id=1856417#c4
23 - hsohaney@mozilla.com
29 string representing which context the dialog was opened in,
30 one of ["browser", "clearSiteData", "clearHistory"]
35 Dispatched when the dialog is accepted (to clear)
37 - https://bugzilla.mozilla.org/1856417
39 - https://bugzilla.mozilla.org/show_bug.cgi?id=1856417#c4
41 - hsohaney@mozilla.com
47 string representing which context the dialog was opened in,
48 one of ["browser", "clearSiteData", "clearHistory"]
50 history_form_data_downloads:
51 description: true if history, form data and downloads is selected to be cleared
54 description: true if cookies and storage is selected to be cleared
57 description: true if cache is selected to be cleared
60 description: true if site settings is selected to be cleared
62 clearing_time_span_selected:
65 The time span range selected to sanitize
67 - https://bugzilla.mozilla.org/1856417
69 - https://bugzilla.mozilla.org/show_bug.cgi?id=1856417#c4
71 - hsohaney@mozilla.com
76 description: The timespan that was selected corresponding to one of Sanitizer.TIMESPAN_*'s value
80 type: timing_distribution
81 time_unit: millisecond
83 How much time was spent to open the dialog, including loading data sizes
85 - https://bugzilla.mozilla.org/1856417
87 - https://bugzilla.mozilla.org/show_bug.cgi?id=1856417#c4
89 - hsohaney@mozilla.com