tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

metrics.yaml (2979B)


      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/.
      4 
      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
      7 
      8 ---
      9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
     10 $tags:
     11  - 'Core :: Preferences: Backend'
     12 
     13 security:
     14  pref_usage_content_process:
     15    type: event
     16    description: >
     17      We block certain preferences from being sent to the content process
     18      because they contain sensitive user data. Some preferences are
     19      blocked by name, others by heuristic. If one of the preferences so
     20      blocked is accidently accessed we want to know about it so we can
     21      allowlist it or refactor the access.
     22      This event was generated to correspond to the Legacy Telemetry event
     23      security.prefUsage#contentProcess.
     24    bugs:
     25      - https://bugzil.la/1782544
     26      - https://bugzil.la/1708798
     27    data_reviews:
     28      - https://bugzil.la/1782544
     29      - https://bugzil.la/1708798
     30    notification_emails:
     31      - tom@mozilla.com
     32    expires: never
     33    extra_keys:
     34      value:
     35        description: >
     36          The `value` of the event. Mirrors to the Legacy Telemetry
     37          event's `value` parameter.
     38          The name of the pref.
     39        type: string
     40    telemetry_mirror: Security_Prefusage_Contentprocess
     41 
     42 preferences:
     43  prefs_file_was_invalid:
     44    type: boolean
     45    description: >
     46      Set to true if a failure occurred reading profile/prefs.js.
     47      This metric was generated to correspond to the Legacy Telemetry
     48      scalar preferences.prefs_file_was_invalid.
     49    bugs:
     50      - https://bugzil.la/1367813
     51      - https://bugzil.la/1682571
     52    data_reviews:
     53      - https://bugzil.la/1367813
     54      - https://bugzil.la/1682571
     55    notification_emails:
     56      - kwright@mozilla.com
     57    expires: never
     58    telemetry_mirror: PREFERENCES_PREFS_FILE_WAS_INVALID
     59 
     60  user_prefs:
     61    type: object
     62    lifetime: application
     63    description: |
     64      The fossilized remains of the Legacy Telemetry Environment's
     65      `settings.userPrefs` structure.
     66      A list of pref names and values.
     67      Some values will be the string "<user-set>" to obscure the value.
     68      Do not add more prefs to this list.
     69      Prefer instead to instrument your prefs directly with individual metrics.
     70      See Environment.sys.mjs' `DEFAULT_ENVIRONMENT_PREFS`.
     71    bugs:
     72      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950389
     73    data_reviews:
     74      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950389
     75    notification_emails:
     76      - chutten@mozilla.com
     77    data_sensitivity:
     78      - technical
     79    expires: never
     80    structure:
     81      type: array
     82      items:
     83        type: object
     84        properties:
     85          name:
     86            type: string
     87          value:
     88            type: string
     89    send_in_pings:
     90      - metrics
     91      - update