Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/browser/components/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 43 kB image not shown  

Quelle  metrics.yaml  Sprache: unbekannt

 
Spracherkennung für: .yaml vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

# 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.launched_to_handle:
  system_notification:
    type: event
    description: >
      Recorded when Firefox launches to complete a native notification popped by
      a system (chrome privileged) alert.  Windows-only at the time of writing.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1788960
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1788960#c10
    data_sensitivity:
      - interaction
    notification_emails:
      - nalexander@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      name:
        description: >
          The `name` of the system (chrome privileged) alert that Firefox was
          launched to complete.
        type: string
      action:
        description: >
          The `action` of the system (chrome privileged) alert that Firefox was
          launched to complete.
        type: string
    telemetry_mirror: BrowserLaunched_to_handle_SystemNotification_Toast

background_update:
  reasons_to_not_update:
    type: string_list
    description: >
      Records which error was causing the background updater to fail.
      This list supercedes the `background-update.reason` in
      `mozapps/update/metrics.yaml`
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1795471
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1795471
    data_sensitivity:
      - technical
    notification_emails:
      - install-update@mozilla.com
    expires: never
    send_in_pings:
      - background-update
      - metrics
    lifetime: application

  time_last_update_scheduled:
    type: datetime
    time_unit: day
    description: >
      Last time the background update was triggered.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1795471
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1795471
    data_sensitivity:
      - interaction
    notification_emails:
      - install-update@mozilla.com
    expires: never
    send_in_pings:
      - background-update
      - metrics
    lifetime: application

start_menu:
  manually_unpinned_since_last_launch:
    type: event
    description: >
      Records whether Firefox has been unpinned from the Windows start menu
      since last launch. This will only be recorded on MSIX due to the
      underlying API only being available for packaged applications.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1900035
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1900035
    data_sensitivity:
      - interaction
    notification_emails:
      - install-update@mozilla.com
    expires: never
    send_in_pings:
      - events
    lifetime: ping

sslkeylogging:
  enabled:
    type: boolean
    description: >
      Records whether TLS key logging has been enabled via the environment
      variable SSLKEYLOGFILE.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1918455
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1918455
    data_sensitivity:
      - technical
    notification_emails:
      - dkeeler@mozilla.com
    expires: never

launch_on_login:
  last_profile_disable_startup:
    type: event
    description: >
      Recorded when Launch on login is disabled because the start with
      last profile setting has been disabled.
      This event was generated to correspond to the Legacy Telemetry event
      launch_on_login.last_profile_disable#startup.
    bugs:
      - https://bugzil.la/1858223
    data_reviews:
      - https://bugzil.la/1858223
    notification_emails:
      - nalexander@mozilla.com
    expires: never
    telemetry_mirror: Launch_on_login_LastProfileDisable_Startup

  user_toggle:
    type: event
    description: >
      Recorded when the user checks or unchecks the "Open Firefox when
      your computer starts" checkbox in about:preferences.
    bugs:
      - https://bugzil.la/2034181
    data_reviews:
      - https://bugzil.la/2034181
    notification_emails:
      - drubino@mozilla.com
    expires: never
    extra_keys:
      enabled:
        type: boolean
        description: Whether launch on login was turned on (true) or off (false).

upgrade_dialog:
  trigger_reason:
    type: event
    description: >
      Triggering behaviors of the upgrade dialog. Value indicates which
      condition failed or all satisfied.
      This event was generated to correspond to the Legacy Telemetry event
      upgrade_dialog.trigger#reason.
    bugs:
      - https://bugzil.la/1697222
    data_reviews:
      - https://bugzil.la/1697222
    notification_emails:
      - edilee@mozilla.com
    expires: never
    extra_keys:
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
    telemetry_mirror: Upgrade_dialog_Trigger_Reason

