# 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 :: Profiles' browser.backup: enabled: type: boolean description: > True if the BackupService is enabled by default. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1908727 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1908727 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_ENABLED scheduler_enabled: type: boolean description: > True if the BackupService is configured to automatically create backups in the background. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1908727 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1908727 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_SCHEDULER_ENABLED pswd_encrypted: type: boolean description: > True if the BackupService is configured to encrypt backups. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1908727 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1908727 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_PSWD_ENCRYPTED location_on_device: type: quantity unit: enum (see description) description: > 1 = the default location, 2 = a non-default location bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1908727 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1908727 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_LOCATION_ON_DEVICE prof_d_disk_space: type: quantity unit: kilobyte description: > The total disk space available on the storage device that the profile directory is stored on. To reduce fingerprintability, we round to the nearest 10 megabytes and return the result in kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1884407 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1884407 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_PROF_D_DISK_SPACE total_backup_size: type: memory_distribution memory_unit: megabyte description: > The total uncompressed size of all profile data included in a completed backup. To reduce fingerprintability, we round to the nearest 1 mebibyte. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1887765 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1887765 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_TOTAL_BACKUP_SIZE compressed_archive_size: type: memory_distribution memory_unit: megabyte description: > The total compressed size of a single-file profile data backup archive. To reduce fingerprintability, we round to the nearest 1 mebibyte. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1907625 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1907625 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_COMPRESSED_ARCHIVE_SIZE total_backup_time: type: timing_distribution time_unit: millisecond description: > Total time elapsed, in milliseconds, between the start and end of the profile backup creation process bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1891146 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1891146 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_TOTAL_BACKUP_TIME_MS places_size: type: quantity unit: kilobyte description: > The total file size of the places.sqlite db located in the current profile directory, in kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883642 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883642 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_PLACES_SIZE places_time: type: timing_distribution time_unit: millisecond description: > Total time, in milliseconds, required to back up a profile's places database. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1891146 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1891146 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_PLACES_TIME_MS favicons_size: type: quantity unit: kilobyte description: > The total file size of the favicons.sqlite db located in the current profile directory, in kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883642 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883642 notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_FAVICONS_SIZE favicons_time: type: timing_distribution time_unit: millisecond description: > Total time, in milliseconds, required to back up a profile's favicons database. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1891146 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1891146 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_FAVICONS_TIME_MS credentials_data_size: type: quantity unit: kilobyte description: > The total size of logins, payment method, and form autofill related files in the current profile directory, in kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883736 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883736 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_CREDENTIALS_DATA_SIZE security_data_size: type: quantity unit: kilobyte description: > The total size of files needed for NSS initialization parameters and security certificate settings in the current profile directory, in kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883736 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883736 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_SECURITY_DATA_SIZE preferences_size: type: quantity unit: kilobyte description: > The total size of files relating to user preferences and permissions in the current profile directory, in kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883739 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883739 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_PREFERENCES_SIZE misc_data_size: type: quantity unit: kilobyte description: > The total size of files for telemetry, site storage, media device origin mapping, chrome privileged IndexedDB databases, and Mozilla Accounts in the current profile directory, rounded to the nearest tenth kilobyte. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883747 - https://bugzilla.mozilla.org/show_bug.cgi?id=1887746 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883747 - https://bugzilla.mozilla.org/show_bug.cgi?id=1887746 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_MISC_DATA_SIZE cookies_size: type: quantity unit: kilobyte description: > The total file size of the cookies.sqlite db located in the current profile directory, in kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883740 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883740 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_COOKIES_SIZE form_history_size: type: quantity unit: kilobyte description: > The file size of the formhistory.sqlite db located in the current profile directory, in kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883740 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883740 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_FORM_HISTORY_SIZE session_store_backups_directory_size: type: quantity unit: kilobyte description: > The total size of the session store backups directory, in kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883740 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883740 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_SESSION_STORE_BACKUPS_DIRECTORY_SIZE session_store_size: type: quantity unit: kilobyte description: > The size of uncompressed session store json, in kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883740 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883740 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_SESSION_STORE_SIZE extensions_json_size: type: quantity unit: kilobyte description: > The total file size of the current profiles extensions metadata files, rounded to the nearest 10 kilobytes. Files included are: - extensions.json - extension-settings.json - extension-preferences.json - addonStartup.json.lz4 bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_EXTENSIONS_JSON_SIZE extension_store_permissions_data_size: type: quantity unit: kilobyte description: > The file size of the current profiles extension-store-permissions/data.safe.bin file, rounded to the nearest 10 kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_EXTENSION_STORE_PERMISSIONS_DATA_SIZE storage_sync_size: type: quantity unit: kilobyte description: > The file size of the current profiles storage-sync-v2.sqlite db, rounded to the nearest 10 kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_STORAGE_SYNC_SIZE browser_extension_data_size: type: quantity unit: kilobyte description: > The total size of the current profiles storage.local legacy JSON backend in the browser-extension-data directory, rounded to the nearest 10 kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_BROWSER_EXTENSION_DATA_SIZE extensions_xpi_directory_size: type: quantity unit: kilobyte description: > The total size of the current profiles extensions directory, rounded to the nearest 10 kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_EXTENSIONS_XPI_DIRECTORY_SIZE extensions_storage_size: type: quantity unit: kilobyte description: > The total size of all extensions storage directories, rounded to the nearest 10 kilobytes. bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1883655 data_sensitivity: - technical notification_emails: - mconley@mozilla.com expires: never telemetry_mirror: BROWSER_BACKUP_EXTENSIONS_STORAGE_SIZE