tor-browser

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

metrics.yaml (63812B)


      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'
     12 
     13 paint:
     14  build_displaylist_time:
     15    type: timing_distribution
     16    description: >
     17      The time to build a Gecko display list.
     18    bugs:
     19      - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
     20    data_reviews:
     21      - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
     22    data_sensitivity:
     23      - technical
     24    notification_emails:
     25      - gfx-telemetry-alerts@mozilla.com
     26      - mwoodrow@mozilla.com
     27    expires: never
     28 
     29 gpu_process:
     30  feature_status:
     31    type: string
     32    description: >
     33      Current status of the GPU process feature
     34    bugs:
     35      - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
     36    data_reviews:
     37      - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
     38    data_sensitivity:
     39      - technical
     40    notification_emails:
     41      - gfx-telemetry-alerts@mozilla.com
     42      - jnicol@mozilla.com
     43    expires: never
     44  crash_fallbacks:
     45    type: labeled_counter
     46    description: >
     47      How often we use different fallbacks when the GPU process crashes
     48    labels:
     49      - none
     50      - decoding_disabled
     51      - disabled
     52    bugs:
     53      - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
     54    data_reviews:
     55      - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
     56    data_sensitivity:
     57      - technical
     58    notification_emails:
     59      - gfx-telemetry-alerts@mozilla.com
     60      - jnicol@mozilla.com
     61    expires: never
     62  total_launch_attempts:
     63    type: quantity
     64    description: >
     65      The number of total GPU process launch attempts.
     66    unit: launches
     67    bugs:
     68      - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
     69    data_reviews:
     70      - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
     71    data_sensitivity:
     72      - technical
     73    notification_emails:
     74      - gfx-telemetry-alerts@mozilla.com
     75      - jnicol@mozilla.com
     76    expires: never
     77  unstable_launch_attempts:
     78    type: quantity
     79    description: >
     80      The number of consecutive unstable launch attempts.
     81    unit: launches
     82    bugs:
     83      - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
     84    data_reviews:
     85      - https://bugzilla.mozilla.org/show_bug.cgi?id=1870021
     86    data_sensitivity:
     87      - technical
     88    notification_emails:
     89      - gfx-telemetry-alerts@mozilla.com
     90      - jnicol@mozilla.com
     91    expires: never
     92 
     93  launch_time:
     94    type: timing_distribution
     95    description: >
     96      GPU process launch time in milliseconds
     97 
     98      This metric was generated to correspond to the Legacy Telemetry
     99      exponential histogram GPU_PROCESS_LAUNCH_TIME_MS_2.
    100    time_unit: millisecond
    101    bugs:
    102      - https://bugzilla.mozilla.org/show_bug.cgi?id=1297790
    103      - https://bugzilla.mozilla.org/show_bug.cgi?id=1317796
    104      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    105    data_reviews:
    106      - https://bugzilla.mozilla.org/show_bug.cgi?id=1297790
    107      - https://bugzilla.mozilla.org/show_bug.cgi?id=1317796
    108      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    109    notification_emails:
    110      - gfx-telemetry-alerts@mozilla.com
    111      - rhunt@mozilla.com
    112      - dbolter@mozilla.com
    113    expires: never
    114    telemetry_mirror: GPU_PROCESS_LAUNCH_TIME_MS_2
    115 
    116  initialization_time:
    117    type: timing_distribution
    118    description: >
    119      GPU process initialization (excluding XPCOM and fork time) time in
    120      milliseconds
    121 
    122      This metric was generated to correspond to the Legacy Telemetry
    123      exponential histogram GPU_PROCESS_INITIALIZATION_TIME_MS.
    124    time_unit: millisecond
    125    bugs:
    126      - https://bugzilla.mozilla.org/show_bug.cgi?id=1324095
    127      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    128    data_reviews:
    129      - https://bugzilla.mozilla.org/show_bug.cgi?id=1324095
    130      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    131    notification_emails:
    132      - gfx-telemetry-alerts@mozilla.com
    133      - rhunt@mozilla.com
    134      - dbolter@mozilla.com
    135    expires: never
    136    telemetry_mirror: GPU_PROCESS_INITIALIZATION_TIME_MS
    137 
    138 wr:
    139  gpu_wait_time:
    140    type: timing_distribution
    141    description: >
    142      The time spent waiting for the GPU to complete previously issued drawing
    143      commands.
    144    time_unit: microsecond
    145    bugs:
    146      - https://bugzilla.mozilla.org/show_bug.cgi?id=1772216
    147    data_reviews:
    148      - https://bugzilla.mozilla.org/show_bug.cgi?id=1772216
    149    data_sensitivity:
    150      - technical
    151    notification_emails:
    152      - gfx-telemetry-alerts@mozilla.com
    153    expires: never
    154 
    155  rasterize_glyphs_time:
    156    type: timing_distribution
    157    description: >
    158      The time to rasterize glyphs for consumption by WebRender.
    159    time_unit: microsecond
    160    bugs:
    161      - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
    162    data_reviews:
    163      - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
    164    data_sensitivity:
    165      - technical
    166    notification_emails:
    167      - gfx-telemetry-alerts@mozilla.com
    168    expires: never
    169 
    170  rasterize_blobs_time:
    171    type: timing_distribution
    172    description: >
    173      The time to rasterize blobs for consumption by WebRender.
    174    time_unit: microsecond
    175    bugs:
    176      - https://bugzilla.mozilla.org/show_bug.cgi?id=1770974
    177    data_reviews:
    178      - https://bugzilla.mozilla.org/show_bug.cgi?id=1770974
    179    data_sensitivity:
    180      - technical
    181    notification_emails:
    182      - gfx-telemetry-alerts@mozilla.com
    183    expires: never
    184 
    185  renderer_time:
    186    type: timing_distribution
    187    description: >
    188      WebRender renderer time.
    189    time_unit: microsecond
    190    bugs:
    191      - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
    192    data_reviews:
    193      - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
    194    data_sensitivity:
    195      - technical
    196    notification_emails:
    197      - gfx-telemetry-alerts@mozilla.com
    198    expires: never
    199 
    200  renderer_time_no_sc:
    201    type: timing_distribution
    202    description: >
    203      WebRender renderer time excluding frames in which shader compilation took
    204      place.
    205    time_unit: microsecond
    206    bugs:
    207      - https://bugzilla.mozilla.org/show_bug.cgi?id=1784286
    208    data_reviews:
    209      - https://bugzilla.mozilla.org/show_bug.cgi?id=1784286
    210    data_sensitivity:
    211      - technical
    212    notification_emails:
    213      - gfx-telemetry-alerts@mozilla.com
    214    expires: never
    215 
    216  framebuild_time:
    217    type: timing_distribution
    218    description: >
    219      The time to rasterize glyphs for consumption by WebRender.
    220    time_unit: microsecond
    221    bugs:
    222      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
    223      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    224    data_reviews:
    225      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
    226      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    227    data_sensitivity:
    228      - technical
    229    notification_emails:
    230      - gfx-telemetry-alerts@mozilla.com
    231      - jmuizelaar@mozilla.com
    232    expires: never
    233 
    234  scenebuild_time:
    235    type: timing_distribution
    236    description: >
    237      WebRender scene build time.
    238    time_unit: microsecond
    239    bugs:
    240      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
    241    data_reviews:
    242      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
    243    data_sensitivity:
    244      - technical
    245    notification_emails:
    246      - gfx-telemetry-alerts@mozilla.com
    247      - jmuizelaar@mozilla.com
    248    expires: never
    249 
    250  shaderload_time:
    251    type: timing_distribution
    252    description: >
    253      Time spent blocking on the shader compilation for LazilyCompiled shaders
    254      created with ASYNC_COMPILE or FULL_COMPILE.
    255    time_unit: microsecond
    256    bugs:
    257      - https://bugzilla.mozilla.org/show_bug.cgi?id=1954566
    258    data_reviews:
    259      - https://bugzilla.mozilla.org/show_bug.cgi?id=1954566
    260    data_sensitivity:
    261      - technical
    262    notification_emails:
    263      - gfx-telemetry-alerts@mozilla.com
    264      - jmuizelaar@mozilla.com
    265    expires: never
    266 
    267  sceneswap_time:
    268    type: timing_distribution
    269    description: >
    270      WebRender scene swap time.
    271    time_unit: microsecond
    272    bugs:
    273      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
    274    data_reviews:
    275      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
    276    data_sensitivity:
    277      - technical
    278    notification_emails:
    279      - gfx-telemetry-alerts@mozilla.com
    280      - jmuizelaar@mozilla.com
    281    expires: never
    282 
    283  texture_cache_update_time:
    284    type: timing_distribution
    285    description: >
    286      Time taken by WebRender to update the texture cache.
    287    time_unit: microsecond
    288    bugs:
    289      - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
    290    data_reviews:
    291      - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
    292    data_sensitivity:
    293      - technical
    294    notification_emails:
    295      - gfx-telemetry-alerts@mozilla.com
    296    expires: never
    297 
    298  time_to_frame_build:
    299    type: timing_distribution
    300    description: >
    301      Time elapsed between the construction of a transaction and the
    302      associated frame build beginning.
    303    time_unit: microsecond
    304    bugs:
    305      - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
    306    data_reviews:
    307      - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
    308    data_sensitivity:
    309      - technical
    310    notification_emails:
    311      - gfx-telemetry-alerts@mozilla.com
    312    expires: never
    313 
    314  time_to_render_start:
    315    type: timing_distribution
    316    description: >
    317      Time elapsed between the construction of a frame and the start of
    318      rendering.
    319    time_unit: microsecond
    320    bugs:
    321      - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
    322    data_reviews:
    323      - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
    324    data_sensitivity:
    325      - technical
    326    notification_emails:
    327      - gfx-telemetry-alerts@mozilla.com
    328    expires: never
    329 
    330 gfx:
    331  composite_time:
    332    type: timing_distribution
    333    time_unit: millisecond
    334    telemetry_mirror: COMPOSITE_TIME
    335    description: >
    336      The time taken to composite a frame.
    337      On non-webrender this is the time taken in
    338      `CompositorBridgeParent::CompositeToTarget()`.
    339      On webrender, this is the time taken from the start of
    340      `WebRenderBridgeParent::CompositeToTarget()`,
    341      until the render thread has rendered the frame (in
    342      `RenderThread::HandleFrameOneDoc()`).
    343      (Migrated from the geckoview metric of the same name).
    344    bugs:
    345      - https://bugzilla.mozilla.org/show_bug.cgi?id=1080160
    346      - https://bugzilla.mozilla.org/show_bug.cgi?id=1529352
    347      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580129
    348      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    349    data_reviews:
    350      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580129#c7
    351    notification_emails:
    352      - gfx-telemetry-alerts@mozilla.com
    353      - jnicol@mozilla.com
    354    expires: never
    355 
    356  scroll_present_latency:
    357    type: timing_distribution
    358    time_unit: millisecond
    359    description: >
    360      Time between receiving a scroll
    361      event on the event loop and compositing
    362      its result onto the screen (ms).
    363      (Migrated from the geckoview metric of the same name).
    364    telemetry_mirror: SCROLL_PRESENT_LATENCY
    365    bugs:
    366      - https://bugzilla.mozilla.org/show_bug.cgi?id=1604818
    367      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    368    data_reviews:
    369      - https://bugzilla.mozilla.org/show_bug.cgi?id=1604818#c4
    370    notification_emails:
    371      - sefeng@mozilla.com
    372      - perf-telemetry-alerts@mozilla.com
    373    expires: never
    374 
    375  skipped_composites:
    376    type: counter
    377    description: >
    378      Number of skipped composites, happening when rendering is too slow
    379      to keep up with content.
    380      This metric was generated to correspond to the Legacy Telemetry
    381      scalar gfx.skipped_composites.
    382    bugs:
    383      - https://bugzil.la/1797975
    384    data_reviews:
    385      - https://bugzil.la/1797975
    386    notification_emails:
    387      - gfx-telemetry-alerts@mozilla.com
    388      - perf-telemetry-alerts@mozilla.com
    389    expires: never
    390    telemetry_mirror: GFX_SKIPPED_COMPOSITES
    391 
    392  os_compositor:
    393    type: boolean
    394    description: >
    395      Boolean indicating whether the os compositor is being used by
    396      WebRender. Only collected in the first subsession.
    397      This metric was generated to correspond to the Legacy Telemetry
    398      scalar gfx.os_compositor.
    399    bugs:
    400      - https://bugzil.la/1623492
    401    data_reviews:
    402      - https://bugzil.la/1623492
    403    notification_emails:
    404      - gfx-telemetry-alerts@mozilla.com
    405      - jmuizelaar@mozilla.com
    406    expires: never
    407    telemetry_mirror: GFX_OS_COMPOSITOR
    408 
    409  linux_window_protocol:
    410    type: string
    411    description: >
    412      Windowing protocol on Linux. Can be Wayland, WaylandDRM, XWayland,
    413      or X11
    414      This metric was generated to correspond to the Legacy Telemetry
    415      scalar gfx.linux_window_protocol.
    416    bugs:
    417      - https://bugzil.la/1645732
    418    data_reviews:
    419      - https://bugzil.la/1645732
    420    notification_emails:
    421      - gfx-telemetry-alerts@mozilla.com
    422      - aosmond@mozilla.com
    423      - mkaply@mozilla.com
    424    expires: never
    425    telemetry_mirror: GFX_LINUX_WINDOW_PROTOCOL
    426 
    427  supports_hdr:
    428    type: boolean
    429    description: >
    430      Does the hardware support accurate display of HDR content
    431      This metric was generated to correspond to the Legacy Telemetry
    432      scalar gfx.supports_hdr.
    433    bugs:
    434      - https://bugzil.la/1798067
    435    data_reviews:
    436      - https://bugzil.la/1798067
    437    notification_emails:
    438      - gfx-telemetry-alerts@mozilla.com
    439      - bwerth@mozilla.com
    440    expires: never
    441    telemetry_mirror: GFX_SUPPORTS_HDR
    442 
    443  composite_swap_time:
    444    type: custom_distribution
    445    description: >
    446      Time to do swap/present/commit in 100 microseconds
    447 
    448      This metric was generated to correspond to the Legacy Telemetry
    449      exponential histogram COMPOSITE_SWAP_TIME.
    450    range_min: 1
    451    range_max: 1000
    452    bucket_count: 50
    453    histogram_type: exponential
    454    unit: 100 microseconds
    455    bugs:
    456      - https://bugzilla.mozilla.org/show_bug.cgi?id=1612511
    457    data_reviews:
    458      - https://bugzilla.mozilla.org/show_bug.cgi?id=1612511
    459    notification_emails:
    460      - gfx-telemetry-alerts@mozilla.com
    461      - jmuizelaar@mozilla.com
    462    expires: never
    463    telemetry_mirror: COMPOSITE_SWAP_TIME
    464 
    465  composite_frame_roundtrip_time:
    466    type: timing_distribution
    467    description: >
    468      Time from vsync to finishing a composite in milliseconds.
    469 
    470      This metric was generated to correspond to the Legacy Telemetry
    471      exponential histogram COMPOSITE_FRAME_ROUNDTRIP_TIME.
    472    time_unit: millisecond
    473    bugs:
    474      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    475    data_reviews:
    476      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    477    notification_emails:
    478      - gfx-telemetry-alerts@mozilla.com
    479      - rhunt@mozilla.com
    480    expires: never
    481    telemetry_mirror: COMPOSITE_FRAME_ROUNDTRIP_TIME
    482 
    483  device_reset_reason:
    484    type: custom_distribution
    485    description: >
    486      GPU Device Reset Reason (ok, hung, removed, reset, internal error, invalid
    487      call, out of memory)
    488 
    489      This metric was generated to correspond to the Legacy Telemetry enumerated
    490      histogram DEVICE_RESET_REASON.
    491    range_min: 0
    492    range_max: 10
    493    bucket_count: 11
    494    histogram_type: linear
    495    bugs:
    496      - https://bugzilla.mozilla.org/show_bug.cgi?id=1135408
    497      - https://bugzilla.mozilla.org/show_bug.cgi?id=1529352
    498    data_reviews:
    499      - https://bugzilla.mozilla.org/show_bug.cgi?id=1135408
    500      - https://bugzilla.mozilla.org/show_bug.cgi?id=1529352
    501    notification_emails:
    502      - gfx-telemetry-alerts@mozilla.com
    503      - rhunt@mozilla.com
    504    expires: never
    505    telemetry_mirror: DEVICE_RESET_REASON
    506 
    507  forced_device_reset_reason:
    508    type: custom_distribution
    509    description: >
    510      GPU Forced Device Reset Reason (OpenSharedHandle)
    511 
    512      This metric was generated to correspond to the Legacy Telemetry enumerated
    513      histogram FORCED_DEVICE_RESET_REASON.
    514    range_min: 0
    515    range_max: 50
    516    bucket_count: 51
    517    histogram_type: linear
    518    bugs:
    519      - https://bugzilla.mozilla.org/show_bug.cgi?id=1235407
    520    data_reviews:
    521      - https://bugzilla.mozilla.org/show_bug.cgi?id=1235407
    522    notification_emails:
    523      - gfx-telemetry-alerts@mozilla.com
    524      - rhunt@mozilla.com
    525    expires: never
    526    telemetry_mirror: FORCED_DEVICE_RESET_REASON
    527 
    528  graphics_driver_startup_test:
    529    type: custom_distribution
    530    description: >
    531      Reports whether or not graphics drivers crashed during startup.
    532 
    533      This metric was generated to correspond to the Legacy Telemetry enumerated
    534      histogram GRAPHICS_DRIVER_STARTUP_TEST.
    535    range_min: 0
    536    range_max: 20
    537    bucket_count: 21
    538    histogram_type: linear
    539    bugs:
    540      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    541    data_reviews:
    542      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    543    notification_emails:
    544      - gfx-telemetry-alerts@mozilla.com
    545      - rhunt@mozilla.com
    546    expires: never
    547    telemetry_mirror: GRAPHICS_DRIVER_STARTUP_TEST
    548 
    549  content_failed_to_acquire_device:
    550    type: custom_distribution
    551    description: >
    552      Failed to create a gfx content device. 0=content d3d11, 1=image d3d11,
    553      2=d2d1.
    554 
    555      This metric was generated to correspond to the Legacy Telemetry enumerated
    556      histogram GFX_CONTENT_FAILED_TO_ACQUIRE_DEVICE.
    557    range_min: 0
    558    range_max: 6
    559    bucket_count: 7
    560    histogram_type: linear
    561    bugs:
    562      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    563    data_reviews:
    564      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    565    notification_emails:
    566      - gfx-telemetry-alerts@mozilla.com
    567      - rhunt@mozilla.com
    568    expires: never
    569    telemetry_mirror: GFX_CONTENT_FAILED_TO_ACQUIRE_DEVICE
    570 
    571  crash:
    572    type: custom_distribution
    573    description: >
    574      Graphics Crash Reason (...)
    575 
    576      This metric was generated to correspond to the Legacy Telemetry enumerated
    577      histogram GFX_CRASH.
    578    range_min: 0
    579    range_max: 100
    580    bucket_count: 101
    581    histogram_type: linear
    582    bugs:
    583      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    584    data_reviews:
    585      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    586    notification_emails:
    587      - gfx-telemetry-alerts@mozilla.com
    588      - rhunt@mozilla.com
    589    expires: never
    590    telemetry_mirror: GFX_CRASH
    591 
    592  macos_video_low_power:
    593    type: labeled_counter
    594    description: >
    595      MacOS video low power state achieved when enqueueing a video frame.
    596 
    597      This metric was generated to correspond to the Legacy Telemetry
    598      categorical histogram GFX_MACOS_VIDEO_LOW_POWER.
    599    labels:
    600      - NotVideo
    601      - LowPower
    602      - FailMultipleVideo
    603      - FailWindowed
    604      - FailOverlaid
    605      - FailBacking
    606      - FailMacOSVersion
    607      - FailPref
    608      - FailSurface
    609      - FailEnqueue
    610    bugs:
    611      - https://bugzilla.mozilla.org/show_bug.cgi?id=1737682
    612    data_reviews:
    613      - https://bugzilla.mozilla.org/show_bug.cgi?id=1737682
    614    notification_emails:
    615      - bwerth@mozilla.com
    616    expires: never
    617    telemetry_mirror: h#GFX_MACOS_VIDEO_LOW_POWER
    618 
    619  sanity_test:
    620    type: custom_distribution
    621    description: >
    622      Reports results from the graphics sanity test to track which drivers are
    623      having problems (0=TEST_PASSED, 1=TEST_FAILED_RENDER, 2=TEST_FAILED_VIDEO,
    624      3=TEST_CRASHED)
    625 
    626      This metric was generated to correspond to the Legacy Telemetry enumerated
    627      histogram GRAPHICS_SANITY_TEST.
    628    range_min: 0
    629    range_max: 20
    630    bucket_count: 21
    631    histogram_type: linear
    632    bugs:
    633      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    634    data_reviews:
    635      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    636    notification_emails:
    637      - gfx-telemetry-alerts@mozilla.com
    638      - rhunt@mozilla.com
    639    expires: never
    640    telemetry_mirror: GRAPHICS_SANITY_TEST
    641 
    642 gfx.display:
    643  count:
    644    description: >
    645      Amount of displays connected to the device
    646      (Migrated from the geckoview metric of the same name).
    647    type: quantity
    648    unit: Display count
    649    # Temporary misuse of the user lifetime approved by Glean team
    650    # due to limitations in Geckoview streaming telemetry.
    651    # DO NOT DUPLICATE unless approved by Glean team.
    652    lifetime: user
    653    bugs:
    654      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
    655      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
    656      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    657    data_reviews:
    658      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
    659    notification_emails:
    660      - gfx-telemetry-alerts@mozilla.com
    661    expires: never
    662 
    663  primary_width:
    664    description: >
    665      Width of the primary display, takes device rotation into account.
    666      (Migrated from the geckoview metric of the same name).
    667    type: quantity
    668    unit: Pixels
    669    # Temporary misuse of the user lifetime approved by Glean team
    670    # due to limitations in Geckoview streaming telemetry.
    671    # DO NOT DUPLICATE unless approved by Glean team.
    672    lifetime: user
    673    bugs:
    674      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
    675      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
    676      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    677    data_reviews:
    678      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
    679    notification_emails:
    680      - gfx-telemetry-alerts@mozilla.com
    681    expires: never
    682 
    683  primary_height:
    684    description: >
    685      Height of the primary display, takes device rotation into account.
    686      (Migrated from the geckoview metric of the same name).
    687    type: quantity
    688    unit: Pixels
    689    # Temporary misuse of the user lifetime approved by Glean team
    690    # due to limitations in Geckoview streaming telemetry.
    691    # DO NOT DUPLICATE unless approved by Glean team.
    692    lifetime: user
    693    bugs:
    694      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
    695      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
    696      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    697    data_reviews:
    698      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
    699    notification_emails:
    700      - gfx-telemetry-alerts@mozilla.com
    701    expires: never
    702 
    703  scaling:
    704    type: custom_distribution
    705    description: >
    706      Scaling percentage for the display where the first window is opened
    707 
    708      This metric was generated to correspond to the Legacy Telemetry linear
    709      histogram DISPLAY_SCALING.
    710    range_min: 1
    711    range_max: 500
    712    bucket_count: 100
    713    histogram_type: linear
    714    unit: percentage
    715    bugs:
    716      - https://bugzilla.mozilla.org/show_bug.cgi?id=1121966
    717    data_reviews:
    718      - https://bugzilla.mozilla.org/show_bug.cgi?id=1121966
    719    notification_emails:
    720      - perf-telemetry-alerts@mozilla.com
    721    expires: never
    722    telemetry_mirror: DISPLAY_SCALING
    723 
    724 gfx.checkerboard:
    725  duration:
    726    type: timing_distribution
    727    time_unit: millisecond
    728    telemetry_mirror: CHECKERBOARD_DURATION
    729    description: >
    730      The duration of a checkerboard event.
    731      Checkerboarding is when painting has not kept up with asynchronous
    732      panning and zooming so the compositor has to display a "checkerboard
    733      pattern" (or in practice, the background color) rather than the actual
    734      page content.
    735      (Migrated from the geckoview metric of the same name).
    736    bugs:
    737      - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
    738      - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
    739      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    740      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    741    data_reviews:
    742      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    743    notification_emails:
    744      - gfx-telemetry-alerts@mozilla.com
    745      - botond@mozilla.com
    746    expires: never
    747 
    748  peak_pixel_count:
    749    type: custom_distribution
    750    range_max: 66355200
    751    bucket_count: 50
    752    histogram_type: exponential
    753    unit: Pixels
    754    telemetry_mirror: CHECKERBOARD_PEAK
    755    description: >
    756      The peak number of CSS pixels that checkerboarded during a checkerboard
    757      event. The minimum value of the largest histogram bucket is the size of
    758      a 4k display with maximum APZ zooming.
    759      (Migrated from the geckoview metric of the same name).
    760    bugs:
    761      - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
    762      - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
    763      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    764      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    765    data_reviews:
    766      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    767    notification_emails:
    768      - gfx-telemetry-alerts@mozilla.com
    769      - botond@mozilla.com
    770    expires: never
    771 
    772  potential_duration:
    773    type: timing_distribution
    774    time_unit: millisecond
    775    telemetry_mirror: CHECKERBOARD_POTENTIAL_DURATION
    776    description: >
    777      The total amount of time that we could reasonably be checkerboarding.
    778      This is the union of two possibly-intersecting sets of time periods:
    779      The first set is that in which checkerboarding was actually happening,
    780      since by definition it could potentially be happening.
    781      The second set is that in which the APZC is actively transforming content
    782      in the compositor, since it could potentially transform it so as to
    783      display checkerboarding to the user. Combined with other information,
    784      this allows us to meaningfully say how frequently users actually
    785      enncounters checkerboarding.
    786      (Migrated from the geckoview metric of the same name).
    787    bugs:
    788      - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
    789      - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
    790      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    791      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    792    data_reviews:
    793      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    794    notification_emails:
    795      - gfx-telemetry-alerts@mozilla.com
    796      - botond@mozilla.com
    797    expires: never
    798 
    799  severity:
    800    type: custom_distribution
    801    range_max: 1073741824
    802    bucket_count: 50
    803    histogram_type: exponential
    804    unit: Opaque unit
    805    telemetry_mirror: CHECKERBOARD_SEVERITY
    806    description: >
    807      An opaque measurement of the severity of a checkerboard event.
    808      This doesn't have units, it's just useful for comparing two checkerboard
    809      events to see which one is worse, for some implementation-specific
    810      definition of "worse". The larger the value, the worse the
    811      checkerboarding.
    812      (Migrated from the geckoview metric of the same name).
    813    bugs:
    814      - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
    815      - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
    816      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    817      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    818    data_reviews:
    819      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    820    notification_emails:
    821      - gfx-telemetry-alerts@mozilla.com
    822      - botond@mozilla.com
    823    expires: never
    824 
    825 gfx.feature:
    826  webrender:
    827    type: string
    828    description: >
    829      Whether webrender is enabled or disabled, and why.
    830      (Migrated from the geckoview metric of the same name).
    831    lifetime: application
    832    bugs:
    833      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687312
    834      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    835    data_reviews:
    836      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687312#c5
    837    notification_emails:
    838      - gfx-telemetry-alerts@mozilla.com
    839      - jnicol@mozilla.com
    840    expires: never
    841 
    842 gfx.status:
    843  compositor:
    844    description: >
    845      Name of the graphics compositor in use.
    846      Possible values are "opengl, d3d11, client, webrender or basic"
    847      (Migrated from the geckoview metric of the same name).
    848    type: string
    849    # Temporary misuse of the user lifetime approved by Glean team
    850    # due to limitations in Geckoview streaming telemetry.
    851    # DO NOT DUPLICATE unless approved by Glean team.
    852    lifetime: user
    853    bugs:
    854      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
    855      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
    856      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    857    data_reviews:
    858      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
    859    notification_emails:
    860      - gfx-telemetry-alerts@mozilla.com
    861    expires: never
    862  last_compositor_gecko_version:
    863    description: >
    864      The gecko version at the last time a compositor was initialized, and
    865      therefore when gfx_status_compositor was last updated. Due to
    866      gfx_status_compositor's user lifetime we see lots of unexpected values for
    867      the current gecko version. We believe this is because the user has not
    868      opened a tab since they were updated to a version where webrender should
    869      be enabled on their device. This can be used to verify that theory.
    870      (Migrated from the geckoview metric of the same name).
    871    type: string
    872    # Temporary misuse of the user lifetime approved by Glean team
    873    # due to limitations in Geckoview streaming telemetry.
    874    # DO NOT DUPLICATE unless approved by Glean team.
    875    lifetime: user
    876    bugs:
    877      - https://bugzilla.mozilla.org/show_bug.cgi?id=1704842
    878      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    879    data_reviews:
    880      - https://bugzilla.mozilla.org/show_bug.cgi?id=1704842#c8
    881    notification_emails:
    882      - jnicol@mozilla.com
    883      - gfx-telemetry-alerts@mozilla.com
    884    expires: never
    885  headless:
    886    description: >
    887      Boolean indicated whether graphics is running in
    888      headless (no display) mode
    889      (Migrated from the geckoview metric of the same name).
    890    type: boolean
    891    # Temporary misuse of the user lifetime approved by Glean team
    892    # due to limitations in Geckoview streaming telemetry.
    893    # DO NOT DUPLICATE unless approved by Glean team.
    894    lifetime: user
    895    bugs:
    896      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
    897      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
    898      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    899    data_reviews:
    900      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
    901    notification_emails:
    902      - gfx-telemetry-alerts@mozilla.com
    903    expires: never
    904 
    905 gfx.content.frame_time:
    906  from_paint:
    907    type: custom_distribution
    908    range_max: 5000
    909    bucket_count: 50
    910    histogram_type: exponential
    911    unit: Percentage of vsync interval
    912    telemetry_mirror: CONTENT_FRAME_TIME
    913    description: >
    914      The time, in percentage of a vsync interval, spent from beginning a paint
    915      in the content process until that frame is presented in the compositor.
    916      (Migrated from the geckoview metric of the same name).
    917    bugs:
    918      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470528
    919      - https://bugzilla.mozilla.org/show_bug.cgi?id=1509536
    920      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    921      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    922    data_reviews:
    923      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    924    notification_emails:
    925      - gfx-telemetry-alerts@mozilla.com
    926      - jnicol@mozilla.com
    927    expires: never
    928 
    929  from_vsync:
    930    type: custom_distribution
    931    range_min: 8
    932    range_max: 792
    933    bucket_count: 100
    934    histogram_type: linear
    935    unit: Percentage of vsync interval
    936    telemetry_mirror: CONTENT_FRAME_TIME_VSYNC
    937    description: >
    938      The time, in percentage of a vsync interval, spent from the vsync that
    939      started a paint in the content process until that frame is presented in
    940      the compositor.
    941      (Migrated from the geckoview metric of the same name).
    942    bugs:
    943      - https://bugzilla.mozilla.org/show_bug.cgi?id=1517355
    944      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    945      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    946    data_reviews:
    947      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    948    notification_emails:
    949      - gfx-telemetry-alerts@mozilla.com
    950    expires: never
    951 
    952  with_svg:
    953    type: custom_distribution
    954    range_max: 5000
    955    bucket_count: 50
    956    histogram_type: exponential
    957    unit: Percentage of vsync interval
    958    telemetry_mirror: CONTENT_FRAME_TIME_WITH_SVG
    959    description: >
    960      The time, in percentage of a vsync interval, spent from beginning a paint
    961      in the content process until that frame is presented in the compositor,
    962      for frames that contained an SVG to be drawn by webrender.
    963      (Migrated from the geckoview metric of the same name).
    964    bugs:
    965      - https://bugzilla.mozilla.org/show_bug.cgi?id=1483549
    966      - https://bugzilla.mozilla.org/show_bug.cgi?id=1509536
    967      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    968      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    969    data_reviews:
    970      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    971    notification_emails:
    972      - gfx-telemetry-alerts@mozilla.com
    973    expires: never
    974 
    975  without_resource_upload:
    976    type: custom_distribution
    977    range_max: 5000
    978    bucket_count: 50
    979    histogram_type: exponential
    980    unit: Percentage of vsync interval
    981    telemetry_mirror: CONTENT_FRAME_TIME_WITHOUT_RESOURCE_UPLOAD
    982    description: >
    983      The time, in percentage of a vsync interval, spent from beginning a paint
    984      in the content process until that frame is presented in the compositor by
    985      webrender, excluding time spent uploading resources.
    986      (Migrated from the geckoview metric of the same name).
    987    bugs:
    988      - https://bugzilla.mozilla.org/show_bug.cgi?id=1503405
    989      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    990      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
    991    data_reviews:
    992      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    993    notification_emails:
    994      - gfx-telemetry-alerts@mozilla.com
    995    expires: never
    996 
    997  without_upload:
    998    type: custom_distribution
    999    range_max: 5000
   1000    bucket_count: 50
   1001    histogram_type: exponential
   1002    unit: Percentage of vsync interval
   1003    telemetry_mirror: CONTENT_FRAME_TIME_WITHOUT_UPLOAD
   1004    description: >
   1005      The time, in percentage of a vsync interval, spent from beginning a paint
   1006      in the content process until that frame is presented in the compositor by
   1007      webrender, excluding time spent uploading any content.
   1008      (Migrated from the geckoview metric of the same name).
   1009    bugs:
   1010      - https://bugzilla.mozilla.org/show_bug.cgi?id=1503405
   1011      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
   1012      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1013    data_reviews:
   1014      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
   1015    notification_emails:
   1016      - gfx-telemetry-alerts@mozilla.com
   1017    expires: never
   1018 
   1019  reason:
   1020    type: labeled_counter
   1021    labels:
   1022      - on_time
   1023      - no_vsync
   1024      - missed_composite
   1025      - slow_composite
   1026      - missed_composite_mid
   1027      - missed_composite_long
   1028      - missed_composite_low
   1029      - no_vsync_no_id
   1030    description: >
   1031      The reason that `gfx.content.frame_time.from_paint` recorded a slow
   1032      (>200ms) result, if any.
   1033      (Migrated from the geckoview metric of the same name).
   1034    bugs:
   1035      - https://bugzilla.mozilla.org/show_bug.cgi?id=1510853
   1036      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
   1037      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1038    data_reviews:
   1039      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
   1040    notification_emails:
   1041      - gfx-telemetry-alerts@mozilla.com
   1042    expires: never
   1043 
   1044 gfx.content:
   1045  paint_time:
   1046    type: timing_distribution
   1047    time_unit: millisecond
   1048    telemetry_mirror: CONTENT_PAINT_TIME
   1049    description: >
   1050      Time spent in the main-thread paint pipeline for content.
   1051      For non-webrender, this includes display list building, layer building,
   1052      and when OMTP is disabled, rasterization.
   1053      For webrender, this includes display list building, and webrender display
   1054      list building.
   1055      (Migrated from the geckoview metric of the same name).
   1056    bugs:
   1057      - https://bugzilla.mozilla.org/show_bug.cgi?id=1309442
   1058      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
   1059      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
   1060      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1061    data_reviews:
   1062      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
   1063    notification_emails:
   1064      - gfx-telemetry-alerts@mozilla.com
   1065    expires: never
   1066 
   1067  full_paint_time:
   1068    type: timing_distribution
   1069    time_unit: millisecond
   1070    telemetry_mirror: CONTENT_FULL_PAINT_TIME
   1071    description: >
   1072      Time spent in the full paint pipeline for content until it's ready for
   1073      composition.
   1074      For non-webrender this includes `paint_time`, plus rasterization if OMTP
   1075      is enabled.
   1076      For webrender, this includes `paint_time`, plus scene building time.
   1077      (Migrated from the geckoview metric of the same name).
   1078    bugs:
   1079      - https://bugzilla.mozilla.org/show_bug.cgi?id=1505858
   1080      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
   1081      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1082    data_reviews:
   1083      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
   1084    notification_emails:
   1085      - gfx-telemetry-alerts@mozilla.com
   1086      - jmuizelaar@mozilla.com
   1087    expires: never
   1088 
   1089  small_paint_phase_weight_partial:
   1090    type: labeled_custom_distribution
   1091    description: >
   1092      Percentages of times for phases in a normal content paint relative to the
   1093      time spent in the entire normal paint. ("dl" = Display list, "wrdl" =
   1094      WebRender display list, "sb" = Scene building, "fb" = Frame building)
   1095 
   1096      This metric was generated to correspond to the Legacy Telemetry linear
   1097      histogram CONTENT_SMALL_PAINT_PHASE_WEIGHT_PARTIAL.
   1098    range_min: 1
   1099    range_max: 100
   1100    bucket_count: 12
   1101    histogram_type: linear
   1102    unit: percent
   1103    labels:
   1104      - dl
   1105      - wrdl
   1106      - sb
   1107      - fb
   1108    bugs:
   1109      - https://bugzilla.mozilla.org/show_bug.cgi?id=1430897
   1110      - https://bugzilla.mozilla.org/show_bug.cgi?id=1518134
   1111    data_reviews:
   1112      - https://bugzilla.mozilla.org/show_bug.cgi?id=1430897
   1113      - https://bugzilla.mozilla.org/show_bug.cgi?id=1518134
   1114    notification_emails:
   1115      - gfx-telemetry-alerts@mozilla.com
   1116      - mmynttinen@mozilla.com
   1117    expires: never
   1118    telemetry_mirror: CONTENT_SMALL_PAINT_PHASE_WEIGHT_PARTIAL
   1119 
   1120  large_paint_phase_weight_partial:
   1121    type: labeled_custom_distribution
   1122    description: >
   1123      Percentages of times for phases in an expensive content paint relative to
   1124      the time spent in the entire expensive paint. ("dl" = Display list, "wrdl"
   1125      = WebRender display list, "sb" = Scene building, "fb" = Frame building)
   1126 
   1127      This metric was generated to correspond to the Legacy Telemetry linear
   1128      histogram CONTENT_LARGE_PAINT_PHASE_WEIGHT_PARTIAL.
   1129    range_min: 1
   1130    range_max: 100
   1131    bucket_count: 12
   1132    histogram_type: linear
   1133    unit: percent
   1134    labels:
   1135      - dl
   1136      - wrdl
   1137      - sb
   1138      - fb
   1139    bugs:
   1140      - https://bugzilla.mozilla.org/show_bug.cgi?id=1309442
   1141      - https://bugzilla.mozilla.org/show_bug.cgi?id=1518134
   1142    data_reviews:
   1143      - https://bugzilla.mozilla.org/show_bug.cgi?id=1309442
   1144      - https://bugzilla.mozilla.org/show_bug.cgi?id=1518134
   1145    notification_emails:
   1146      - gfx-telemetry-alerts@mozilla.com
   1147      - mmynttinen@mozilla.com
   1148    expires: never
   1149    telemetry_mirror: CONTENT_LARGE_PAINT_PHASE_WEIGHT_PARTIAL
   1150 
   1151  small_paint_phase_weight_full:
   1152    type: labeled_custom_distribution
   1153    description: >
   1154      Percentages of times for phases in a normal content paint relative to the
   1155      time spent in the entire normal paint. ("dl" = Display list, "wrdl" =
   1156      WebRender display list, "sb" = Scene building, "fb" = Frame building)
   1157 
   1158      This metric was generated to correspond to the Legacy Telemetry linear
   1159      histogram CONTENT_SMALL_PAINT_PHASE_WEIGHT_FULL.
   1160    range_min: 1
   1161    range_max: 100
   1162    bucket_count: 12
   1163    histogram_type: linear
   1164    unit: percent
   1165    labels:
   1166      - dl
   1167      - wrdl
   1168      - sb
   1169      - fb
   1170    bugs:
   1171      - https://bugzilla.mozilla.org/show_bug.cgi?id=1430897
   1172      - https://bugzilla.mozilla.org/show_bug.cgi?id=1518134
   1173    data_reviews:
   1174      - https://bugzilla.mozilla.org/show_bug.cgi?id=1430897
   1175      - https://bugzilla.mozilla.org/show_bug.cgi?id=1518134
   1176    notification_emails:
   1177      - gfx-telemetry-alerts@mozilla.com
   1178      - mmynttinen@mozilla.com
   1179    expires: never
   1180    telemetry_mirror: CONTENT_SMALL_PAINT_PHASE_WEIGHT_FULL
   1181 
   1182  large_paint_phase_weight_full:
   1183    type: labeled_custom_distribution
   1184    description: >
   1185      Percentages of times for phases in an expensive content paint relative to
   1186      the time spent in the entire expensive paint. ("dl" = Display list, "wrdl"
   1187      = WebRender display list, "sb" = Scene building, "fb" = Frame building)
   1188 
   1189      This metric was generated to correspond to the Legacy Telemetry linear
   1190      histogram CONTENT_LARGE_PAINT_PHASE_WEIGHT_FULL.
   1191    range_min: 1
   1192    range_max: 100
   1193    bucket_count: 12
   1194    histogram_type: linear
   1195    unit: percent
   1196    labels:
   1197      - dl
   1198      - wrdl
   1199      - sb
   1200      - fb
   1201    bugs:
   1202      - https://bugzilla.mozilla.org/show_bug.cgi?id=1309442
   1203      - https://bugzilla.mozilla.org/show_bug.cgi?id=1518134
   1204    data_reviews:
   1205      - https://bugzilla.mozilla.org/show_bug.cgi?id=1309442
   1206      - https://bugzilla.mozilla.org/show_bug.cgi?id=1518134
   1207    notification_emails:
   1208      - gfx-telemetry-alerts@mozilla.com
   1209      - mmynttinen@mozilla.com
   1210    expires: never
   1211    telemetry_mirror: CONTENT_LARGE_PAINT_PHASE_WEIGHT_FULL
   1212 
   1213 gfx.adapter.primary:
   1214  description:
   1215    description: >
   1216      Long form description of the Graphics adapter
   1217      (Migrated from the geckoview metric of the same name).
   1218    type: string
   1219    # Temporary misuse of the user lifetime approved by Glean team
   1220    # due to limitations in Geckoview streaming telemetry.
   1221    # DO NOT DUPLICATE unless approved by Glean team.
   1222    lifetime: user
   1223    bugs:
   1224      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
   1225      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
   1226      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1227    data_reviews:
   1228      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
   1229    notification_emails:
   1230      - gfx-telemetry-alerts@mozilla.com
   1231    expires: never
   1232 
   1233  vendor_id:
   1234    description: >
   1235      Graphics adapter vendor identification
   1236      (Migrated from the geckoview metric of the same name).
   1237    type: string
   1238    # Temporary misuse of the user lifetime approved by Glean team
   1239    # due to limitations in Geckoview streaming telemetry.
   1240    # DO NOT DUPLICATE unless approved by Glean team.
   1241    lifetime: user
   1242    bugs:
   1243      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
   1244      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
   1245      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1246    data_reviews:
   1247      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
   1248    notification_emails:
   1249      - gfx-telemetry-alerts@mozilla.com
   1250    expires: never
   1251 
   1252  device_id:
   1253    description: >
   1254      Graphics adapter device identification
   1255      (Migrated from the geckoview metric of the same name).
   1256    type: string
   1257    # Temporary misuse of the user lifetime approved by Glean team
   1258    # due to limitations in Geckoview streaming telemetry.
   1259    # DO NOT DUPLICATE unless approved by Glean team.
   1260    lifetime: user
   1261    bugs:
   1262      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
   1263      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1264      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
   1265    data_reviews:
   1266      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
   1267    notification_emails:
   1268      - gfx-telemetry-alerts@mozilla.com
   1269    expires: never
   1270 
   1271  subsystem_id:
   1272    description: >
   1273      Graphics adapter subsystem identification
   1274      (Migrated from the geckoview metric of the same name).
   1275    type: string
   1276    # Temporary misuse of the user lifetime approved by Glean team
   1277    # due to limitations in Geckoview streaming telemetry.
   1278    # DO NOT DUPLICATE unless approved by Glean team.
   1279    lifetime: user
   1280    bugs:
   1281      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
   1282      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
   1283      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1284    data_reviews:
   1285      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
   1286    notification_emails:
   1287      - gfx-telemetry-alerts@mozilla.com
   1288    expires: never
   1289 
   1290  ram:
   1291    description: >
   1292      Graphics adapter dedicated memory
   1293      (Migrated from the geckoview metric of the same name).
   1294    type: quantity
   1295    unit: Megabytes
   1296    # Temporary misuse of the user lifetime approved by Glean team
   1297    # due to limitations in Geckoview streaming telemetry.
   1298    # DO NOT DUPLICATE unless approved by Glean team.
   1299    lifetime: user
   1300    bugs:
   1301      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
   1302      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
   1303      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1304    data_reviews:
   1305      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
   1306    notification_emails:
   1307      - gfx-telemetry-alerts@mozilla.com
   1308    expires: never
   1309 
   1310  driver_files:
   1311    description: >
   1312      List of graphics adapter driver files
   1313      (Migrated from the geckoview metric of the same name).
   1314    type: string
   1315    # Temporary misuse of the user lifetime approved by Glean team
   1316    # due to limitations in Geckoview streaming telemetry.
   1317    # DO NOT DUPLICATE unless approved by Glean team.
   1318    lifetime: user
   1319    bugs:
   1320      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
   1321      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
   1322      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1323    data_reviews:
   1324      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
   1325    notification_emails:
   1326      - gfx-telemetry-alerts@mozilla.com
   1327    expires: never
   1328 
   1329  driver_vendor:
   1330    description: >
   1331      Graphics adapter driver vendor identification
   1332      (Migrated from the geckoview metric of the same name).
   1333    type: string
   1334    # Temporary misuse of the user lifetime approved by Glean team
   1335    # due to limitations in Geckoview streaming telemetry.
   1336    # DO NOT DUPLICATE unless approved by Glean team.
   1337    lifetime: user
   1338    bugs:
   1339      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
   1340      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
   1341      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1342    data_reviews:
   1343      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
   1344    notification_emails:
   1345      - gfx-telemetry-alerts@mozilla.com
   1346    expires: never
   1347 
   1348  driver_version:
   1349    description: >
   1350      Graphics adapter driver version
   1351      (Migrated from the geckoview metric of the same name).
   1352    type: string
   1353    # Temporary misuse of the user lifetime approved by Glean team
   1354    # due to limitations in Geckoview streaming telemetry.
   1355    # DO NOT DUPLICATE unless approved by Glean team.
   1356    lifetime: user
   1357    bugs:
   1358      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
   1359      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
   1360      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1361    data_reviews:
   1362      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
   1363    notification_emails:
   1364      - gfx-telemetry-alerts@mozilla.com
   1365    expires: never
   1366 
   1367  driver_date:
   1368    description: >
   1369      Graphics adapter driver date
   1370      (Migrated from the geckoview metric of the same name).
   1371    type: string
   1372    # Temporary misuse of the user lifetime approved by Glean team
   1373    # due to limitations in Geckoview streaming telemetry.
   1374    # DO NOT DUPLICATE unless approved by Glean team.
   1375    lifetime: user
   1376    bugs:
   1377      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145
   1378      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687219
   1379      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1380    data_reviews:
   1381      - https://bugzilla.mozilla.org/show_bug.cgi?id=1594145#c4
   1382    notification_emails:
   1383      - gfx-telemetry-alerts@mozilla.com
   1384    expires: never
   1385 
   1386 
   1387 performance.interaction:
   1388  keypress_present_latency:
   1389    type: timing_distribution
   1390    time_unit: millisecond
   1391    telemetry_mirror: KEYPRESS_PRESENT_LATENCY
   1392    description: >
   1393      Time between receiving a keypress event in the event loop and compositing
   1394      its result onto the screen.
   1395      (Migrated from the geckoview metric of the same name).
   1396    bugs:
   1397      - https://bugzilla.mozilla.org/show_bug.cgi?id=1506537
   1398      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
   1399      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1400    data_reviews:
   1401      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
   1402    notification_emails:
   1403      - perf-telemetry-alerts@mozilla.com
   1404      - vchin@mozilla.com
   1405    expires: never
   1406 
   1407  mouseup_click_present_latency:
   1408    type: timing_distribution
   1409    time_unit: millisecond
   1410    telemetry_mirror: MOUSEUP_FOLLOWED_BY_CLICK_PRESENT_LATENCY
   1411    description: >
   1412      Time between receiving a mouseup which follow by a mouseclick
   1413      on the event loop and compositing its result onto the screen.
   1414      (Migrated from the geckoview metric of the same name).
   1415    bugs:
   1416      - https://bugzilla.mozilla.org/show_bug.cgi?id=1698643
   1417      - https://bugzilla.mozilla.org/show_bug.cgi?id=1875170
   1418    data_reviews:
   1419      - https://bugzilla.mozilla.org/show_bug.cgi?id=1698643#c3
   1420    notification_emails:
   1421      - perf-telemetry-alerts@mozilla.com
   1422      - sefeng@mozilla.com
   1423    expires: never
   1424 
   1425 gfx.hdr:
   1426  windows_display_colorspace_bitfield:
   1427    type: quantity
   1428    description: >
   1429      A bitfield representation of the available DXGI color spaces of the
   1430      connected displays on Windows. See (https://docs.microsoft.com/en-
   1431      us/windows/desktop/api/dxgicommon/ne-dxgicommon-
   1432      dxgi_color_space_type) for definitions of color spaces. Each N'th
   1433      bit of this scalar indicates whether the DXGI color space with index
   1434      'N' is available on at least one connected monitor.
   1435      This metric was generated to correspond to the Legacy Telemetry
   1436      scalar gfx.hdr.windows_display_colorspace_bitfield.
   1437    bugs:
   1438      - https://bugzil.la/1514840
   1439      - https://bugzil.la/1690597
   1440    data_reviews:
   1441      - https://bugzil.la/1514840
   1442      - https://bugzil.la/1690597
   1443    notification_emails:
   1444      - gfx-telemetry-alerts@mozilla.com
   1445      - jmuizelaaar@mozilla.com
   1446    expires: never
   1447    unit: bitfield
   1448    telemetry_mirror: GFX_HDR_WINDOWS_DISPLAY_COLORSPACE_BITFIELD
   1449 
   1450 fontlist:
   1451  initotherfamilynames:
   1452    type: timing_distribution
   1453    description: >
   1454      Time(ms) spent on reading other family names from all fonts
   1455 
   1456      This metric was generated to correspond to the Legacy Telemetry
   1457      exponential histogram FONTLIST_INITOTHERFAMILYNAMES.
   1458    time_unit: millisecond
   1459    bugs:
   1460      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1461    data_reviews:
   1462      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1463    notification_emails:
   1464      - gfx-telemetry-alerts@mozilla.com
   1465    expires: never
   1466    telemetry_mirror: FONTLIST_INITOTHERFAMILYNAMES
   1467 
   1468  initotherfamilynames_no_deferring:
   1469    type: timing_distribution
   1470    description: >
   1471      Time(ms) spent on reading other family names from all fonts for no timeout
   1472      case
   1473 
   1474      This metric was generated to correspond to the Legacy Telemetry
   1475      exponential histogram FONTLIST_INITOTHERFAMILYNAMES_NO_DEFERRING.
   1476    time_unit: millisecond
   1477    bugs:
   1478      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1479    data_reviews:
   1480      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1481    notification_emails:
   1482      - gfx-telemetry-alerts@mozilla.com
   1483    expires: never
   1484    telemetry_mirror: FONTLIST_INITOTHERFAMILYNAMES_NO_DEFERRING
   1485 
   1486  initfacenamelists:
   1487    type: timing_distribution
   1488    description: >
   1489      Time(ms) spent on reading family names from all fonts
   1490 
   1491      This metric was generated to correspond to the Legacy Telemetry
   1492      exponential histogram FONTLIST_INITFACENAMELISTS.
   1493    time_unit: millisecond
   1494    bugs:
   1495      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1496    data_reviews:
   1497      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1498    notification_emails:
   1499      - gfx-telemetry-alerts@mozilla.com
   1500    expires: never
   1501    telemetry_mirror: FONTLIST_INITFACENAMELISTS
   1502 
   1503  bundledfonts_activate:
   1504    type: timing_distribution
   1505    description: >
   1506      Time(ms) spent activating additional fonts bundled with the product
   1507 
   1508      This metric was generated to correspond to the Legacy Telemetry
   1509      exponential histogram FONTLIST_BUNDLEDFONTS_ACTIVATE.
   1510    time_unit: millisecond
   1511    bugs:
   1512      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696162
   1513    data_reviews:
   1514      - https://bugzilla.mozilla.org/show_bug.cgi?id=1696162
   1515    notification_emails:
   1516      - gfx-telemetry-alerts@mozilla.com
   1517    expires: never
   1518    telemetry_mirror: FONTLIST_BUNDLEDFONTS_ACTIVATE
   1519 
   1520  dwritefont_delayedinit_total:
   1521    type: timing_distribution
   1522    description: >
   1523      gfxDWriteFontList::DelayedInitFontList Total (ms)
   1524 
   1525      This metric was generated to correspond to the Legacy Telemetry
   1526      exponential histogram DWRITEFONT_DELAYEDINITFONTLIST_TOTAL.
   1527    time_unit: millisecond
   1528    bugs:
   1529      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1530    data_reviews:
   1531      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1532    notification_emails:
   1533      - gfx-telemetry-alerts@mozilla.com
   1534    expires: never
   1535    telemetry_mirror: DWRITEFONT_DELAYEDINITFONTLIST_TOTAL
   1536 
   1537  dwritefont_delayedinit_count:
   1538    type: custom_distribution
   1539    description: >
   1540      gfxDWriteFontList::DelayedInitFontList Font Family Count
   1541 
   1542      This metric was generated to correspond to the Legacy Telemetry
   1543      exponential histogram DWRITEFONT_DELAYEDINITFONTLIST_COUNT.
   1544    range_min: 1
   1545    range_max: 10000
   1546    bucket_count: 10
   1547    histogram_type: exponential
   1548    unit: font family count
   1549    bugs:
   1550      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1551    data_reviews:
   1552      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1553    notification_emails:
   1554      - gfx-telemetry-alerts@mozilla.com
   1555    expires: never
   1556    telemetry_mirror: DWRITEFONT_DELAYEDINITFONTLIST_COUNT
   1557 
   1558  dwritefont_delayedinit_collect:
   1559    type: timing_distribution
   1560    description: >
   1561      gfxDWriteFontList::DelayedInitFontList GetSystemFontCollection (ms)
   1562 
   1563      This metric was generated to correspond to the Legacy Telemetry
   1564      exponential histogram DWRITEFONT_DELAYEDINITFONTLIST_COLLECT.
   1565    time_unit: millisecond
   1566    bugs:
   1567      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1568    data_reviews:
   1569      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1570    notification_emails:
   1571      - gfx-telemetry-alerts@mozilla.com
   1572    expires: never
   1573    telemetry_mirror: DWRITEFONT_DELAYEDINITFONTLIST_COLLECT
   1574 
   1575  dwritefont_init_problem:
   1576    type: custom_distribution
   1577    description: >
   1578      DirectWrite system fontlist initialization problem (1=GDI interop,
   1579      2=system font collection, 3=no fonts)
   1580 
   1581      This metric was generated to correspond to the Legacy Telemetry enumerated
   1582      histogram DWRITEFONT_INIT_PROBLEM.
   1583    range_min: 0
   1584    range_max: 8
   1585    bucket_count: 9
   1586    histogram_type: linear
   1587    bugs:
   1588      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1589    data_reviews:
   1590      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1591    notification_emails:
   1592      - gfx-telemetry-alerts@mozilla.com
   1593    expires: never
   1594    telemetry_mirror: DWRITEFONT_INIT_PROBLEM
   1595 
   1596  system_font_fallback:
   1597    type: timing_distribution
   1598    description: >
   1599      System font fallback (us)
   1600 
   1601      This metric was generated to correspond to the Legacy Telemetry
   1602      exponential histogram SYSTEM_FONT_FALLBACK.
   1603    time_unit: microsecond
   1604    bugs:
   1605      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1606    data_reviews:
   1607      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1608    notification_emails:
   1609      - gfx-telemetry-alerts@mozilla.com
   1610    expires: never
   1611    telemetry_mirror: SYSTEM_FONT_FALLBACK
   1612 
   1613  system_font_fallback_first:
   1614    type: timing_distribution
   1615    description: >
   1616      System font fallback, first call (ms)
   1617 
   1618      This metric was generated to correspond to the Legacy Telemetry
   1619      exponential histogram SYSTEM_FONT_FALLBACK_FIRST.
   1620    time_unit: millisecond
   1621    bugs:
   1622      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1623    data_reviews:
   1624      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1625    notification_emails:
   1626      - gfx-telemetry-alerts@mozilla.com
   1627    expires: never
   1628    telemetry_mirror: SYSTEM_FONT_FALLBACK_FIRST
   1629 
   1630  font_cache_hit:
   1631    type: labeled_counter
   1632    description: >
   1633      font cache hit
   1634 
   1635      This metric was generated to correspond to the Legacy Telemetry boolean
   1636      histogram FONT_CACHE_HIT.
   1637    labels:
   1638      - "false"
   1639      - "true"
   1640    bugs:
   1641      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1642    data_reviews:
   1643      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1644    notification_emails:
   1645      - gfx-telemetry-alerts@mozilla.com
   1646    expires: never
   1647    telemetry_mirror: h#FONT_CACHE_HIT
   1648 
   1649  bad_fallback_font:
   1650    type: labeled_counter
   1651    description: >
   1652      system fallback font can't be used
   1653 
   1654      This metric was generated to correspond to the Legacy Telemetry boolean
   1655      histogram BAD_FALLBACK_FONT.
   1656    labels:
   1657      - "false"
   1658      - "true"
   1659    bugs:
   1660      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1661    data_reviews:
   1662      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1663    notification_emails:
   1664      - gfx-telemetry-alerts@mozilla.com
   1665    expires: never
   1666    telemetry_mirror: h#BAD_FALLBACK_FONT
   1667 
   1668  mac_init_total:
   1669    type: timing_distribution
   1670    description: >
   1671      gfxMacPlatformFontList::InitFontList Total (ms)
   1672 
   1673      This metric was generated to correspond to the Legacy Telemetry
   1674      exponential histogram MAC_INITFONTLIST_TOTAL.
   1675    time_unit: millisecond
   1676    bugs:
   1677      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1678    data_reviews:
   1679      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1680    notification_emails:
   1681      - gfx-telemetry-alerts@mozilla.com
   1682    expires: never
   1683    telemetry_mirror: MAC_INITFONTLIST_TOTAL
   1684 
   1685 apz_zoom:
   1686  activity:
   1687    type: labeled_counter
   1688    description: >
   1689      Whether non-RDM page had user-triggered zooming activity
   1690 
   1691      This metric was generated to correspond to the Legacy Telemetry boolean
   1692      histogram APZ_ZOOM_ACTIVITY.
   1693    labels:
   1694      - "false"
   1695      - "true"
   1696    bugs:
   1697      - https://bugzilla.mozilla.org/show_bug.cgi?id=1627708
   1698      - https://bugzilla.mozilla.org/show_bug.cgi?id=1672576
   1699    data_reviews:
   1700      - https://bugzilla.mozilla.org/show_bug.cgi?id=1627708
   1701      - https://bugzilla.mozilla.org/show_bug.cgi?id=1672576
   1702    notification_emails:
   1703      - botond@mozilla.com
   1704    expires: never
   1705    telemetry_mirror: h#APZ_ZOOM_ACTIVITY
   1706 
   1707  pinchsource:
   1708    type: custom_distribution
   1709    description: >
   1710      Input device that triggered the zoom gesture
   1711      (InputData::PinchGestureSource)
   1712 
   1713      This metric was generated to correspond to the Legacy Telemetry enumerated
   1714      histogram APZ_ZOOM_PINCHSOURCE.
   1715    range_min: 0
   1716    range_max: 5
   1717    bucket_count: 6
   1718    histogram_type: linear
   1719    bugs:
   1720      - https://bugzilla.mozilla.org/show_bug.cgi?id=1627708
   1721      - https://bugzilla.mozilla.org/show_bug.cgi?id=1672576
   1722    data_reviews:
   1723      - https://bugzilla.mozilla.org/show_bug.cgi?id=1627708
   1724      - https://bugzilla.mozilla.org/show_bug.cgi?id=1672576
   1725    notification_emails:
   1726      - botond@mozilla.com
   1727    expires: never
   1728    telemetry_mirror: APZ_ZOOM_PINCHSOURCE
   1729 
   1730 webfont:
   1731  download_time:
   1732    type: timing_distribution
   1733    description: >
   1734      Time to download a webfont (ms)
   1735 
   1736      This metric was generated to correspond to the Legacy Telemetry
   1737      exponential histogram WEBFONT_DOWNLOAD_TIME.
   1738    time_unit: millisecond
   1739    bugs:
   1740      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1741    data_reviews:
   1742      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1743    notification_emails:
   1744      - jkew@mozilla.com
   1745    expires: never
   1746    telemetry_mirror: WEBFONT_DOWNLOAD_TIME
   1747 
   1748  fonttype:
   1749    type: custom_distribution
   1750    description: >
   1751      Font format type (woff/woff2/ttf/...)
   1752 
   1753      This metric was generated to correspond to the Legacy Telemetry enumerated
   1754      histogram WEBFONT_FONTTYPE.
   1755    range_min: 0
   1756    range_max: 10
   1757    bucket_count: 11
   1758    histogram_type: linear
   1759    bugs:
   1760      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1761    data_reviews:
   1762      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1763    notification_emails:
   1764      - jkew@mozilla.com
   1765    expires: never
   1766    telemetry_mirror: WEBFONT_FONTTYPE
   1767 
   1768  srctype:
   1769    type: custom_distribution
   1770    description: >
   1771      Font src type loaded (1 = local, 2 = url, 3 = data)
   1772 
   1773      This metric was generated to correspond to the Legacy Telemetry enumerated
   1774      histogram WEBFONT_SRCTYPE.
   1775    range_min: 0
   1776    range_max: 5
   1777    bucket_count: 6
   1778    histogram_type: linear
   1779    bugs:
   1780      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1781    data_reviews:
   1782      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1783    notification_emails:
   1784      - jkew@mozilla.com
   1785    expires: never
   1786    telemetry_mirror: WEBFONT_SRCTYPE
   1787 
   1788  per_page:
   1789    type: counter
   1790    description: >
   1791      Number of fonts loaded at page load
   1792 
   1793      This metric was generated to correspond to the Legacy Telemetry count
   1794      histogram WEBFONT_PER_PAGE.
   1795    bugs:
   1796      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1797    data_reviews:
   1798      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1799    notification_emails:
   1800      - jkew@mozilla.com
   1801    expires: never
   1802    telemetry_mirror: h#WEBFONT_PER_PAGE
   1803 
   1804  size_per_page:
   1805    type: memory_distribution
   1806    description: >
   1807      Size of all fonts loaded at page load (kb)
   1808 
   1809      This metric was generated to correspond to the Legacy Telemetry
   1810      exponential histogram WEBFONT_SIZE_PER_PAGE.
   1811    memory_unit: kilobyte
   1812    bugs:
   1813      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1814    data_reviews:
   1815      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1816    notification_emails:
   1817      - jkew@mozilla.com
   1818    expires: never
   1819    telemetry_mirror: WEBFONT_SIZE_PER_PAGE
   1820 
   1821  size:
   1822    type: memory_distribution
   1823    description: >
   1824      Size of font loaded (kb)
   1825 
   1826      This metric was generated to correspond to the Legacy Telemetry
   1827      exponential histogram WEBFONT_SIZE.
   1828    memory_unit: kilobyte
   1829    bugs:
   1830      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1831    data_reviews:
   1832      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1833    notification_emails:
   1834      - jkew@mozilla.com
   1835    expires: never
   1836    telemetry_mirror: WEBFONT_SIZE
   1837 
   1838  compression_woff:
   1839    type: custom_distribution
   1840    description: >
   1841      Compression ratio of WOFF data (%)
   1842 
   1843      This metric was generated to correspond to the Legacy Telemetry enumerated
   1844      histogram WEBFONT_COMPRESSION_WOFF.
   1845    range_min: 0
   1846    range_max: 50
   1847    bucket_count: 51
   1848    histogram_type: linear
   1849    bugs:
   1850      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1851    data_reviews:
   1852      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1853    notification_emails:
   1854      - jkew@mozilla.com
   1855    expires: never
   1856    telemetry_mirror: WEBFONT_COMPRESSION_WOFF
   1857 
   1858  compression_woff2:
   1859    type: custom_distribution
   1860    description: >
   1861      Compression ratio of WOFF2 data (%)
   1862 
   1863      This metric was generated to correspond to the Legacy Telemetry enumerated
   1864      histogram WEBFONT_COMPRESSION_WOFF2.
   1865    range_min: 0
   1866    range_max: 50
   1867    bucket_count: 51
   1868    histogram_type: linear
   1869    bugs:
   1870      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1871    data_reviews:
   1872      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
   1873    notification_emails:
   1874      - jkew@mozilla.com
   1875    expires: never
   1876    telemetry_mirror: WEBFONT_COMPRESSION_WOFF2