browser.startup:
  abouthome_cache_result:
    type: quantity
    description: >
      How the about:home startup cache functioned on startup.

      0: Result value was never set (error case)
      1: Cache did not exist
      2: Cache page stream was corrupt / inaccessible
      3: Cache script stream was corrupt / inaccessible
      4: Cache was invalidated by a version bump
      5: Cache was valid, but read too late to be useful.
      6: Cache was valid and used.
      7: Cache is disabled.
      8: User did not load about:home on its own by default.
      9: Cache is disabled because about:newtab preloading is disabled.

      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.startup.abouthome_cache_result.
    bugs:
      - https://bugzil.la/1622263
      - https://bugzil.la/1614351
      - https://bugzil.la/1683101
      - https://bugzil.la/1714258
      - https://bugzil.la/1730042
      - https://bugzil.la/1754641
      - https://bugzil.la/1781978
      - https://bugzil.la/1811151
      - https://bugzil.la/1841926
    data_reviews:
      - https://bugzil.la/1622263
      - https://bugzil.la/1614351
      - https://bugzil.la/1683101
      - https://bugzil.la/1714258
      - https://bugzil.la/1730042
      - https://bugzil.la/1754641
      - https://bugzil.la/1781978
      - https://bugzil.la/1811151
      - https://bugzil.la/1841926
    notification_emails:
      - mconley@mozilla.com
      - perf-telemetry-alerts@mozilla.com
    expires: never
    unit: CACHE_RESULT_SCALARS
    no_lint:
      - COMMON_PREFIX

  abouthome_cache_shutdownwrite:
    type: boolean
    description: >
      True if the about:home startup cache was written via the
      AsyncShutdown blocker.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.startup.abouthome_cache_shutdownwrite.
    bugs:
      - https://bugzil.la/1622263
      - https://bugzil.la/1614351
      - https://bugzil.la/1683101
      - https://bugzil.la/1714258
      - https://bugzil.la/1730042
      - https://bugzil.la/1754641
      - https://bugzil.la/1781978
      - https://bugzil.la/1811151
      - https://bugzil.la/1841926
    data_reviews:
      - https://bugzil.la/1622263
      - https://bugzil.la/1614351
      - https://bugzil.la/1683101
      - https://bugzil.la/1714258
      - https://bugzil.la/1730042
      - https://bugzil.la/1754641
      - https://bugzil.la/1781978
      - https://bugzil.la/1811151
      - https://bugzil.la/1841926
    notification_emails:
      - mconley@mozilla.com
      - perf-telemetry-alerts@mozilla.com
    expires: never
    no_lint:
      - COMMON_PREFIX
  kiosk_mode:
    type: boolean
    description: >
      True when the browser was started in kiosk mode.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914581
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914581
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
    expires: never
    lifetime: application

qrcode:
  opened:
    type: counter
    description: >
      Records how often the QR code dialog is opened from the Share menu.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1996321
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1996321
    data_sensitivity:
      - interaction
    notification_emails:
      - overholt@mozilla.com
    expires: never

