tor-browser

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

metrics.yaml (18572B)


      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 :: Graphics: ImageLib"
     12 
     13 avif:
     14  decode_result:
     15    type: labeled_counter
     16    labels:
     17      - success
     18      - parse_error
     19      - no_primary_item
     20      - decode_error
     21      - size_overflow
     22      - out_of_memory
     23      - pipe_init_error
     24      - write_buffer_error
     25      - alpha_y_sz_mismatch
     26      - alpha_y_bpc_mismatch
     27      - ispe_mismatch
     28      - render_size_mismatch
     29      - frame_size_changed
     30      - invalid_cicp
     31      - invalid_parse_status
     32      - missing_brand
     33      - ftyp_not_first
     34      - no_image
     35      - multiple_moov
     36      - no_moov
     37      - lsel_no_essential
     38      - a1op_no_essential
     39      - a1lx_essential
     40      - txform_no_essential
     41      - image_item_type
     42      - item_type_missing
     43      - construction_method
     44      - item_loc_not_found
     45      - no_item_data_box
     46      - no_samples
     47      - ConvertYCbCr_failure
     48      - uncategorized
     49    description: >
     50      Decode result of AVIF image.
     51      (Migrated from the geckoview metric of the same name).
     52    bugs:
     53      - https://bugzilla.mozilla.org/show_bug.cgi?id=1670827
     54      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
     55    data_reviews:
     56      - https://bugzilla.mozilla.org/show_bug.cgi?id=1670827#c9
     57    notification_emails:
     58      - media-alerts@mozilla.com
     59    expires: never
     60 
     61  decoder:
     62    type: labeled_counter
     63    labels:
     64      - dav1d
     65      - aom
     66    description: >
     67      Decoder of AVIF image.
     68      (Migrated from the geckoview metric of the same name).
     69    bugs:
     70      - https://bugzilla.mozilla.org/show_bug.cgi?id=1670827
     71      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
     72    data_reviews:
     73      - https://bugzilla.mozilla.org/show_bug.cgi?id=1670827#c9
     74    notification_emails:
     75      - media-alerts@mozilla.com
     76    expires: never
     77 
     78  aom_decode_error:
     79    type: labeled_counter
     80    labels:
     81      - error
     82      - mem_error
     83      - abi_mismatch
     84      - incapable
     85      - unsup_bitstream
     86      - unsup_feature
     87      - corrupt_frame
     88      - invalid_param
     89    description: >
     90      Image-decode Error from AOM decoder
     91      (Migrated from the geckoview metric of the same name).
     92    bugs:
     93      - https://bugzilla.mozilla.org/show_bug.cgi?id=1690406
     94      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
     95    data_reviews:
     96      - https://bugzilla.mozilla.org/show_bug.cgi?id=1690406#c3
     97    notification_emails:
     98      - media-alerts@mozilla.com
     99    expires: never
    100 
    101  yuv_color_space:
    102    type: labeled_counter
    103    labels:
    104      - bt601
    105      - bt709
    106      - bt2020
    107      - identity
    108      - unknown
    109    description: >
    110      YUV color space of AVIF image.
    111      (Migrated from the geckoview metric of the same name).
    112    bugs:
    113      - https://bugzilla.mozilla.org/show_bug.cgi?id=1670827
    114      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    115    data_reviews:
    116      - https://bugzilla.mozilla.org/show_bug.cgi?id=1670827#c9
    117    notification_emails:
    118      - media-alerts@mozilla.com
    119    expires: never
    120 
    121  bit_depth:
    122    type: labeled_counter
    123    labels:
    124      - color_8
    125      - color_10
    126      - color_12
    127      - color_16
    128      - unknown
    129    gecko_datapoint: AVIF_BIT_DEPTH
    130    description: >
    131      Bits per pixel of AVIF image.
    132      (Migrated from the geckoview metric of the same name).
    133    bugs:
    134      - https://bugzilla.mozilla.org/show_bug.cgi?id=1670827
    135      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    136    data_reviews:
    137      - https://bugzilla.mozilla.org/show_bug.cgi?id=1670827#c9
    138    notification_emails:
    139      - media-alerts@mozilla.com
    140    expires: never
    141 
    142  alpha:
    143    type: labeled_counter
    144    labels:
    145      - absent
    146      - present
    147    description: >
    148      AVIF alpha plane.
    149      (Migrated from the geckoview metric of the same name).
    150    bugs:
    151      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045
    152      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    153    data_reviews:
    154      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045#c5
    155    notification_emails:
    156      - media-alerts@mozilla.com
    157    expires: never
    158 
    159  colr:
    160    type: labeled_counter
    161    labels:
    162      - nclx
    163      - icc
    164      - absent
    165      - both
    166    description: >
    167      AVIF colour information type.
    168      (Migrated from the geckoview metric of the same name).
    169    bugs:
    170      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045
    171      - https://bugzilla.mozilla.org/show_bug.cgi?id=1729071
    172      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    173    data_reviews:
    174      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045#c5
    175      - https://bugzilla.mozilla.org/show_bug.cgi?id=1729071#c15
    176    notification_emails:
    177      - media-alerts@mozilla.com
    178    expires: never
    179 
    180  cicp_cp:
    181    type: labeled_counter
    182    labels:
    183      - reserved
    184      - bt709
    185      - unspecified
    186      - reserved_3
    187      - bt470m
    188      - bt470bg
    189      - bt601
    190      - smpte240
    191      - generic_film
    192      - bt2020
    193      - xyz
    194      - smpte431
    195      - smpte432
    196      - reserved_13
    197      - reserved_14
    198      - reserved_15
    199      - reserved_16
    200      - reserved_17
    201      - reserved_18
    202      - reserved_19
    203      - reserved_20
    204      - reserved_21
    205      - ebu3213
    206      - reserved_rest
    207    description: >
    208      AVIF CICP colour primaries.
    209      (Migrated from the geckoview metric of the same name).
    210    bugs:
    211      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045
    212      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    213    data_reviews:
    214      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045#c5
    215    notification_emails:
    216      - media-alerts@mozilla.com
    217    expires: never
    218 
    219  cicp_tc:
    220    type: labeled_counter
    221    labels:
    222      - reserved
    223      - bt709
    224      - unspecified
    225      - reserved_3
    226      - bt470m
    227      - bt470bg
    228      - bt601
    229      - smpte240
    230      - linear
    231      - log_100
    232      - log_100_sqrt10
    233      - iec61966
    234      - bt_1361
    235      - srgb
    236      - bt2020_10bit
    237      - bt2020_12bit
    238      - smpte2084
    239      - smpte428
    240      - hlg
    241      - reserved_rest
    242    description: >
    243      AVIF CICP transfer characteristics.
    244      (Migrated from the geckoview metric of the same name).
    245    bugs:
    246      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045
    247      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    248    data_reviews:
    249      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045#c5
    250    notification_emails:
    251      - media-alerts@mozilla.com
    252    expires: never
    253 
    254  cicp_mc:
    255    type: labeled_counter
    256    labels:
    257      - identity
    258      - bt709
    259      - unspecified
    260      - reserved
    261      - fcc
    262      - bt470bg
    263      - bt601
    264      - smpte240
    265      - ycgco
    266      - bt2020_ncl
    267      - bt2020_cl
    268      - smpte2085
    269      - chromat_ncl
    270      - chromat_cl
    271      - ictcp
    272      - reserved_rest
    273    description: >
    274      AVIF CICP transfer characteristics.
    275      (Migrated from the geckoview metric of the same name).
    276    bugs:
    277      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045
    278      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    279    data_reviews:
    280      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045#c5
    281    notification_emails:
    282      - media-alerts@mozilla.com
    283    expires: never
    284 
    285  ispe:
    286    type: labeled_counter
    287    labels:
    288      - valid
    289      - absent
    290      - bitstream_mismatch
    291    description: >
    292      AVIF spatial extents (image size).
    293      (Migrated from the geckoview metric of the same name).
    294    bugs:
    295      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045
    296      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    297    data_reviews:
    298      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045#c5
    299    notification_emails:
    300      - media-alerts@mozilla.com
    301    expires: never
    302 
    303  pixi:
    304    type: labeled_counter
    305    labels:
    306      - valid
    307      - absent
    308      - bitstream_mismatch
    309    description: >
    310      AVIF pixel information (bits per channel).
    311      (Migrated from the geckoview metric of the same name).
    312    bugs:
    313      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045
    314      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    315    data_reviews:
    316      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696045#c5
    317    notification_emails:
    318      - media-alerts@mozilla.com
    319    expires: never
    320 
    321  pasp:
    322    type: labeled_counter
    323    labels:
    324      - absent
    325      - square
    326      - nonsquare
    327      - invalid
    328    description: >
    329      AVIF pixel aspect ratio.
    330      (Migrated from the geckoview metric of the same name).
    331    bugs:
    332      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    333      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    334    data_reviews:
    335      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608#c2
    336    notification_emails:
    337      - media-alerts@mozilla.com
    338    expires: never
    339 
    340  a1lx:
    341    type: labeled_counter
    342    labels:
    343      - present
    344      - absent
    345    description: >
    346      AV1LayeredImageIndexingProperty (a1lx).
    347      (Migrated from the geckoview metric of the same name).
    348    bugs:
    349      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    350      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    351    data_reviews:
    352      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608#c2
    353    notification_emails:
    354      - media-alerts@mozilla.com
    355    expires: never
    356 
    357  a1op:
    358    type: labeled_counter
    359    labels:
    360      - present
    361      - absent
    362    description: >
    363      AVIF OperatingPointSelectorProperty (a1op).
    364      (Migrated from the geckoview metric of the same name).
    365    bugs:
    366      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    367      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    368    data_reviews:
    369      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608#c2
    370    notification_emails:
    371      - media-alerts@mozilla.com
    372    expires: never
    373 
    374  clap:
    375    type: labeled_counter
    376    labels:
    377      - present
    378      - absent
    379    description: >
    380      AVIF CleanApertureBox (clap).
    381      (Migrated from the geckoview metric of the same name).
    382    bugs:
    383      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    384      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    385    data_reviews:
    386      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608#c2
    387    notification_emails:
    388      - media-alerts@mozilla.com
    389    expires: never
    390 
    391  grid:
    392    type: labeled_counter
    393    labels:
    394      - present
    395      - absent
    396    description: >
    397      AVIF AVIF grid-based image.
    398      (Migrated from the geckoview metric of the same name).
    399    bugs:
    400      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    401      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    402    data_reviews:
    403      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608#c2
    404    notification_emails:
    405      - media-alerts@mozilla.com
    406    expires: never
    407 
    408  ipro:
    409    type: labeled_counter
    410    labels:
    411      - present
    412      - absent
    413    description: >
    414      AVIF ItemProtectionBox (ipro).
    415      (Migrated from the geckoview metric of the same name).
    416    bugs:
    417      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    418      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    419    data_reviews:
    420      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608#c2
    421    notification_emails:
    422      - media-alerts@mozilla.com
    423    expires: never
    424 
    425  lsel:
    426    type: labeled_counter
    427    labels:
    428      - present
    429      - absent
    430    description: >
    431      AVIF LayerSelectorProperty (lsel).
    432      (Migrated from the geckoview metric of the same name).
    433    bugs:
    434      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    435      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877840
    436    data_reviews:
    437      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608#c2
    438    notification_emails:
    439      - media-alerts@mozilla.com
    440    expires: never
    441 
    442  dav1d_get_picture_return_value:
    443    type: event
    444    description: >
    445      Return value from dav1d_get_picture
    446      This event was generated to correspond to the Legacy Telemetry event
    447      avif.dav1d_get_picture#return_value.
    448    bugs:
    449      - https://bugzil.la/1690406
    450    data_reviews:
    451      - https://bugzil.la/1690406
    452    notification_emails:
    453      - media-alerts@mozilla.com
    454    expires: never
    455    extra_keys:
    456      value:
    457        description: >
    458          The `value` of the event. Mirrors to the Legacy Telemetry
    459          event's `value` parameter.
    460          The `Dav1dResult` returned from `dav1d_get_picture(...)`.
    461        type: string
    462    telemetry_mirror: Avif_Dav1dGetPicture_ReturnValue
    463 
    464  major_brand:
    465    type: labeled_counter
    466    description: >
    467      AVIF major brand
    468 
    469      This metric was generated to correspond to the Legacy Telemetry
    470      categorical histogram AVIF_MAJOR_BRAND.
    471    labels:
    472      - avif
    473      - avis
    474      - other
    475    bugs:
    476      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    477    data_reviews:
    478      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    479    notification_emails:
    480      - media-alerts@mozilla.com
    481    expires: never
    482 
    483  sequence:
    484    type: labeled_counter
    485    description: >
    486      AVIF image sequence
    487 
    488      This metric was generated to correspond to the Legacy Telemetry
    489      categorical histogram AVIF_SEQUENCE.
    490    labels:
    491      - present
    492      - absent
    493    bugs:
    494      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    495    data_reviews:
    496      - https://bugzilla.mozilla.org/show_bug.cgi?id=1745608
    497    notification_emails:
    498      - media-alerts@mozilla.com
    499    expires: never
    500 
    501 image_decode:
    502  time:
    503    type: timing_distribution
    504    description: >
    505      Time spent decoding an image (us)
    506 
    507      This metric was generated to correspond to the Legacy Telemetry
    508      exponential histogram IMAGE_DECODE_TIME.
    509    time_unit: microsecond
    510    bugs:
    511      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    512    data_reviews:
    513      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    514    notification_emails:
    515      - gfx-telemetry-alerts@mozilla.com
    516    expires: never
    517    telemetry_mirror: IMAGE_DECODE_TIME
    518 
    519  on_draw_latency:
    520    type: timing_distribution
    521    description: >
    522      Time from starting a decode to it showing up on the screen (us)
    523 
    524      This metric was generated to correspond to the Legacy Telemetry
    525      exponential histogram IMAGE_DECODE_ON_DRAW_LATENCY.
    526    time_unit: microsecond
    527    bugs:
    528      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    529    data_reviews:
    530      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    531    notification_emails:
    532      - gfx-telemetry-alerts@mozilla.com
    533    expires: never
    534    telemetry_mirror: IMAGE_DECODE_ON_DRAW_LATENCY
    535 
    536  chunks:
    537    type: custom_distribution
    538    description: >
    539      Number of chunks per decode attempt
    540 
    541      This metric was generated to correspond to the Legacy Telemetry
    542      exponential histogram IMAGE_DECODE_CHUNKS.
    543    range_min: 1
    544    range_max: 500
    545    bucket_count: 50
    546    histogram_type: exponential
    547    unit: decode chunks
    548    bugs:
    549      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    550    data_reviews:
    551      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    552    notification_emails:
    553      - gfx-telemetry-alerts@mozilla.com
    554    expires: never
    555    telemetry_mirror: IMAGE_DECODE_CHUNKS
    556 
    557  count:
    558    type: custom_distribution
    559    description: >
    560      Decode count
    561 
    562      This metric was generated to correspond to the Legacy Telemetry
    563      exponential histogram IMAGE_DECODE_COUNT.
    564    range_min: 1
    565    range_max: 500
    566    bucket_count: 50
    567    histogram_type: exponential
    568    unit: decode count
    569    bugs:
    570      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    571    data_reviews:
    572      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    573    notification_emails:
    574      - gfx-telemetry-alerts@mozilla.com
    575    expires: never
    576    telemetry_mirror: IMAGE_DECODE_COUNT
    577 
    578  speed_jpeg:
    579    type: memory_distribution
    580    description: >
    581      JPEG image decode speed (Kbytes/sec)
    582 
    583      This metric was generated to correspond to the Legacy Telemetry
    584      exponential histogram IMAGE_DECODE_SPEED_JPEG.
    585    memory_unit: kilobyte
    586    bugs:
    587      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    588    data_reviews:
    589      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    590    notification_emails:
    591      - gfx-telemetry-alerts@mozilla.com
    592    expires: never
    593    telemetry_mirror: IMAGE_DECODE_SPEED_JPEG
    594 
    595  speed_gif:
    596    type: memory_distribution
    597    description: >
    598      GIF image decode speed (Kbytes/sec)
    599 
    600      This metric was generated to correspond to the Legacy Telemetry
    601      exponential histogram IMAGE_DECODE_SPEED_GIF.
    602    memory_unit: kilobyte
    603    bugs:
    604      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    605    data_reviews:
    606      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    607    notification_emails:
    608      - gfx-telemetry-alerts@mozilla.com
    609    expires: never
    610    telemetry_mirror: IMAGE_DECODE_SPEED_GIF
    611 
    612  speed_png:
    613    type: memory_distribution
    614    description: >
    615      PNG image decode speed (Kbytes/sec)
    616 
    617      This metric was generated to correspond to the Legacy Telemetry
    618      exponential histogram IMAGE_DECODE_SPEED_PNG.
    619    memory_unit: kilobyte
    620    bugs:
    621      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    622    data_reviews:
    623      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    624    notification_emails:
    625      - gfx-telemetry-alerts@mozilla.com
    626    expires: never
    627    telemetry_mirror: IMAGE_DECODE_SPEED_PNG
    628 
    629  speed_webp:
    630    type: memory_distribution
    631    description: >
    632      WebP image decode speed (Kbytes/sec)
    633 
    634      This metric was generated to correspond to the Legacy Telemetry
    635      exponential histogram IMAGE_DECODE_SPEED_WEBP.
    636    memory_unit: kilobyte
    637    bugs:
    638      - https://bugzilla.mozilla.org/show_bug.cgi?id=1294490
    639    data_reviews:
    640      - https://bugzilla.mozilla.org/show_bug.cgi?id=1294490
    641    notification_emails:
    642      - gfx-telemetry-alerts@mozilla.com
    643    expires: never
    644    telemetry_mirror: IMAGE_DECODE_SPEED_WEBP
    645 
    646  speed_avif:
    647    type: memory_distribution
    648    description: >
    649      AVIF image decode speed (Kbytes/sec)
    650 
    651      This metric was generated to correspond to the Legacy Telemetry
    652      exponential histogram IMAGE_DECODE_SPEED_AVIF.
    653    memory_unit: kilobyte
    654    bugs:
    655      - https://bugzilla.mozilla.org/show_bug.cgi?id=1294490
    656    data_reviews:
    657      - https://bugzilla.mozilla.org/show_bug.cgi?id=1294490
    658    notification_emails:
    659      - gfx-telemetry-alerts@mozilla.com
    660    expires: never
    661    telemetry_mirror: IMAGE_DECODE_SPEED_AVIF