tor-browser

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

metrics.yaml (1704B)


      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 :: DOM: Core & HTML'
     12 
     13 screenwakelock:
     14  held_duration:
     15    type: timing_distribution
     16    description: >
     17      How long a screen wake lock was held in ms
     18 
     19      This metric was generated to correspond to the Legacy Telemetry
     20      exponential histogram SCREENWAKELOCK_HELD_DURATION_MS.
     21    time_unit: millisecond
     22    bugs:
     23      - https://bugzilla.mozilla.org/show_bug.cgi?id=1589554
     24    data_reviews:
     25      - https://bugzilla.mozilla.org/show_bug.cgi?id=1589554
     26    notification_emails:
     27      - vhilla@mozilla.com
     28    expires: never
     29    telemetry_mirror: SCREENWAKELOCK_HELD_DURATION_MS
     30 
     31  release_battery_level_discharging:
     32    type: custom_distribution
     33    description: >
     34      Battery level when discharging and the wake lock was released
     35 
     36      This metric was generated to correspond to the Legacy Telemetry linear
     37      histogram SCREENWAKELOCK_RELEASE_BATTERY_LEVEL_DISCHARGING.
     38    range_min: 1
     39    range_max: 100
     40    bucket_count: 50
     41    histogram_type: linear
     42    unit: percentage
     43    bugs:
     44      - https://bugzilla.mozilla.org/show_bug.cgi?id=1589554
     45    data_reviews:
     46      - https://bugzilla.mozilla.org/show_bug.cgi?id=1589554
     47    notification_emails:
     48      - vhilla@mozilla.com
     49    expires: never
     50    telemetry_mirror: SCREENWAKELOCK_RELEASE_BATTERY_LEVEL_DISCHARGING