datasanitization:
  privacy_sanitize_sanitize_on_shutdown:
    type: boolean
    description: >
      A boolean reporting the value of the
      privacy.sanitize.sanitizeOnShutdown pref.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.privacy_sanitize_sanitizeOnShutdown.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    notification_emails:
      - ewright@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: DATASANITIZATION_PRIVACY_SANITIZE_SANITIZEONSHUTDOWN

  privacy_clear_on_shutdown_cookies:
    type: boolean
    description: >
      A boolean reporting the value of the privacy.clearOnShutdown.cookies
      pref.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.privacy_clearOnShutdown_cookies.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    notification_emails:
      - ewright@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: DATASANITIZATION_PRIVACY_CLEARONSHUTDOWN_COOKIES

  privacy_clear_on_shutdown_history:
    type: boolean
    description: >
      A boolean reporting the value of the privacy.clearOnShutdown.history
      pref.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.privacy_clearOnShutdown_history.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    notification_emails:
      - ewright@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: DATASANITIZATION_PRIVACY_CLEARONSHUTDOWN_HISTORY

  privacy_clear_on_shutdown_formdata:
    type: boolean
    description: >
      A boolean reporting the value of the
      privacy.clearOnShutdown.formdata pref.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.privacy_clearOnShutdown_formdata.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    notification_emails:
      - ewright@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: DATASANITIZATION_PRIVACY_CLEARONSHUTDOWN_FORMDATA

  privacy_clear_on_shutdown_downloads:
    type: boolean
    description: >
      A boolean reporting the value of the
      privacy.clearOnShutdown.downloads pref.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.privacy_clearOnShutdown_downloads.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    notification_emails:
      - ewright@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: DATASANITIZATION_PRIVACY_CLEARONSHUTDOWN_DOWNLOADS

  privacy_clear_on_shutdown_cache:
    type: boolean
    description: >
      A boolean reporting the value of the privacy.clearOnShutdown.cache
      pref.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.privacy_clearOnShutdown_cache.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    notification_emails:
      - ewright@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: DATASANITIZATION_PRIVACY_CLEARONSHUTDOWN_CACHE

  privacy_clear_on_shutdown_sessions:
    type: boolean
    description: >
      A boolean reporting the value of the
      privacy.clearOnShutdown.sessions pref.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.privacy_clearOnShutdown_sessions.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    notification_emails:
      - ewright@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: DATASANITIZATION_PRIVACY_CLEARONSHUTDOWN_SESSIONS

  privacy_clear_on_shutdown_offline_apps:
    type: boolean
    description: >
      A boolean reporting the value of the
      privacy.clearOnShutdown.offlineApps pref.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.privacy_clearOnShutdown_offlineApps.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    notification_emails:
      - ewright@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: DATASANITIZATION_PRIVACY_CLEARONSHUTDOWN_OFFLINEAPPS

  privacy_clear_on_shutdown_site_settings:
    type: boolean
    description: >
      A boolean reporting the value of the
      privacy.clearOnShutdown.siteSettings pref.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.privacy_clearOnShutdown_siteSettings.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    notification_emails:
      - ewright@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: DATASANITIZATION_PRIVACY_CLEARONSHUTDOWN_SITESETTINGS

  privacy_clear_on_shutdown_open_windows:
    type: boolean
    description: >
      A boolean reporting the value of the
      privacy.clearOnShutdown.openWindows pref.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.privacy_clearOnShutdown_openWindows.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
    notification_emails:
      - ewright@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: DATASANITIZATION_PRIVACY_CLEARONSHUTDOWN_OPENWINDOWS

  session_permission_exceptions:
    type: quantity
    description: >
      A count of how many "session" cookie exceptions a user has set.
      This metric was generated to correspond to the Legacy Telemetry
      scalar datasanitization.session_permission_exceptions.
    bugs:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
      - https://bugzil.la/1744559
    data_reviews:
      - https://bugzil.la/1589753
      - https://bugzil.la/1617241
      - https://bugzil.la/1645089
      - https://bugzil.la/1678210
      - https://bugzil.la/1744559
    notification_emails:
      - emz@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    unit: unknown
    telemetry_mirror: DATASANITIZATION_SESSION_PERMISSION_EXCEPTIONS

startup:
  is_cold:
    type: boolean
    description: >
      Whether or not this startup is the first startup since OS reboot
      (according to our best guess.)
      This metric was generated to correspond to the Legacy Telemetry
      scalar startup.is_cold.
    bugs:
      - https://bugzil.la/1542833
    data_reviews:
      - https://bugzil.la/1542833
    notification_emails:
      - dothayer@mozilla.com
    expires: never
    telemetry_mirror: STARTUP_IS_COLD

  seconds_since_last_os_restart:
    type: quantity
    description: >
      The time in seconds between the first browser window loading, and
      the time the OS started. This can give us an indication of whether
      starting the browser may have been the first thing the user did
      after starting their computer.
      This metric was generated to correspond to the Legacy Telemetry
      scalar startup.seconds_since_last_os_restart.
    bugs:
      - https://bugzil.la/1654063
    data_reviews:
      - https://bugzil.la/1654063
    notification_emails:
      - dothayer@mozilla.com
    expires: never
    unit: seconds
    telemetry_mirror: STARTUP_SECONDS_SINCE_LAST_OS_RESTART

