tor-browser

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

metrics.yaml (3857B)


      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 :: Audio/Video'
     12 
     13 mfcdm:
     14  eme_playback:
     15    type: event
     16    description:
     17      Record the information about the EME playback when using the media engine.
     18      The value of this event is the key system name.
     19    metadata:
     20      tags:
     21        - 'Core :: Audio/Video: Playback'
     22    bugs:
     23      - https://bugzilla.mozilla.org/show_bug.cgi?id=1873394
     24    data_reviews:
     25      - https://bugzilla.mozilla.org/show_bug.cgi?id=1873394#c7
     26    data_sensitivity:
     27      - technical
     28    notification_emails:
     29      - media-alerts@mozilla.com
     30    extra_keys:
     31      key_system:
     32        description: The key system used for the EME playback
     33        type: string
     34      video_codec:
     35        description: The video codec used for EME playback
     36        type: string
     37      resolution:
     38        description: The video resolution used for EME playback
     39        type: string
     40      played_time:
     41        description: The amount of time (in seconds) the EME content has been played (in seconds)
     42        type: quantity
     43      rendered_frames:
     44        description: The amount of video frames has been rendered
     45        type: quantity
     46      dropped_frames:
     47        description: The amount of video frames don't get rendered but dropped
     48        type: quantity
     49    expires: 152
     50    telemetry_mirror: Mfcdm_EmePlayback_Gecko
     51  error:
     52    type: event
     53    description:
     54      Record the error or crash happened while using the media engine playback.
     55      The value of this event is the name of error. This probe covers both EME
     56      and non-EME playback.
     57    metadata:
     58      tags:
     59        - 'Core :: Audio/Video: Playback'
     60    bugs:
     61      - https://bugzilla.mozilla.org/show_bug.cgi?id=1873394
     62    data_reviews:
     63      - https://bugzilla.mozilla.org/show_bug.cgi?id=1873394#c7
     64    data_sensitivity:
     65      - technical
     66    notification_emails:
     67      - media-alerts@mozilla.com
     68    extra_keys:
     69      error_name:
     70        description: The name of the error
     71        type: string
     72      current_state:
     73        description: The state of the external state machine was being used when the error or crash happened
     74        type: string
     75      audio_codec:
     76        description: The audio codec was being used when the error or crash happened
     77        type: string
     78      video_codec:
     79        description: The video codec was being used when the error or crash happened
     80        type: string
     81      resolution:
     82        description: The video resolution was being used when the error or crash happened
     83        type: string
     84      key_system:
     85        description: The key system was being used when the error or crash happened
     86        type: string
     87      platform_error:
     88        description: The platform specific error code, eg. HResult on Windows
     89        type: quantity
     90    expires: 152
     91    telemetry_mirror: Mfcdm_Error_Gecko
     92 
     93 media:
     94  decoder_backend_used:
     95    type: custom_distribution
     96    description: >
     97      Media decoder backend (0=WMF Software, 1=DXVA2D3D9, 2=DXVA2D3D11)
     98 
     99      This metric was generated to correspond to the Legacy Telemetry enumerated
    100      histogram MEDIA_DECODER_BACKEND_USED.
    101    range_min: 0
    102    range_max: 10
    103    bucket_count: 11
    104    histogram_type: linear
    105    bugs:
    106      - https://bugzilla.mozilla.org/show_bug.cgi?id=1259695
    107    data_reviews:
    108      - https://bugzilla.mozilla.org/show_bug.cgi?id=1259695
    109    notification_emails:
    110      - gfx-telemetry-alerts@mozilla.com
    111      - rhunt@mozilla.com
    112    expires: never
    113    telemetry_mirror: MEDIA_DECODER_BACKEND_USED