tor-browser

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

metrics.yaml (2974B)


      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  - 'Firefox :: General'
     12 
     13 browser.ui.interaction:
     14  textrecognition_error:
     15    type: counter
     16    description: >
     17      Recorded when text recognition in images fails for some unknown
     18      reason.
     19      This metric was generated to correspond to the Legacy Telemetry
     20      scalar browser.ui.interaction.textrecognition_error.
     21    bugs:
     22      - https://bugzil.la/1783261
     23    data_reviews:
     24      - https://bugzil.la/1783261
     25    notification_emails:
     26      - gtatum@mozilla.com
     27      - nordzilla@mozilla.com
     28    expires: never
     29    telemetry_mirror: BROWSER_UI_INTERACTION_TEXTRECOGNITION_ERROR
     30 
     31 text_recognition:
     32  api_performance:
     33    type: timing_distribution
     34    description: >
     35      The milliseconds of time the text recognition results took to display,
     36      including the UI time and OS response time.
     37 
     38      This metric was generated to correspond to the Legacy Telemetry
     39      exponential histogram TEXT_RECOGNITION_API_PERFORMANCE.
     40    time_unit: millisecond
     41    bugs:
     42      - https://bugzilla.mozilla.org/show_bug.cgi?id=1783261
     43    data_reviews:
     44      - https://bugzilla.mozilla.org/show_bug.cgi?id=1783261
     45    notification_emails:
     46      - gtatum@mozilla.com
     47      - nordzilla@mozilla.com
     48    expires: never
     49    telemetry_mirror: TEXT_RECOGNITION_API_PERFORMANCE
     50 
     51  interaction_timing:
     52    type: timing_distribution
     53    description: >
     54      The milliseconds of time that a user viewed the text results.
     55 
     56      This metric was generated to correspond to the Legacy Telemetry
     57      exponential histogram TEXT_RECOGNITION_INTERACTION_TIMING.
     58    time_unit: millisecond
     59    bugs:
     60      - https://bugzilla.mozilla.org/show_bug.cgi?id=1783261
     61    data_reviews:
     62      - https://bugzilla.mozilla.org/show_bug.cgi?id=1783261
     63    notification_emails:
     64      - gtatum@mozilla.com
     65      - nordzilla@mozilla.com
     66    expires: never
     67    telemetry_mirror: TEXT_RECOGNITION_INTERACTION_TIMING
     68 
     69  text_length:
     70    type: custom_distribution
     71    description: >
     72      Measures the length of the text that was recognized, in code units.
     73 
     74      This metric was generated to correspond to the Legacy Telemetry
     75      exponential histogram TEXT_RECOGNITION_TEXT_LENGTH.
     76    range_min: 1
     77    range_max: 50000
     78    bucket_count: 20
     79    histogram_type: exponential
     80    unit: code units
     81    bugs:
     82      - https://bugzilla.mozilla.org/show_bug.cgi?id=1783261
     83    data_reviews:
     84      - https://bugzilla.mozilla.org/show_bug.cgi?id=1783261
     85    notification_emails:
     86      - gtatum@mozilla.com
     87      - nordzilla@mozilla.com
     88    expires: never
     89    telemetry_mirror: TEXT_RECOGNITION_TEXT_LENGTH