os.environment:
  launch_method:
    type: string
    description: >
      Records how Firefox was started on Windows. Currently will be one of
      "Desktop", "DesktopPrivate", "StartMenu" (including pins),
      "StartMenuPrivate", "Taskbar", "TaskbarPrivate", "OtherShortcut", or
      "Other"
      This metric was generated to correspond to the Legacy Telemetry
      scalar os.environment.launch_method.
    bugs:
      - https://bugzil.la/1685213
      - https://bugzil.la/1725298
      - https://bugzil.la/1754656
    data_reviews:
      - https://bugzil.la/1685213
      - https://bugzil.la/1725298
      - https://bugzil.la/1754656
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
      - rtestard@mozilla.com
      - shong@mozilla.com
    expires: never
    telemetry_mirror: OS_ENVIRONMENT_LAUNCH_METHOD

  launched_to_handle:
    type: labeled_counter
    description: >
      Records counts for when Firefox was launched afresh (i.e., was not
      already running) to handle a file type or protocol with `-osint -url
      ...`.  The result is split into keys which represent the file
      extension: currently, the set of file types Firefox registers to
      handle, namely ".avif", ".htm", ".html", ".pdf", ".shtml", ".xht",
      ".xhtml", ".svg", ".webp", and the set of protocol schemes that
      Firefox registers to handle, namely "about", "http", "https",
      "mailto".  If Firefox was launched to handle a file type or protocol
      it does not register to handle by default, the count is recorded as
      ".<other extension>" or "<other protocol>", respectively (neither of
      which are valid extension or protocol identifiers).
      This metric was generated to correspond to the Legacy Telemetry
      scalar os.environment.launched_to_handle.
    bugs:
      - https://bugzil.la/1243603
      - https://bugzil.la/1781984
    data_reviews:
      - https://bugzil.la/1243603
      - https://bugzil.la/1781984
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: OS_ENVIRONMENT_LAUNCHED_TO_HANDLE

  invoked_to_handle:
    type: labeled_counter
    description: >
      Records counts for when Firefox was invoked (i.e., was already
      running and was not launched) to handle a file type or protocol with
      `-osint -url ...`.  The result is split into keys which represent
      the file extension: currently, the set of file types Firefox
      registers to handle, namely ".avif", ".htm", ".html", ".pdf",
      ".shtml", ".xht", ".xhtml", ".svg", ".webp", and the set of protocol
      schemes that Firefox registers to handle, namely "about", "http",
      "https", "mailto".  If Firefox was invoked to handle a file type or
      protocol it does not register to handle by default, the count is
      recorded as ".<other extension>" or "<other protocol>", respectively
      (neither of which are valid extension or protocol identifiers).
      This metric was generated to correspond to the Legacy Telemetry
      scalar os.environment.invoked_to_handle.
    bugs:
      - https://bugzil.la/1243603
      - https://bugzil.la/1781984
    data_reviews:
      - https://bugzil.la/1243603
      - https://bugzil.la/1781984
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: OS_ENVIRONMENT_INVOKED_TO_HANDLE

  is_default_handler:
    type: labeled_boolean
    description: >
      Records whether Firefox was the default handler for particular file
      types or protocols.  The result is split into keys which represent
      the file extension or scheme: currently, a subset of the file types
      Firefox registers to handle, namely ".pdf" and "mailto" as protocol.
      In the future, more file types may be recorded.
      This metric was generated to correspond to the Legacy Telemetry
      scalar os.environment.is_default_handler.
    bugs:
      - https://bugzil.la/1743914
      - https://bugzil.la/1781984
      - https://bugzil.la/1842290
    data_reviews:
      - https://bugzil.la/1743914
      - https://bugzil.la/1781984
      - https://bugzil.la/1842290
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: OS_ENVIRONMENT_IS_DEFAULT_HANDLER

  is_kept_in_dock:
    type: boolean
    description: >
      Whether this app was kept in macOS Dock on startup
      This metric was generated to correspond to the Legacy Telemetry
      scalar os.environment.is_kept_in_dock.
    bugs:
      - https://bugzil.la/1715348
    data_reviews:
      - https://bugzil.la/1715348
    notification_emails:
      - elee@mozilla.com
      - shong@mozilla.com
    expires: never
    telemetry_mirror: OS_ENVIRONMENT_IS_KEPT_IN_DOCK

  desktop_entry_exists:
    type: string
    description: >
      Determines whether a freedesktop.org desktop entry exists that matches
      the remoting name, i.e. that is likely to associate with browser windows.

      This will only be set on Linux, and is either:
        * "absent", if none exists (or one exists but is marked Hidden, i.e.
          deleted)
        * "invisible", if it exists but is marked invisible (by NoDisplay etc)
        * "visible" if it exists and is visible
        * "sandboxed" if running under Flatpak or Snap, where it is likely
          visible but detection is impossible
    bugs:
      - https://bugzil.la/2032619
    data_reviews:
      - https://bugzil.la/2032619
    notification_emails:
      - dmcintosh@mozilla.com
      - drubino@mozilla.com
    expires: 155

  is_taskbar_pinned:
    type: boolean
    description: >
      Whether the non-Private Browsing version of this app was pinned to
      taskbar on startup
      This metric was generated to correspond to the Legacy Telemetry
      scalar os.environment.is_taskbar_pinned.
    bugs:
      - https://bugzil.la/1685213
      - https://bugzil.la/1725298
    data_reviews:
      - https://bugzil.la/1685213
      - https://bugzil.la/1725298
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
      - shong@mozilla.com
    expires: never
    telemetry_mirror: OS_ENVIRONMENT_IS_TASKBAR_PINNED

  is_taskbar_pinned_private:
    type: boolean
    description: >
      Whether the Private Browsing version of this app was pinned to
      taskbar on startup
      This metric was generated to correspond to the Legacy Telemetry
      scalar os.environment.is_taskbar_pinned_private.
    bugs:
      - https://bugzil.la/1751038
    data_reviews:
      - https://bugzil.la/1751038
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
      - shong@mozilla.com
    expires: never
    telemetry_mirror: OS_ENVIRONMENT_IS_TASKBAR_PINNED_PRIVATE

  launch_on_login_state:
    type: string
    description: >
      The state of the launch-on-login setting at startup. One of:
      "enabled" (launch on login is active), "disabled" (not enabled
      by the user), "disabled_by_settings" (blocked by Windows
      Settings or policy), "not_supported" (feature unavailable on
      this platform), or "error" (failed to determine state).
    bugs:
      - https://bugzil.la/2034180
    data_reviews:
      - https://bugzil.la/2034180
    notification_emails:
      - drubino@mozilla.com
    expires: never

security:
  https_only_mode_enabled:
    type: quantity
    description: >
      Measures user retention of the HTTPS-Only Mode. 0 = never enabled, 1
      = enabled, 2 = disabled (but was enabled)
      This metric was generated to correspond to the Legacy Telemetry
      scalar security.https_only_mode_enabled.
    bugs:
      - https://bugzil.la/1620244
    data_reviews:
      - https://bugzil.la/1620244
    notification_emails:
      - julianwels@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    unit: unknown
    telemetry_mirror: SECURITY_HTTPS_ONLY_MODE_ENABLED

  https_only_mode_enabled_pbm:
    type: quantity
    description: >
      Measures user retention of the HTTPS-Only Mode in Private Browsing.
      0 = https-only never enabled in PBM, 1 = https-only enabled in PBM,
      2 = https-only disabled in PBM (but was enabled)
      This metric was generated to correspond to the Legacy Telemetry
      scalar security.https_only_mode_enabled_pbm.
    bugs:
      - https://bugzil.la/1647719
    data_reviews:
      - https://bugzil.la/1647719
    notification_emails:
      - julianwels@mozilla.com
      - ckerschb@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    unit: unknown
    telemetry_mirror: SECURITY_HTTPS_ONLY_MODE_ENABLED_PBM

  global_privacy_control_enabled:
    type: quantity
    description: >
      Measures user retention of the Global Privacy Control. 0 = never
      enabled, 1 = enabled, 2 = disabled (but was enabled)
      This metric was generated to correspond to the Legacy Telemetry
      scalar security.global_privacy_control_enabled.
    bugs:
      - https://bugzil.la/1734185
    data_reviews:
      - https://bugzil.la/1734185
    notification_emails:
      - seceng-telemetry@mozilla.com
    expires: never
    unit: unknown
    telemetry_mirror: SECURITY_GLOBAL_PRIVACY_CONTROL_ENABLED

primary.password:
  enabled:
    type: boolean
    description: >
      If a primary-password is enabled for this profile.
      Set soon after browser startup.
      Does not update if a primary password is added or removed after startup.
    bugs:
      - https://bugzil.la/1936036
    data_reviews:
      - https://bugzil.la/1936036
    notification_emails:
      - mtigley@mozilla.com
    expires: never
    telemetry_mirror: PRIMARY_PASSWORD_ENABLED

browser:
  is_user_default:
    type: labeled_counter
    description: >
      Whether Firefox is the system default browser on startup. A true value is
      also recorded here, and a false value is recorded to
      set_default_error, if a user clicked 'Use Firefox as my default
      browser' on an in-product prompt. (Note that on Windows 8+ the latter
      action opens the right settings dialog but does not actually change the
      default browser without further user action.) On Windows, 'system default
      browser' is operationalized as whether Firefox is the default HTTP
      protocol handler.

      This metric was generated to correspond to the Legacy Telemetry boolean
      histogram BROWSER_IS_USER_DEFAULT.
    labels:
      - "false"
      - "true"
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=855928
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1641713
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=855928
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1641713
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: h#BROWSER_IS_USER_DEFAULT

  is_user_default_error:
    type: labeled_counter
    description: >
      True if the browser was unable to determine if the browser was set as
      default.

      This metric was generated to correspond to the Legacy Telemetry boolean
      histogram BROWSER_IS_USER_DEFAULT_ERROR.
    labels:
      - "false"
      - "true"
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: h#BROWSER_IS_USER_DEFAULT_ERROR

  set_default_dialog_prompt_rawcount:
    type: custom_distribution
    description: >
      The number of times that a profile has seen the 'Set Default Browser'
      dialog.

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram BROWSER_SET_DEFAULT_DIALOG_PROMPT_RAWCOUNT.
    range_min: 1
    range_max: 250
    bucket_count: 15
    histogram_type: exponential
    unit: prompts
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_SET_DEFAULT_DIALOG_PROMPT_RAWCOUNT

  set_default_always_check:
    type: labeled_counter
    description: >
      True if the profile has `browser.shell.checkDefaultBrowser` set to true.

      This metric was generated to correspond to the Legacy Telemetry boolean
      histogram BROWSER_SET_DEFAULT_ALWAYS_CHECK.
    labels:
      - "false"
      - "true"
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: h#BROWSER_SET_DEFAULT_ALWAYS_CHECK

  set_default_result:
    type: custom_distribution
    description: >
      Result of the Set Default Browser dialog. After Firefox 89 the these
      values are: (0=Use Firefox + 'Don't ask again' checked, 1=Use Firefox +
      'Don't ask again' unchecked, 2=Not Now + 'Don't ask again' checked, 3=Not
      Now + 'Don't ask again' unchecked). Before Firefox 89 these values were:
      (0=Use Firefox + 'Always perform check' unchecked, 1=Use Firefox + 'Always
      perform check' checked, 2=Not Now + 'Always perform check' unchecked,
      3=Not Now + 'Always perform check' checked).

      This metric was generated to correspond to the Legacy Telemetry enumerated
      histogram BROWSER_SET_DEFAULT_RESULT.
    range_min: 0
    range_max: 4
    bucket_count: 5
    histogram_type: linear
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_SET_DEFAULT_RESULT

  set_default_error:
    type: labeled_counter
    description: >
      True if the browser was unable to set Firefox as the default browser

      This metric was generated to correspond to the Legacy Telemetry boolean
      histogram BROWSER_SET_DEFAULT_ERROR.
    labels:
      - "false"
      - "true"
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: h#BROWSER_SET_DEFAULT_ERROR

  set_default_pdf_handler_attempt:
    type: event
    description: >
      Recorded once per call to ShellService.setAsDefaultPDFHandler. Captures
      the last method that was attempted, whether that method's API call
      succeeded without throwing, and whether Firefox is the default PDF
      handler when the OS state is sampled after
      browser.shell.setDefaultPDFHandler.attemptWaitTimeMs has elapsed. The
      wait gives the user time to interact with any picker or settings
      dialog that the chosen method launched.
    extra_keys:
      method:
        type: string
        description: >
          Which method was last attempted. One of "user_choice" (UserChoice
          registry write), "open_with" (IOpenWithLauncher API), or "settings"
          (ms-settings:defaultapps modern settings dialog).
      success:
        type: boolean
        description: >
          Whether the API call for the chosen method returned without
          throwing. For user_choice this means the registry write completed;
          for open_with and settings it only means the launcher was invoked,
          not that the user picked Firefox.
      result_is_default:
        type: boolean
        description: >
          Whether Firefox is the default PDF handler when sampled after the
          attemptWaitTimeMs delay.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2022617
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2022617
    notification_emails:
      - hsohaney@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never

  set_default_pdf_handler_modern_settings_result:
    type: labeled_counter
    description: >
      Result of each attempt to set the default PDF handler by opening modern settings
      through the ms-settings protocol (ms-settings:defaultapps).
    labels:
      - Success
      - Failure
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2022617
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2022617
    notification_emails:
      - hsohaney@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never


  set_default_protocol_handler_attempt:
    type: event
    description: >
      Recorded once per call to ShellService.setAsDefaultProtocolHandler.
      Captures the last method that was attempted, whether that method's
      API call succeeded without throwing, the protocol that was targeted,
      and whether Firefox is the default protocol handler when the OS state
      is sampled after
      browser.shell.setDefaultProtocolHandler.attemptWaitTimeMs has elapsed.
      The wait gives the user time to interact with any picker or settings
      dialog that the chosen method launched.
    extra_keys:
      method:
        type: string
        description: >
          Which method was last attempted. One of "open_with"
          (IOpenWithLauncher API) or "settings" (ms-settings:defaultapps
          modern settings dialog).
      success:
        type: boolean
        description: >
          Whether the API call for the chosen method returned without
          throwing. This only means the launcher was invoked, not that the
          user picked Firefox.
      protocol:
        type: string
        description: >
          The protocol that was targeted (e.g. "https", "mailto").
      result_is_default:
        type: boolean
        description: >
          Whether Firefox is the default handler for `protocol` when sampled
          after the attemptWaitTimeMs delay.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2041764
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2041764
    notification_emails:
      - hsohaney@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never

  set_default_protocol_handler_modern_settings_result:
    type: labeled_counter
    description: >
      Result of each attempt to set the default protocol handler by opening
      modern settings through the ms-settings protocol
      (ms-settings:defaultapps).
    labels:
      - Success
      - Failure
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2041764
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2041764
    notification_emails:
      - hsohaney@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never

  set_default_pdf_handler_user_choice_result:
    type: labeled_counter
    description: >
      Result of each attempt to set the default browser by setting the user-choice
      regkey for pdf extension.

      This metric was generated to correspond to the Legacy Telemetry
      categorical histogram BROWSER_SET_DEFAULT_PDF_HANDLER_USER_CHOICE_RESULT.
    labels:
      - Success
      - ErrProgID
      - ErrHash
      - ErrLaunchExe
      - ErrExeTimeout
      - ErrExeProgID
      - ErrExeHash
      - ErrExeRejected
      - ErrExeOther
      - ErrOther
      - ErrBuild
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1805509
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1883466
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1805509
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1883466
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: h#BROWSER_SET_DEFAULT_PDF_HANDLER_USER_CHOICE_RESULT

  set_default_user_choice_result:
    type: labeled_counter
    description: >
      Result of each attempt to set the default browser with
      SetDefaultBrowserUserChoice()

      This metric was generated to correspond to the Legacy Telemetry
      categorical histogram BROWSER_SET_DEFAULT_USER_CHOICE_RESULT.
    labels:
      - Success
      - ErrProgID
      - ErrHash
      - ErrLaunchExe
      - ErrExeTimeout
      - ErrExeProgID
      - ErrExeHash
      - ErrExeRejected
      - ErrExeOther
      - ErrOther
      - ErrBuild
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1703578
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1736631
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1791928
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1881397
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1703578
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1736631
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1791928
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1881397
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: h#BROWSER_SET_DEFAULT_USER_CHOICE_RESULT

  attribution_errors:
    type: labeled_counter
    description: >
      Count for the number of errors encountered trying to determine attribution
      data: on Windows, from the installers (stub and full); on macOS, from an
      extended attributed on the .app bundle.

      This metric was generated to correspond to the Legacy Telemetry
      categorical histogram BROWSER_ATTRIBUTION_ERRORS.
    labels:
      - read_error
      - decode_error
      - write_error
      - quarantine_error
      - empty_error
      - null_error
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1621402
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1525076
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1874944
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1621402
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1525076
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1874944
    notification_emails:
      - omc-core@mozilla.com
    expires: never
    telemetry_mirror: h#BROWSER_ATTRIBUTION_ERRORS

  default_at_launch:
    type: boolean
    lifetime: application
    description: |
      Whether the shell service identified this app as the default browser.
      Checked once near startup.
      On Windows, this is operationalized as whether Firefox is the default
      HTTP protocol handler and the default HTML file handler.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950389
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950389
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    data_sensitivity:
      - technical
    expires: never

  global_ai_control_is_blocking:
    type: boolean
    lifetime: application
    description: |
      Status of the global AI enhancements setting.
      When true, enhancements are blocked.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2013077
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2013077
    notification_emails:
      - project-nimbus@mozilla.com
    data_sensitivity:
      - interaction
    expires: never
    send_in_pings:
      - metrics

  ai_control_is_blocking:
    type: labeled_boolean
    lifetime: application
    description: |
      Status of the AI controls per feature setting.
      When true, the feature enhancement is blocked.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2018218
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2018218
    notification_emails:
      - sopsal@mozilla.com
      - mstriemer@mozilla.com
    data_sensitivity:
      - interaction
    expires: never
    send_in_pings:
      - metrics

  global_ai_control_toggled:
    type: event
    description: Emitted when the global AI enhancements setting is toggled.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2012214
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2012214
    notification_emails:
      - project-nimbus@mozilla.com
    data_sensitivity:
      - interaction
    expires: never
    extra_keys:
      blocked:
        type: boolean
        description: >
          The state of the "Block AI Enhancements" toggle.

  ai_control_changed:
    type: event
    description: Emitted when an AI enhancement control setting is changed.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2018218
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2018218
    notification_emails:
      - sopsal@mozilla.com
      - mstriemer@mozilla.com
    data_sensitivity:
      - interaction
    expires: never
    extra_keys:
      feature:
        type: string
        description: >
          The AI Control feature identifier.
      selection:
        type: string
        description: >
          The state of the "Block AI Enhancements" dropdown.

distribution:
  mozillaonline_ignored:
    type: boolean
    description: >
      Recorded when Firefox detects a mozillaonline distribution and ignores it,
      applying no distribution customizations.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2027788
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=2027788
    data_sensitivity:
      - technical
    notification_emails:
      - amarchesini@mozilla.com
    expires: never
    lifetime: application

[Dauer der Verarbeitung: 0.20 Sekunden, vorverarbeitet 2026-09-28]