tor-browser

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

metrics.yaml (93057B)


      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 :: Networking: HTTP'
     12 
     13 
     14 netwerk:
     15  parent_connect_timeout:
     16    type: counter
     17    description: >
     18      Counts how often the parent-connect-timeout timer is necessary to clear up EarlyHintPreloader
     19    bugs:
     20      - https://bugzilla.mozilla.org/show_bug.cgi?id=1813630
     21    data_reviews:
     22      - https://bugzilla.mozilla.org/show_bug.cgi?id=1813630
     23    notification_emails:
     24      - necko@mozilla.com
     25      - manuel@mozilla.com
     26    expires: never
     27 
     28  http3_0rtt_state:
     29    type: labeled_counter
     30    description: >
     31      Gather the outcome of 0-RTT usage:
     32      - "not_used": 0RTT_NOT_USED
     33      - "succeeded": 0RTT_USED_SUCCESS
     34      - "rejected": 0RTT_USED_REJECT
     35      - "conn_error": 0RTT_USED_CONN_ERROR
     36      - "conn_closed_by_necko": 0RTT_CONN_CLOSED_BY_NECKO
     37    bugs:
     38      - https://bugzilla.mozilla.org/show_bug.cgi?id=1688850
     39      - https://bugzilla.mozilla.org/show_bug.cgi?id=1905939
     40    data_reviews:
     41      - https://bugzilla.mozilla.org/show_bug.cgi?id=1905939
     42    notification_emails:
     43      - necko@mozilla.com
     44    expires: never
     45    labels:
     46      - not_used
     47      - succeeded
     48      - rejected
     49      - conn_error
     50      - conn_closed_by_necko
     51 
     52  http3_0rtt_state_duration:
     53    type: labeled_timing_distribution
     54    time_unit: millisecond
     55    description: >
     56      The time a connection was in the 0-RTT state
     57    bugs:
     58      - https://bugzilla.mozilla.org/show_bug.cgi?id=1688850
     59      - https://bugzilla.mozilla.org/show_bug.cgi?id=1905939
     60    data_reviews:
     61      - https://bugzilla.mozilla.org/show_bug.cgi?id=1905939
     62    notification_emails:
     63      - necko@mozilla.com
     64    labels:
     65      - succeeded
     66      - rejected
     67      - conn_error
     68      - conn_closed_by_necko
     69      - not_used
     70    expires: never
     71 
     72  http3_time_to_reuse_idle_connection:
     73    type: labeled_timing_distribution
     74    time_unit: millisecond
     75    description: >
     76      The time to reuse an idle connection in HTTP3 (ms); keyed by the transaction reusing an idle connection has succeeded or failed
     77    bugs:
     78      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
     79      - https://bugzilla.mozilla.org/show_bug.cgi?id=1906360
     80    data_reviews:
     81      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
     82    notification_emails:
     83      - necko@mozilla.com
     84    labels:
     85      - succeeded
     86      - failed
     87    expires: never
     88    telemetry_mirror: HTTP3_TIME_TO_REUSE_IDLE_CONNECTTION_MS
     89 
     90 network:
     91  byte_range_request:
     92    type: labeled_counter
     93    labels:
     94      - cacheable
     95      - not_cacheable
     96    description: >
     97      Counts of cacheable/non-cacheable byte-range requests
     98    bugs:
     99      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898737
    100    data_reviews:
    101      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898737
    102    notification_emails:
    103      - necko@mozilla.com
    104    expires: never
    105 
    106  cache_read_time:
    107    type: timing_distribution
    108    time_unit: millisecond
    109    description: >
    110      In the HTTP page channel, time from connection cache read start to cache read end.
    111      Corresponds to Legacy histogram HTTP_PAGE_CACHE_READ_TIME_V2 in
    112      Desktop.
    113    bugs:
    114      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    115    data_reviews:
    116      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    117    notification_emails:
    118      - necko@mozilla.com
    119    telemetry_mirror: HTTP_PAGE_CACHE_READ_TIME_V2
    120    expires: never
    121 
    122  complete_load:
    123    type: timing_distribution
    124    time_unit: millisecond
    125    description: >
    126      In the HTTP page channel, time from connection open to complete load (cache read end/until the last byte received)
    127      Corresponds to Legacy histogram HTTP_PAGE_COMPLETE_LOAD_V2 in
    128      Desktop.
    129    bugs:
    130      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    131    data_reviews:
    132      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    133    notification_emails:
    134      - necko@mozilla.com
    135    telemetry_mirror: HTTP_PAGE_COMPLETE_LOAD_V2
    136    expires: never
    137 
    138  complete_load_cached:
    139    type: timing_distribution
    140    time_unit: millisecond
    141    description: >
    142      In the HTTP page channel, time from connection open to cache read end.
    143      Corresponds to Legacy histogram HTTP_PAGE_COMPLETE_LOAD_CACHED_V2 in
    144      Desktop.
    145    bugs:
    146      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    147    data_reviews:
    148      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    149    notification_emails:
    150      - necko@mozilla.com
    151    telemetry_mirror: HTTP_PAGE_COMPLETE_LOAD_CACHED_V2
    152    expires: never
    153 
    154  complete_load_net:
    155    type: timing_distribution
    156    time_unit: millisecond
    157    description: >
    158      In the HTTP page channel, time from connection open to the last byte received.
    159      Corresponds to Legacy histogram HTTP_PAGE_COMPLETE_LOAD_NET_V2 in
    160      Desktop.
    161    bugs:
    162      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    163    data_reviews:
    164      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    165    notification_emails:
    166      - necko@mozilla.com
    167    telemetry_mirror: HTTP_PAGE_COMPLETE_LOAD_NET_V2
    168    expires: never
    169 
    170  cors_authorization_header:
    171    type: labeled_counter
    172    labels:
    173      - allowed
    174      - disallowed
    175      - covered_by_wildcard
    176    description: >
    177      Count how many times we see `Authorization` header in
    178      `Access-Control-Request-Headers` header and the possible outcomes.
    179    bugs:
    180      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687364
    181      - https://bugzilla.mozilla.org/show_bug.cgi?id=1902182
    182      - https://bugzilla.mozilla.org/show_bug.cgi?id=1958158
    183    data_reviews:
    184      - https://bugzilla.mozilla.org/show_bug.cgi?id=1687364
    185    notification_emails:
    186      - necko@mozilla.com
    187      - kershaw@mozilla.com
    188    expires: 156
    189 
    190  cache_hit_time:
    191    type: timing_distribution
    192    time_unit: millisecond
    193    telemetry_mirror: NETWORK_CACHE_V2_HIT_TIME_MS
    194    description: >
    195      Time to open existing cache entry file.
    196      (Migrated from the geckoview metric of the same name).
    197    bugs:
    198      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    199      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
    200      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    201    data_reviews:
    202      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
    203    notification_emails:
    204      - necko@mozilla.com
    205    expires: never
    206 
    207  cache_miss_time:
    208    type: timing_distribution
    209    time_unit: millisecond
    210    telemetry_mirror: NETWORK_CACHE_V2_MISS_TIME_MS
    211    description: >
    212      Time spent to find out a cache entry file is missing.
    213      (Migrated from the geckoview metric of the same name).
    214    bugs:
    215      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    216      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
    217      - https://bugzilla.mozilla.org/show_bug.cgi?id=1922661
    218    data_reviews:
    219      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
    220    notification_emails:
    221      - necko@mozilla.com
    222    expires: never
    223 
    224  cache_hit_miss_stat_per_cache_size:
    225    type: labeled_counter
    226    description: >
    227      Hit/Miss count split by cache size in file count Hit 0-5000, Miss 0-5000, Hit 5001-10000, ...
    228    bugs:
    229      - https://bugzilla.mozilla.org/show_bug.cgi?id=1131600
    230      - https://bugzilla.mozilla.org/show_bug.cgi?id=1922661
    231    data_reviews:
    232      - https://bugzilla.mozilla.org/show_bug.cgi?id=1131600
    233    notification_emails:
    234      - necko@mozilla.com
    235    expires: never
    236 
    237  cache_hit_rate_per_cache_size:
    238    type: labeled_custom_distribution
    239    description: >
    240      Hit rate for a specific cache size in file count. The hit rate is split into 20 buckets. The key is the cacheSize (20 buckets) and the value is between 0 and 100.
    241    bucket_count: 20
    242    range_min: 0
    243    range_max: 100
    244    bugs:
    245      - https://bugzilla.mozilla.org/show_bug.cgi?id=1131600
    246      - https://bugzilla.mozilla.org/show_bug.cgi?id=1922661
    247    data_reviews:
    248      - https://bugzilla.mozilla.org/show_bug.cgi?id=1131600
    249    notification_emails:
    250      - necko@mozilla.com
    251    expires: never
    252 
    253  font_download_end:
    254    type: timing_distribution
    255    time_unit: millisecond
    256    telemetry_mirror: WEBFONT_DOWNLOAD_TIME_AFTER_START
    257    description: >
    258      Time after navigationStart that all webfont downloads are completed.
    259      (Migrated from the geckoview metric of the same name).
    260    bugs:
    261      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    262      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
    263      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    264    data_reviews:
    265      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
    266    notification_emails:
    267      - perf-telemetry-alerts@mozilla.com
    268      - necko@mozilla.com
    269      - bdekoz@mozilla.com
    270    expires: never
    271 
    272  first_from_cache:
    273    type: timing_distribution
    274    time_unit: millisecond
    275    description: >
    276      In the HTTP page channel, time from connection open to cache read start.
    277      Corresponds to Legacy histogram HTTP_PAGE_OPEN_TO_FIRST_FROM_CACHE_V2 in
    278      Desktop.
    279    bugs:
    280      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
    281      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    282    data_reviews:
    283      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
    284    notification_emails:
    285      - necko@mozilla.com
    286    telemetry_mirror: HTTP_PAGE_OPEN_TO_FIRST_FROM_CACHE_V2
    287    expires: never
    288 
    289  tcp_connection:
    290    type: timing_distribution
    291    time_unit: millisecond
    292    description: >
    293      In the HTTP page channel, time from the TCP SYN packet is received to
    294      the connection is established and ready for HTTP.
    295      Corresponds to Legacy histogram HTTP_PAGE_TCP_CONNECTION_2 in Desktop
    296      (Migrated from the geckoview metric of the same name).
    297    bugs:
    298      - https://bugzilla.mozilla.org/show_bug.cgi?id=772589
    299      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
    300      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    301    data_reviews:
    302      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
    303    notification_emails:
    304      - necko@mozilla.com
    305      - vgosu@mozilla.com
    306    telemetry_mirror: HTTP_PAGE_TCP_CONNECTION_2
    307    expires: never
    308 
    309  dns_start:
    310    type: timing_distribution
    311    time_unit: millisecond
    312    description: >
    313      In the HTTP page channel, time from connection open to the DNS request
    314      being issued.
    315      Corresponds to Legacy histogram HTTP_PAGE_DNS_ISSUE_TIME in Desktop.
    316      (Migrated from the geckoview metric of the same name).
    317    bugs:
    318      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
    319      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    320    data_reviews:
    321      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
    322    notification_emails:
    323      - necko@mozilla.com
    324      - vgosu@mozilla.com
    325    telemetry_mirror: HTTP_PAGE_DNS_ISSUE_TIME
    326    expires: never
    327 
    328  dns_end:
    329    type: timing_distribution
    330    time_unit: millisecond
    331    description: >
    332      In the HTTP page channel, time from the DNS request being issued to
    333      the response.
    334      Corresponds to Legacy histogram HTTP_PAGE_DNS_LOOKUP_TIME in Desktop.
    335      (Migrated from the geckoview metric of the same name).
    336    bugs:
    337      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
    338      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    339    data_reviews:
    340      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
    341    notification_emails:
    342      - necko@mozilla.com
    343      - vgosu@mozilla.com
    344    telemetry_mirror: HTTP_PAGE_DNS_LOOKUP_TIME
    345    expires: never
    346 
    347  http_revalidation:
    348    type: timing_distribution
    349    time_unit: millisecond
    350    description: >
    351      In the HTTP page channel, time for positive cache validation
    352      Corresponds to Legacy histogram HTTP_PAGE_REVALIDATION in
    353      Desktop.
    354    bugs:
    355      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    356    data_reviews:
    357      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    358    notification_emails:
    359      - necko@mozilla.com
    360    telemetry_mirror: HTTP_PAGE_REVALIDATION
    361    expires: never
    362 
    363  first_sent_to_last_received:
    364    type: timing_distribution
    365    time_unit: millisecond
    366    description: >
    367      In the HTTP page channel, time from first byte of request sent to the last byte received.
    368      Corresponds to Legacy histogram HTTP_PAGE_FIRST_SENT_TO_LAST_RECEIVED in Desktop.
    369      (Migrated from the geckoview metric of the same name).
    370    bugs:
    371      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    372    data_reviews:
    373      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    374    notification_emails:
    375      - necko@mozilla.com
    376    telemetry_mirror:
    377      HTTP_PAGE_FIRST_SENT_TO_LAST_RECEIVED
    378    expires: never
    379 
    380  open_to_first_sent:
    381    type: timing_distribution
    382    time_unit: millisecond
    383    description: >
    384      In the HTTP page channel, time from connection open to the first byte of requst sent.
    385      Corresponds to Legacy histogram HTTP_PAGE_OPEN_TO_FIRST_SENT in Desktop.
    386      (Migrated from the geckoview metric of the same name).
    387    bugs:
    388      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    389    data_reviews:
    390      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    391    notification_emails:
    392      - necko@mozilla.com
    393    telemetry_mirror:
    394      HTTP_PAGE_OPEN_TO_FIRST_SENT
    395    expires: never
    396 
    397  open_to_first_received:
    398    type: timing_distribution
    399    time_unit: millisecond
    400    description: >
    401      In the HTTP subitem channel,time from connection open to the first byte received.
    402      Corresponds to Legacy histogram HTTP_PAGE_OPEN_TO_FIRST_RECEIVED in Desktop.
    403      (Migrated from the geckoview metric of the same name).
    404    bugs:
    405      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    406    data_reviews:
    407      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    408    notification_emails:
    409      - necko@mozilla.com
    410    telemetry_mirror:
    411      HTTP_PAGE_OPEN_TO_FIRST_RECEIVED
    412    expires: never
    413 
    414  sub_cache_read_time:
    415    type: timing_distribution
    416    time_unit: millisecond
    417    description: >
    418      In the HTTP subitem channel, time from connection cache read start to cache read end.
    419      Corresponds to Legacy histogram HTTP_SUB_CACHE_READ_TIME_V2 in
    420      Desktop.
    421    bugs:
    422      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    423    data_reviews:
    424      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    425    notification_emails:
    426      - necko@mozilla.com
    427    telemetry_mirror: HTTP_SUB_CACHE_READ_TIME_V2
    428    expires: never
    429 
    430  sub_complete_load:
    431    type: timing_distribution
    432    time_unit: millisecond
    433    description: >
    434      In the HTTP subitem channel, time from connection open to complete load (cache read end/until the last byte received)
    435      Corresponds to Legacy histogram HTTP_SUB_COMPLETE_LOAD_V2 in
    436      Desktop.
    437    bugs:
    438      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    439    data_reviews:
    440      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    441    notification_emails:
    442      - necko@mozilla.com
    443    telemetry_mirror: HTTP_SUB_COMPLETE_LOAD_V2
    444    expires: never
    445 
    446  sub_complete_load_cached:
    447    type: timing_distribution
    448    time_unit: millisecond
    449    description: >
    450      In the HTTP subitem channel, time from connection open to cache read end.
    451      Corresponds to Legacy histogram HTTP_SUB_COMPLETE_LOAD_CACHED_V2 in
    452      Desktop.
    453    bugs:
    454      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    455    data_reviews:
    456      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    457    notification_emails:
    458      - necko@mozilla.com
    459    telemetry_mirror: HTTP_SUB_COMPLETE_LOAD_CACHED_V2
    460    expires: never
    461 
    462  sub_complete_load_net:
    463    type: timing_distribution
    464    time_unit: millisecond
    465    description: >
    466      In the HTTP subitem channel, time from connection open to the last byte received.
    467      Corresponds to Legacy histogram HTTP_SUB_COMPLETE_LOAD_NET_V2 in
    468      Desktop.
    469    bugs:
    470      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    471    data_reviews:
    472      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    473    notification_emails:
    474      - necko@mozilla.com
    475    telemetry_mirror: HTTP_SUB_COMPLETE_LOAD_NET_V2
    476    expires: never
    477 
    478  sub_dns_start:
    479    type: timing_distribution
    480    time_unit: millisecond
    481    description: >
    482      In the HTTP subitem channel, time from connection open to the DNS request
    483      being issued.
    484      Corresponds to Legacy histogram HTTP_SUB_DNS_ISSUE_TIME in Desktop.
    485      (Migrated from the geckoview metric of the same name).
    486    bugs:
    487      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    488    data_reviews:
    489      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    490    notification_emails:
    491      - necko@mozilla.com
    492    telemetry_mirror: HTTP_SUB_DNS_ISSUE_TIME
    493    expires: never
    494 
    495  sub_dns_end:
    496    type: timing_distribution
    497    time_unit: millisecond
    498    description: >
    499      In the HTTP subitem channel, time from the DNS request being issued to
    500      the response.
    501      Corresponds to Legacy histogram HTTP_SUB_DNS_LOOKUP_TIME in Desktop.
    502      (Migrated from the geckoview metric of the same name).
    503    bugs:
    504      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    505    data_reviews:
    506      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    507    notification_emails:
    508      - necko@mozilla.com
    509    telemetry_mirror: HTTP_SUB_DNS_LOOKUP_TIME
    510    expires: never
    511 
    512  sub_first_from_cache:
    513    type: timing_distribution
    514    time_unit: millisecond
    515    description: >
    516      In the HTTP subitem channel, time from connection open to cache read start.
    517      Corresponds to Legacy histogram HTTP_SUB_OPEN_TO_FIRST_FROM_CACHE_V2 in
    518      Desktop.
    519    bugs:
    520      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    521    data_reviews:
    522      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    523    notification_emails:
    524      - necko@mozilla.com
    525    telemetry_mirror: HTTP_SUB_OPEN_TO_FIRST_FROM_CACHE_V2
    526    expires: never
    527 
    528  sub_first_sent_to_last_received:
    529    type: timing_distribution
    530    time_unit: millisecond
    531    description: >
    532      In the HTTP subitem channel, time from first byte of request sent to the last byte received.
    533      Corresponds to Legacy histogram HTTP_SUB_FIRST_SENT_TO_LAST_RECEIVED in Desktop.
    534      (Migrated from the geckoview metric of the same name).
    535    bugs:
    536      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    537    data_reviews:
    538      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    539    notification_emails:
    540      - necko@mozilla.com
    541    telemetry_mirror:
    542      HTTP_SUB_FIRST_SENT_TO_LAST_RECEIVED
    543    expires: never
    544 
    545  sub_http_revalidation:
    546    type: timing_distribution
    547    time_unit: millisecond
    548    description: >
    549      In the HTTP subitem channel, time for positive cache validation
    550      Corresponds to Legacy histogram HTTP_SUB_REVALIDATION in
    551      Desktop.
    552    bugs:
    553      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    554    data_reviews:
    555      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    556    notification_emails:
    557      - necko@mozilla.com
    558    telemetry_mirror: HTTP_SUB_REVALIDATION
    559    expires: never
    560 
    561  sub_open_to_first_sent:
    562    type: timing_distribution
    563    time_unit: millisecond
    564    description: >
    565      In the HTTP subitem channel, time from connection open to the first byte of requst sent.
    566      Corresponds to Legacy histogram HTTP_SUB_OPEN_TO_FIRST_SENT in Desktop.
    567      (Migrated from the geckoview metric of the same name).
    568    bugs:
    569      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    570    data_reviews:
    571      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    572    notification_emails:
    573      - necko@mozilla.com
    574    telemetry_mirror:
    575      HTTP_SUB_OPEN_TO_FIRST_SENT
    576    expires: never
    577 
    578  sub_open_to_first_received:
    579    type: timing_distribution
    580    time_unit: millisecond
    581    description: >
    582      In the HTTP subitem channel, time from connection open to the first byte received.
    583      Corresponds to Legacy histogram HTTP_SUB_OPEN_TO_FIRST_RECEIVED in Desktop.
    584      (Migrated from the geckoview metric of the same name).
    585    bugs:
    586      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    587    data_reviews:
    588      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    589    notification_emails:
    590      - necko@mozilla.com
    591    telemetry_mirror:
    592      HTTP_SUB_OPEN_TO_FIRST_RECEIVED
    593    expires: never
    594 
    595  sub_tls_handshake:
    596    type: timing_distribution
    597    time_unit: millisecond
    598    description: >
    599      In the HTTP subitem channel, time from after the TCP SYN packet is
    600      received to the secure connection is established and ready for HTTP.
    601      Corresponds to Legacy histogram HTTP_SUB_TLS_HANDSHAKE in Desktop.
    602      (Migrated from the geckoview metric of the same name).
    603    bugs:
    604      - https://bugzilla.mozilla.org/show_bug.cgi?id=772589
    605      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    606    data_reviews:
    607      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    608    notification_emails:
    609      - necko@mozilla.com
    610    telemetry_mirror: HTTP_SUB_TLS_HANDSHAKE
    611    expires: never
    612 
    613  sub_tcp_connection:
    614    type: timing_distribution
    615    time_unit: millisecond
    616    description: >
    617      In the HTTP subitem channel, time from the TCP SYN packet is received to
    618      the connection is established and ready for HTTP.
    619      Corresponds to Legacy histogram HTTP_SUB_TCP_CONNECTION_2 in Desktop
    620      (Migrated from the geckoview metric of the same name).
    621    bugs:
    622      - https://bugzilla.mozilla.org/show_bug.cgi?id=772589
    623      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    624    data_reviews:
    625      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898247
    626    notification_emails:
    627      - necko@mozilla.com
    628    telemetry_mirror: HTTP_SUB_TCP_CONNECTION_2
    629    expires: never
    630 
    631  page_load_size:
    632    type: labeled_memory_distribution
    633    memory_unit: byte
    634    labels:
    635      - page
    636      - subresources
    637    description: >
    638      The size of the HTTP response for a document load, keyed by
    639      the page itself or the sum of subresources.
    640    bugs:
    641      - https://bugzilla.mozilla.org/show_bug.cgi?id=1960943
    642    data_reviews:
    643      - https://bugzilla.mozilla.org/show_bug.cgi?id=1960943
    644    notification_emails:
    645      - necko@mozilla.com
    646      - kershaw@mozilla.com
    647    expires: never
    648 
    649  tls_early_data_negotiated:
    650    type: labeled_counter
    651    labels:
    652      - not_available
    653      - available_and_used
    654      - available_but_not_used
    655    description: >
    656      Sending TLS early data was not possible, possible and used, or possible but not used.
    657    bugs:
    658      - https://bugzilla.mozilla.org/show_bug.cgi?id=1296288
    659      - https://bugzilla.mozilla.org/show_bug.cgi?id=1654309
    660      - https://bugzilla.mozilla.org/show_bug.cgi?id=1749881
    661      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898018
    662    data_reviews:
    663      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898018
    664    notification_emails:
    665      - necko@mozilla.com
    666      - vgosu@mozilla.com
    667    expires: never
    668 
    669  tls_early_data_accepted:
    670    type: labeled_counter
    671    labels:
    672      - accepted
    673      - rejected
    674    description: >
    675      TLS early data was used and it was accepted or rejected by the remote host.
    676    bugs:
    677      - https://bugzilla.mozilla.org/show_bug.cgi?id=1296288
    678      - https://bugzilla.mozilla.org/show_bug.cgi?id=1654309
    679      - https://bugzilla.mozilla.org/show_bug.cgi?id=1749881
    680      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898018
    681    data_reviews:
    682      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898018
    683    notification_emails:
    684      - necko@mozilla.com
    685      - vgosu@mozilla.com
    686    expires: never
    687 
    688  tls_early_data_bytes_written:
    689    type: custom_distribution
    690    unit: byte
    691    range_min: 0
    692    range_max: 60000
    693    bucket_count: 100
    694    histogram_type: exponential
    695    description: >
    696      Amount of bytes sent using TLS early data at the start of a TLS connection for a given channel.
    697    bugs:
    698      - https://bugzilla.mozilla.org/show_bug.cgi?id=1296288
    699      - https://bugzilla.mozilla.org/show_bug.cgi?id=1654309
    700      - https://bugzilla.mozilla.org/show_bug.cgi?id=1749881
    701      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898018
    702    data_reviews:
    703      - https://bugzilla.mozilla.org/show_bug.cgi?id=1898018
    704    notification_emails:
    705      - necko@mozilla.com
    706      - vgosu@mozilla.com
    707    expires: never
    708    telemetry_mirror: TLS_EARLY_DATA_BYTES_WRITTEN
    709 
    710  tls_handshake:
    711    type: timing_distribution
    712    time_unit: millisecond
    713    description: >
    714      In the HTTP page channel, time from after the TCP SYN packet is
    715      received to the secure connection is established and ready for HTTP.
    716      Corresponds to Legacy histogram HTTP_PAGE_TLS_HANDSHAKE in Desktop.
    717      (Migrated from the geckoview metric of the same name).
    718    bugs:
    719      - https://bugzilla.mozilla.org/show_bug.cgi?id=772589
    720      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
    721      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877839
    722    data_reviews:
    723      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
    724    notification_emails:
    725      - necko@mozilla.com
    726      - vgosu@mozilla.com
    727    telemetry_mirror: HTTP_PAGE_TLS_HANDSHAKE
    728    expires: never
    729 
    730  http3_tls_handshake: &http3_tls_handshake
    731    type: labeled_timing_distribution
    732    time_unit: millisecond
    733    description: >
    734      In the HTTP channel (keys: uses_http3_page, uses_http3_sub, supports_http3_page, supports_http3_sub), time from secure connection start (after TCP SYN) to ready for HTTP
    735    bugs:
    736      - https://bugzilla.mozilla.org/show_bug.cgi?id=1675500
    737      - https://bugzilla.mozilla.org/show_bug.cgi?id=1907418
    738    data_reviews:
    739      - https://bugzilla.mozilla.org/show_bug.cgi?id=1675500
    740    notification_emails:
    741      - necko@mozilla.com
    742    labels:
    743      - uses_http3_page
    744      - uses_http3_sub
    745      - supports_http3_page
    746      - supports_http3_sub
    747    telemetry_mirror: HTTP3_TLS_HANDSHAKE
    748    expires: never
    749 
    750  sup_http3_tcp_connection:
    751    <<: *http3_tls_handshake
    752    description: >
    753      In the HTTP channel (keys: supports_http3_page, supports_http3_sub), time from TCP SYN to ready for HTTP
    754    labels:
    755      - supports_http3_page
    756      - supports_http3_sub
    757    telemetry_mirror: SUP_HTTP3_TCP_CONNECTION
    758    expires: never
    759 
    760  http3_open_to_first_sent:
    761    <<: *http3_tls_handshake
    762    description: >
    763      In the HTTP channel (keys: uses_http3_page, uses_http3_sub, supports_http3_page, supports_http3_sub), time from open to first byte of request
    764    labels:
    765      - uses_http3_page
    766      - uses_http3_sub
    767      - supports_http3_page
    768      - supports_http3_sub
    769    telemetry_mirror: HTTP3_OPEN_TO_FIRST_SENT
    770    expires: never
    771 
    772  http3_first_sent_to_last_received:
    773    <<: *http3_tls_handshake
    774    description: >
    775      In the HTTP channel (keys: uses_http3_page, uses_http3_sub, supports_http3_page, supports_http3_sub), time from first byte of request sent to last byte of response received
    776    labels:
    777      - uses_http3_page
    778      - uses_http3_sub
    779      - supports_http3_page
    780      - supports_http3_sub
    781    telemetry_mirror: HTTP3_FIRST_SENT_TO_LAST_RECEIVED
    782    expires: never
    783 
    784  http3_open_to_first_received:
    785    <<: *http3_tls_handshake
    786    description: >
    787      In the HTTP channel (keys: uses_http3_page, uses_http3_sub, supports_http3_page, supports_http3_sub), time from open to first byte of reply received
    788    labels:
    789      - uses_http3_page
    790      - uses_http3_sub
    791      - supports_http3_page
    792      - supports_http3_sub
    793    telemetry_mirror: HTTP3_OPEN_TO_FIRST_RECEIVED
    794    expires: never
    795 
    796  http3_complete_load:
    797    <<: *http3_tls_handshake
    798    description: >
    799      In the HTTP channel (keys: uses_http3_page, uses_http3_sub, supports_http3_page, supports_http3_sub), overall load time
    800    labels:
    801      - uses_http3_page
    802      - uses_http3_sub
    803      - supports_http3_page
    804      - supports_http3_sub
    805    telemetry_mirror: HTTP3_COMPLETE_LOAD
    806    expires: never
    807 
    808  system_channel_success_or_failure: &system_channel_success_or_failure
    809    type: labeled_counter
    810    description: >
    811      Counts the number of succeeded and failed channels with a system principal to a mozilla domain. Label contains ok or failure reason.
    812    bugs:
    813      - https://bugzilla.mozilla.org/1914129
    814    data_reviews:
    815      - https://bugzilla.mozilla.org/show_bug.cgi?id=1914129
    816    notification_emails:
    817      - necko@mozilla.com
    818      - vgosu@mozilla.com
    819    expires: never
    820    labels:
    821      - ok
    822      - offline
    823      - connectivity
    824      - dns
    825      - connect_fail
    826      - tls_fail
    827      - http_status
    828      - cancel
    829      - timeout
    830      - reset
    831      - refused
    832      - partial
    833      - other
    834 
    835  system_channel_update_status:
    836    <<: *system_channel_success_or_failure
    837    description: >
    838     Counts the status of succeeded and failed requests to aus5.mozilla.org
    839 
    840  system_channel_addonversion_status:
    841    <<: *system_channel_success_or_failure
    842    description: >
    843     Counts the status of succeeded and failed requests to *.addons.mozilla.org
    844 
    845  system_channel_addon_status:
    846    <<: *system_channel_success_or_failure
    847    description: >
    848     Counts the status of succeeded and failed requests to addons.mozilla.org
    849 
    850  system_channel_remote_settings_status:
    851    <<: *system_channel_success_or_failure
    852    description: >
    853     Counts the status of succeeded and failed requests to firefox.settings.services.mozilla.com
    854 
    855  system_channel_telemetry_status:
    856    <<: *system_channel_success_or_failure
    857    description: >
    858     Counts the status of succeeded and failed requests to incoming.telemetry.mozilla.org
    859 
    860  system_channel_other_status:
    861    <<: *system_channel_success_or_failure
    862    description: >
    863     Counts the status of succeeded and failed requests to other mozilla.org domains
    864 
    865  retried_system_channel_update_status:
    866    <<: *system_channel_success_or_failure
    867    description: >
    868     Counts the status of fallback requests to aus5.mozilla.org
    869 
    870  retried_system_channel_addonversion_status:
    871    <<: *system_channel_success_or_failure
    872    description: >
    873     Counts the status of fallback requests to *.addons.mozilla.org
    874 
    875  retried_system_channel_addon_status:
    876    <<: *system_channel_success_or_failure
    877    description: >
    878     Counts the status of fallback requests to addons.mozilla.org
    879 
    880  retried_system_channel_remote_settings_status:
    881    <<: *system_channel_success_or_failure
    882    description: >
    883     Counts the status of fallback requests to firefox.settings.services.mozilla.com
    884 
    885  retried_system_channel_telemetry_status:
    886    <<: *system_channel_success_or_failure
    887    description: >
    888     Counts the status of fallback requests to incoming.telemetry.mozilla.org
    889 
    890  retried_system_channel_other_status:
    891    <<: *system_channel_success_or_failure
    892    description: >
    893     Counts the status of fallback requests to other mozilla.org domains
    894 
    895  alpn_mismatch_count:
    896    type: labeled_counter
    897    description: >
    898      Counts the number of times we encountered a mismatched ALPN token and needed to reset the connection.
    899      Keyed by the negotiated NPN.
    900    bugs:
    901      - https://bugzil.la/1943911
    902    data_reviews:
    903      - https://bugzil.la/1943911
    904    notification_emails:
    905      - necko@mozilla.com
    906    expires: never
    907 
    908 
    909  race_cache_with_network_saved_time:
    910    type: timing_distribution
    911    description: >
    912      Time in milliseconds that we saved when we race cache with network.
    913 
    914      This metric was generated to correspond to the Legacy Telemetry
    915      exponential histogram NETWORK_RACE_CACHE_WITH_NETWORK_SAVED_TIME.
    916    time_unit: millisecond
    917    bugs:
    918      - https://bugzilla.mozilla.org/show_bug.cgi?id=1354407
    919    data_reviews:
    920      - https://bugzilla.mozilla.org/show_bug.cgi?id=1354407
    921    notification_emails:
    922      - necko@mozilla.com
    923    expires: never
    924    telemetry_mirror: NETWORK_RACE_CACHE_WITH_NETWORK_SAVED_TIME
    925 
    926  race_cache_with_network_ocec_on_start_diff:
    927    type: timing_distribution
    928    description: >
    929      Time in milliseconds between onStartRequest from the cache and
    930      onCacheEntryCheck. Report only when net wins and OCEC is before
    931      onStartRequest from net.
    932 
    933      This metric was generated to correspond to the Legacy Telemetry linear
    934      histogram NETWORK_RACE_CACHE_WITH_NETWORK_OCEC_ON_START_DIFF.
    935    time_unit: millisecond
    936    bugs:
    937      - https://bugzilla.mozilla.org/show_bug.cgi?id=1354407
    938    data_reviews:
    939      - https://bugzilla.mozilla.org/show_bug.cgi?id=1354407
    940    notification_emails:
    941      - necko@mozilla.com
    942    expires: never
    943    telemetry_mirror: NETWORK_RACE_CACHE_WITH_NETWORK_OCEC_ON_START_DIFF
    944 
    945  race_cache_bandwidth_race_network_win:
    946    type: memory_distribution
    947    description: >
    948      Amount of bytes received when we decide to race cache with network and
    949      network wins.
    950 
    951      This metric was generated to correspond to the Legacy Telemetry
    952      exponential histogram NETWORK_RACE_CACHE_BANDWIDTH_RACE_NETWORK_WIN.
    953    memory_unit: byte
    954    bugs:
    955      - https://bugzilla.mozilla.org/show_bug.cgi?id=1354405
    956    data_reviews:
    957      - https://bugzilla.mozilla.org/show_bug.cgi?id=1354405
    958    notification_emails:
    959      - necko@mozilla.com
    960    expires: never
    961    telemetry_mirror: NETWORK_RACE_CACHE_BANDWIDTH_RACE_NETWORK_WIN
    962 
    963  race_cache_bandwidth_race_cache_win:
    964    type: memory_distribution
    965    description: >
    966      Amount of bytes received when we decide to race cache with network and
    967      cache wins.
    968 
    969      This metric was generated to correspond to the Legacy Telemetry
    970      exponential histogram NETWORK_RACE_CACHE_BANDWIDTH_RACE_CACHE_WIN.
    971    memory_unit: byte
    972    bugs:
    973      - https://bugzilla.mozilla.org/show_bug.cgi?id=1354405
    974    data_reviews:
    975      - https://bugzilla.mozilla.org/show_bug.cgi?id=1354405
    976    notification_emails:
    977      - necko@mozilla.com
    978    expires: never
    979    telemetry_mirror: NETWORK_RACE_CACHE_BANDWIDTH_RACE_CACHE_WIN
    980 
    981  race_cache_validation:
    982    type: labeled_counter
    983    description: >
    984      Stats for validation requests when cache won the race.
    985 
    986      This metric was generated to correspond to the Legacy Telemetry
    987      categorical histogram NETWORK_RACE_CACHE_VALIDATION.
    988    labels:
    989      - NotSent
    990      - CachedContentUsed
    991      - CachedContentNotUsed
    992    bugs:
    993      - https://bugzilla.mozilla.org/show_bug.cgi?id=1377223
    994    data_reviews:
    995      - https://bugzilla.mozilla.org/show_bug.cgi?id=1377223
    996    notification_emails:
    997      - necko@mozilla.com
    998    expires: never
    999    telemetry_mirror: h#NETWORK_RACE_CACHE_VALIDATION
   1000 
   1001  back_pressure_suspension_rate:
   1002    type: labeled_counter
   1003    description: >
   1004      Collect whether the resource is suspended by back pressure. And split by
   1005      local-ness.
   1006 
   1007      This metric was generated to correspond to the Legacy Telemetry
   1008      categorical histogram NETWORK_BACK_PRESSURE_SUSPENSION_RATE_V2.
   1009    labels:
   1010      - Suspended
   1011      - NotSuspended
   1012      - SuspendedLocal
   1013      - NotSuspendedLocal
   1014    bugs:
   1015      - https://bugzilla.mozilla.org/show_bug.cgi?id=1280629
   1016      - https://bugzilla.mozilla.org/show_bug.cgi?id=1494133
   1017      - https://bugzilla.mozilla.org/show_bug.cgi?id=1524552
   1018      - https://bugzilla.mozilla.org/show_bug.cgi?id=1616069
   1019      - https://bugzilla.mozilla.org/show_bug.cgi?id=1668513
   1020      - https://bugzilla.mozilla.org/show_bug.cgi?id=1700824
   1021    data_reviews:
   1022      - https://bugzilla.mozilla.org/show_bug.cgi?id=1280629
   1023      - https://bugzilla.mozilla.org/show_bug.cgi?id=1494133
   1024      - https://bugzilla.mozilla.org/show_bug.cgi?id=1524552
   1025      - https://bugzilla.mozilla.org/show_bug.cgi?id=1616069
   1026      - https://bugzilla.mozilla.org/show_bug.cgi?id=1668513
   1027      - https://bugzilla.mozilla.org/show_bug.cgi?id=1700824
   1028    notification_emails:
   1029      - necko@mozilla.com
   1030    expires: never
   1031    telemetry_mirror: h#NETWORK_BACK_PRESSURE_SUSPENSION_RATE_V2
   1032 
   1033  back_pressure_suspension_cp_type:
   1034    type: custom_distribution
   1035    description: >
   1036      Collect the content policy when the resource is non-local and suspended by
   1037      back pressure (0-44 from nsContentPolicyType in nsIContentPolicy.idl).
   1038 
   1039      This metric was generated to correspond to the Legacy Telemetry enumerated
   1040      histogram NETWORK_BACK_PRESSURE_SUSPENSION_CP_TYPE.
   1041    range_min: 0
   1042    range_max: 64
   1043    bucket_count: 65
   1044    histogram_type: linear
   1045    bugs:
   1046      - https://bugzilla.mozilla.org/show_bug.cgi?id=1487559
   1047      - https://bugzilla.mozilla.org/show_bug.cgi?id=1524552
   1048      - https://bugzilla.mozilla.org/show_bug.cgi?id=1616069
   1049      - https://bugzilla.mozilla.org/show_bug.cgi?id=1668513
   1050      - https://bugzilla.mozilla.org/show_bug.cgi?id=1700824
   1051    data_reviews:
   1052      - https://bugzilla.mozilla.org/show_bug.cgi?id=1487559
   1053      - https://bugzilla.mozilla.org/show_bug.cgi?id=1524552
   1054      - https://bugzilla.mozilla.org/show_bug.cgi?id=1616069
   1055      - https://bugzilla.mozilla.org/show_bug.cgi?id=1668513
   1056      - https://bugzilla.mozilla.org/show_bug.cgi?id=1700824
   1057    notification_emails:
   1058      - necko@mozilla.com
   1059    expires: never
   1060    telemetry_mirror: NETWORK_BACK_PRESSURE_SUSPENSION_CP_TYPE
   1061 
   1062  back_pressure_suspension_delay_time:
   1063    type: timing_distribution
   1064    description: >
   1065      The delay caused by the e10s back pressure suspension(ms)
   1066 
   1067      This metric was generated to correspond to the Legacy Telemetry
   1068      exponential histogram NETWORK_BACK_PRESSURE_SUSPENSION_DELAY_TIME_MS.
   1069    time_unit: millisecond
   1070    bugs:
   1071      - https://bugzilla.mozilla.org/show_bug.cgi?id=1498434
   1072      - https://bugzilla.mozilla.org/show_bug.cgi?id=1524552
   1073      - https://bugzilla.mozilla.org/show_bug.cgi?id=1616069
   1074      - https://bugzilla.mozilla.org/show_bug.cgi?id=1668513
   1075      - https://bugzilla.mozilla.org/show_bug.cgi?id=1700824
   1076    data_reviews:
   1077      - https://bugzilla.mozilla.org/show_bug.cgi?id=1498434
   1078      - https://bugzilla.mozilla.org/show_bug.cgi?id=1524552
   1079      - https://bugzilla.mozilla.org/show_bug.cgi?id=1616069
   1080      - https://bugzilla.mozilla.org/show_bug.cgi?id=1668513
   1081      - https://bugzilla.mozilla.org/show_bug.cgi?id=1700824
   1082    notification_emails:
   1083      - necko@mozilla.com
   1084    expires: never
   1085    telemetry_mirror: NETWORK_BACK_PRESSURE_SUSPENSION_DELAY_TIME_MS
   1086 
   1087  trr_idle_close_time_h1: &trr_idle_close_time
   1088    type: labeled_timing_distribution
   1089    description: >
   1090      Time (in seconds) that it takes for an idle TRR connection to be closed by the server (HTTP/1.1)
   1091    time_unit: second
   1092    bugs:
   1093      - https://bugzilla.mozilla.org/show_bug.cgi?id=1948639
   1094    data_reviews:
   1095      - https://bugzilla.mozilla.org/show_bug.cgi?id=1948639
   1096    notification_emails:
   1097      - necko@mozilla.com
   1098    expires: never
   1099    labels:
   1100      - mozilla.cloudflare-dns.com
   1101      - firefox.dns.nextdns.io
   1102      - private.canadianshield.cira.ca
   1103      - doh.xfinity.com
   1104      - dns.shaw.ca
   1105      - dooh.cloudflare-dns.com
   1106      - mozilla.cloudflare-dns.com_2
   1107      - firefox.dns.nextdns.io_2
   1108      - private.canadianshield.cira.ca_2
   1109      - doh.xfinity.com_2
   1110      - dns.shaw.ca_2
   1111      - dooh.cloudflare-dns.com_2
   1112      - mozilla.cloudflare-dns.com_3
   1113      - firefox.dns.nextdns.io_3
   1114      - private.canadianshield.cira.ca_3
   1115      - doh.xfinity.com_3
   1116      - dns.shaw.ca_3
   1117      - dooh.cloudflare-dns.com_3
   1118 
   1119  trr_idle_close_time_h2:
   1120    <<: *trr_idle_close_time
   1121    description: >
   1122      Time (in seconds) that it takes for an idle TRR connection to be closed by the server (HTTP/2)
   1123 
   1124  trr_idle_close_time_h3:
   1125    <<: *trr_idle_close_time
   1126    description: >
   1127      Time (in seconds) that it takes for an idle TRR connection to be closed by the server (HTTP/3)
   1128 
   1129 networking:
   1130  http3_enabled:
   1131    type: boolean
   1132    description: >
   1133      True if HTTP3 is enabled at the start of a session.
   1134      This metric was generated to correspond to the Legacy Telemetry
   1135      scalar networking.http3_enabled.
   1136    bugs:
   1137      - https://bugzil.la/1652104
   1138    data_reviews:
   1139      - https://bugzil.la/1652104
   1140    notification_emails:
   1141      - necko@mozilla.com
   1142    expires: never
   1143    telemetry_mirror: NETWORKING_HTTP3_ENABLED
   1144 
   1145  https_rr_prefs_usage:
   1146    type: quantity
   1147    description: >
   1148      A bitfield representation for the usage of HTTPS RR prefs.
   1149      bit 0: network.dns.upgrade_with_https_rr is enabled or not.
   1150      bit 1: network.dns.use_https_rr_as_altsvc is enabled or not.
   1151      bit 2: network.dns.echconfig.enabled is enabled or not.
   1152      This metric was generated to correspond to the Legacy Telemetry
   1153      scalar networking.https_rr_prefs_usage.
   1154    bugs:
   1155      - https://bugzil.la/1686421
   1156    data_reviews:
   1157      - https://bugzil.la/1686421
   1158    notification_emails:
   1159      - necko@mozilla.com
   1160      - kershaw@mozilla.com
   1161    expires: never
   1162    unit: bitfield
   1163    telemetry_mirror: NETWORKING_HTTPS_RR_PREFS_USAGE
   1164 
   1165  trr_connection_cycle_count:
   1166    type: labeled_counter
   1167    description: >
   1168      Number of times we cycled the TRR connection during a subsession.
   1169      Keyed by TRR provider URL.
   1170      This metric was generated to correspond to the Legacy Telemetry
   1171      scalar networking.trr_connection_cycle_count.
   1172    bugs:
   1173      - https://bugzil.la/1737198
   1174    data_reviews:
   1175      - https://bugzil.la/1737198
   1176    notification_emails:
   1177      - necko@mozilla.com
   1178      - nhnt11@mozilla.com
   1179    expires: never
   1180    telemetry_mirror: NETWORKING_TRR_CONNECTION_CYCLE_COUNT
   1181 
   1182  data_transferred_v3_kb:
   1183    type: labeled_counter
   1184    description: >
   1185      How many KB of HTTP data transferred by type, there are some categories
   1186      separated by keys based on 5 parameters:
   1187        1. normal browsing or private browsing
   1188        2. system principal or not
   1189        3. first party or third party
   1190        4. class of service (Leader/Background/Others)
   1191        5. tracking classification (Basic/Content/FingerprintingContent)
   1192 
   1193      Available keys are:
   1194        "Y0_N1Sys",
   1195        "Y1_N1",
   1196        "Y2_N3Oth",
   1197        "Y3_N3BasicLead",
   1198        "Y4_N3BasicBg",
   1199        "Y5_N3BasicOth",
   1200        "Y6_N3ContentLead",
   1201        "Y7_N3ContentBg",
   1202        "Y8_N3ContentOth",
   1203        "Y9_N3FpLead",
   1204        "Y10_N3FpBg",
   1205        "Y11_N3FpOth",
   1206        "Y12_P1Sys",
   1207        "Y13_P1",
   1208        "Y14_P3Oth",
   1209        "Y15_P3BasicLead",
   1210        "Y16_P3BasicBg",
   1211        "Y17_P3BasicOth",
   1212        "Y18_P3ContentLead",
   1213        "Y19_P3ContentBg",
   1214        "Y20_P3ContentOth",
   1215        "Y21_P3FpLead",
   1216        "Y22_P3FpBg",
   1217        "Y23_P3FpOth"
   1218 
   1219      This metric was generated to correspond to the Legacy Telemetry
   1220      scalar networking.data_transferred_v3_kb.
   1221    bugs:
   1222      - https://bugzil.la/1533363
   1223      - https://bugzil.la/1546903
   1224      - https://bugzil.la/1546796
   1225      - https://bugzil.la/1546906
   1226      - https://bugzil.la/1550756
   1227      - https://bugzil.la/1572666
   1228      - https://bugzil.la/1590124
   1229      - https://bugzil.la/1621800
   1230      - https://bugzil.la/1668604
   1231      - https://bugzil.la/1706842
   1232    data_reviews:
   1233      - https://bugzil.la/1533363
   1234      - https://bugzil.la/1546903
   1235      - https://bugzil.la/1546796
   1236      - https://bugzil.la/1546906
   1237      - https://bugzil.la/1550756
   1238      - https://bugzil.la/1572666
   1239      - https://bugzil.la/1590124
   1240      - https://bugzil.la/1621800
   1241      - https://bugzil.la/1668604
   1242      - https://bugzil.la/1706842
   1243    notification_emails:
   1244      - arthur@mozilla.com
   1245      - tihuang@mozilla.com
   1246    expires: never
   1247    telemetry_mirror: NETWORKING_DATA_TRANSFERRED_V3_KB
   1248 
   1249  https_record_state:
   1250    type: labeled_counter
   1251    description: >
   1252      Gather the outcome of checking if a HTTPS record can be used:
   1253      - "invalid"
   1254      - "succeeded"
   1255      - "unmatched_cname"
   1256      - "all_excluded"
   1257      - "no_default_alpn"
   1258      - "others"
   1259    bugs:
   1260      - https://bugzilla.mozilla.org/show_bug.cgi?id=1931349
   1261    data_reviews:
   1262      - https://bugzilla.mozilla.org/show_bug.cgi?id=1931349
   1263    notification_emails:
   1264      - necko@mozilla.com
   1265      - kershaw@mozilla.com
   1266    expires: never
   1267    labels:
   1268      - invalid
   1269      - succeeded
   1270      - unmatched_cname
   1271      - all_excluded
   1272      - no_default_alpn
   1273      - others
   1274 
   1275  connection_address_type:
   1276    type: labeled_counter
   1277    description: Records the IP address family (IPv4 or IPv6) used when an HTTP transaction is dispatched.
   1278    bugs:
   1279      - https://bugzilla.mozilla.org/show_bug.cgi?id=1968510
   1280    data_reviews:
   1281      - https://bugzilla.mozilla.org/show_bug.cgi?id=1968510
   1282    notification_emails:
   1283      - necko@mozilla.com
   1284      - kershaw@mozilla.com
   1285    expires: never
   1286    labels:
   1287      - http_1_ipv4
   1288      - http_2_ipv4
   1289      - http_3_ipv4
   1290      - http_1_ipv6
   1291      - http_2_ipv6
   1292      - http_3_ipv6
   1293 
   1294 opaque.response.blocking:
   1295  javascript_validation_count:
   1296    type: counter
   1297    description: >
   1298      The number of times we run the JS validator.
   1299      This metric was generated to correspond to the Legacy Telemetry
   1300      scalar opaque.response.blocking.javascript_validation_count.
   1301    bugs:
   1302      - https://bugzil.la/1804638
   1303    data_reviews:
   1304      - https://bugzil.la/1804638
   1305    notification_emails:
   1306      - farre@mozilla.com
   1307    expires: never
   1308    telemetry_mirror: OPAQUE_RESPONSE_BLOCKING_JAVASCRIPT_VALIDATION_COUNT
   1309 
   1310  cross_origin_opaque_response_count:
   1311    type: counter
   1312    description: >
   1313      The number of loads of cross origin opaque resources.
   1314      This metric was generated to correspond to the Legacy Telemetry
   1315      scalar opaque.response.blocking.cross_origin_opaque_response_count.
   1316    bugs:
   1317      - https://bugzil.la/1804638
   1318    data_reviews:
   1319      - https://bugzil.la/1804638
   1320    notification_emails:
   1321      - farre@mozilla.com
   1322    expires: never
   1323    telemetry_mirror: OPAQUE_RESPONSE_BLOCKING_CROSS_ORIGIN_OPAQUE_RESPONSE_COUNT
   1324 
   1325 orb:
   1326  javascript_validation:
   1327    type: labeled_timing_distribution
   1328    description: >
   1329      Time (in ms) that it takes for a ORB JavaScript validator to complete a
   1330      validation, including IPC to the validator actor.
   1331 
   1332      This metric was generated to correspond to the Legacy Telemetry
   1333      exponential histogram ORB_JAVASCRIPT_VALIDATION_MS.
   1334    time_unit: millisecond
   1335    labels:
   1336      - javascript
   1337      - json
   1338      - other
   1339      - failure
   1340    bugs:
   1341      - https://bugzilla.mozilla.org/show_bug.cgi?id=1804638
   1342    data_reviews:
   1343      - https://bugzilla.mozilla.org/show_bug.cgi?id=1804638
   1344    notification_emails:
   1345      - farre@mozilla.com
   1346    expires: never
   1347    telemetry_mirror: ORB_JAVASCRIPT_VALIDATION_MS
   1348 
   1349  receive_data_for_validation:
   1350    type: labeled_timing_distribution
   1351    description: >
   1352      Time (in ms) that it takes to receive data for ORB JavaScript validation,
   1353      including IPC to the validator actor.
   1354 
   1355      This metric was generated to correspond to the Legacy Telemetry
   1356      exponential histogram ORB_RECEIVE_DATA_FOR_VALIDATION_MS.
   1357    time_unit: millisecond
   1358    labels:
   1359      - javascript
   1360      - json
   1361      - other
   1362      - failure
   1363    bugs:
   1364      - https://bugzilla.mozilla.org/show_bug.cgi?id=1804638
   1365    data_reviews:
   1366      - https://bugzilla.mozilla.org/show_bug.cgi?id=1804638
   1367    notification_emails:
   1368      - farre@mozilla.com
   1369    expires: never
   1370    telemetry_mirror: ORB_RECEIVE_DATA_FOR_VALIDATION_MS
   1371 
   1372  did_ever_block_response:
   1373    type: labeled_counter
   1374    description: >
   1375      If any opaque response was blocked for a given top-level window context.
   1376 
   1377      This metric was generated to correspond to the Legacy Telemetry boolean
   1378      histogram ORB_DID_EVER_BLOCK_RESPONSE.
   1379    labels:
   1380      - "false"
   1381      - "true"
   1382    bugs:
   1383      - https://bugzilla.mozilla.org/show_bug.cgi?id=1812051
   1384    data_reviews:
   1385      - https://bugzilla.mozilla.org/show_bug.cgi?id=1812051
   1386    notification_emails:
   1387      - farre@mozilla.com
   1388    expires: never
   1389    telemetry_mirror: h#ORB_DID_EVER_BLOCK_RESPONSE
   1390 
   1391  block_reason:
   1392    type: labeled_counter
   1393    description: >
   1394      The reason of why this request was blocked by ORB
   1395 
   1396      This metric was generated to correspond to the Legacy Telemetry
   1397      categorical histogram ORB_BLOCK_REASON.
   1398    labels:
   1399      - MIME_NEVER_SNIFFED
   1400      - RESP_206_BLCLISTED
   1401      - NOSNIFF_BLC_OR_TEXTP
   1402      - RESP_206_NO_FIRST
   1403      - AFTER_SNIFF_MEDIA
   1404      - AFTER_SNIFF_NOSNIFF
   1405      - AFTER_SNIFF_STA_CODE
   1406      - AFTER_SNIFF_CT_FAIL
   1407      - MEDIA_NOT_INITIAL
   1408      - MEDIA_INCORRECT_RESP
   1409      - JS_VALIDATION_FAILED
   1410    bugs:
   1411      - https://bugzilla.mozilla.org/show_bug.cgi?id=1833216
   1412    data_reviews:
   1413      - https://bugzilla.mozilla.org/show_bug.cgi?id=1833216
   1414    notification_emails:
   1415      - sefeng@mozilla.com
   1416      - afarre@mozilla.com
   1417    expires: never
   1418    telemetry_mirror: h#ORB_BLOCK_REASON
   1419 
   1420  block_initiator:
   1421    type: labeled_counter
   1422    description: >
   1423      The initiator of this ORB blocked request.
   1424 
   1425      This metric was generated to correspond to the Legacy Telemetry
   1426      categorical histogram ORB_BLOCK_INITIATOR.
   1427    labels:
   1428      - INVALID
   1429      - OTHER
   1430      - FILTERED_FETCH
   1431      - BLOCKED_FETCH
   1432      - JSON
   1433      - SCRIPT
   1434      - IMAGE
   1435      - STYLESHEET
   1436      - XMLHTTPREQUEST
   1437      - DTD
   1438      - FONT
   1439      - MEDIA
   1440      - CSP_REPORT
   1441      - XSLT
   1442      - IMAGESET
   1443      - WEB_MANIFEST
   1444      - SPECULATIVE
   1445      - UA_FONT
   1446      - PROXIED_WEBRTC_MEDIA
   1447      - PING
   1448      - BEACON
   1449      - WEB_TRANSPORT
   1450      - EXCLUDED
   1451    bugs:
   1452      - https://bugzilla.mozilla.org/show_bug.cgi?id=1833216
   1453    data_reviews:
   1454      - https://bugzilla.mozilla.org/show_bug.cgi?id=1833216
   1455    notification_emails:
   1456      - sefeng@mozilla.com
   1457      - afarre@mozilla.com
   1458    expires: never
   1459    telemetry_mirror: h#ORB_BLOCK_INITIATOR
   1460 
   1461 spdy:
   1462  parallel_streams:
   1463    type: custom_distribution
   1464    description: >
   1465      SPDY: Streams concurrent active per connection
   1466 
   1467      This metric was generated to correspond to the Legacy Telemetry
   1468      exponential histogram SPDY_PARALLEL_STREAMS.
   1469    range_min: 1
   1470    range_max: 1000
   1471    bucket_count: 50
   1472    histogram_type: exponential
   1473    bugs:
   1474      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1475    data_reviews:
   1476      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1477    notification_emails:
   1478      - necko@mozilla.com
   1479    expires: never
   1480    telemetry_mirror: SPDY_PARALLEL_STREAMS
   1481 
   1482  request_per_conn:
   1483    type: custom_distribution
   1484    description: >
   1485      SPDY: Streams created per connection
   1486 
   1487      This metric was generated to correspond to the Legacy Telemetry
   1488      exponential histogram SPDY_REQUEST_PER_CONN_3.
   1489    range_min: 1
   1490    range_max: 1000
   1491    bucket_count: 50
   1492    histogram_type: exponential
   1493    unit: streams
   1494    bugs:
   1495      - https://bugzilla.mozilla.org/show_bug.cgi?id=1505500
   1496      - https://bugzilla.mozilla.org/show_bug.cgi?id=1642559
   1497    data_reviews:
   1498      - https://bugzilla.mozilla.org/show_bug.cgi?id=1505500
   1499      - https://bugzilla.mozilla.org/show_bug.cgi?id=1642559
   1500    notification_emails:
   1501      - necko@mozilla.com
   1502    expires: never
   1503    telemetry_mirror: SPDY_REQUEST_PER_CONN_3
   1504 
   1505  server_initiated_streams:
   1506    type: custom_distribution
   1507    description: >
   1508      SPDY: Streams received per connection
   1509 
   1510      This metric was generated to correspond to the Legacy Telemetry
   1511      exponential histogram SPDY_SERVER_INITIATED_STREAMS.
   1512    range_min: 1
   1513    range_max: 100000
   1514    bucket_count: 100
   1515    histogram_type: exponential
   1516    bugs:
   1517      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1518    data_reviews:
   1519      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1520    notification_emails:
   1521      - necko@mozilla.com
   1522    expires: never
   1523    telemetry_mirror: SPDY_SERVER_INITIATED_STREAMS
   1524 
   1525 
   1526 
   1527 
   1528 
   1529 
   1530  kbread_per_conn:
   1531    type: memory_distribution
   1532    description: >
   1533      SPDY: KB read per connection
   1534 
   1535      This metric was generated to correspond to the Legacy Telemetry
   1536      exponential histogram SPDY_KBREAD_PER_CONN2.
   1537    memory_unit: kilobyte
   1538    bugs:
   1539      - https://bugzilla.mozilla.org/show_bug.cgi?id=1520260
   1540    data_reviews:
   1541      - https://bugzilla.mozilla.org/show_bug.cgi?id=1520260
   1542    notification_emails:
   1543      - necko@mozilla.com
   1544    expires: never
   1545    telemetry_mirror: SPDY_KBREAD_PER_CONN2
   1546 
   1547  settings_max_streams:
   1548    type: custom_distribution
   1549    description: >
   1550      H2: Settings Max Streams parameter
   1551 
   1552      This metric was generated to correspond to the Legacy Telemetry
   1553      exponential histogram SPDY_SETTINGS_MAX_STREAMS.
   1554    range_min: 1
   1555    range_max: 5000
   1556    bucket_count: 100
   1557    histogram_type: exponential
   1558    bugs:
   1559      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1560    data_reviews:
   1561      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1562    notification_emails:
   1563      - necko@mozilla.com
   1564    expires: never
   1565    telemetry_mirror: SPDY_SETTINGS_MAX_STREAMS
   1566 
   1567  goaway_local:
   1568    type: custom_distribution
   1569    description: >
   1570      H2: goaway reason client sent from rfc 7540. 31 is none sent.
   1571 
   1572      This metric was generated to correspond to the Legacy Telemetry enumerated
   1573      histogram SPDY_GOAWAY_LOCAL.
   1574    range_min: 0
   1575    range_max: 32
   1576    bucket_count: 33
   1577    histogram_type: linear
   1578    bugs:
   1579      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1580    data_reviews:
   1581      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1582    notification_emails:
   1583      - necko@mozilla.com
   1584    expires: never
   1585    telemetry_mirror: SPDY_GOAWAY_LOCAL
   1586 
   1587  goaway_peer:
   1588    type: custom_distribution
   1589    description: >
   1590      H2: goaway reason from peer from rfc 7540. 31 is none received.
   1591 
   1592      This metric was generated to correspond to the Legacy Telemetry enumerated
   1593      histogram SPDY_GOAWAY_PEER.
   1594    range_min: 0
   1595    range_max: 32
   1596    bucket_count: 33
   1597    histogram_type: linear
   1598    bugs:
   1599      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1600    data_reviews:
   1601      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1602    notification_emails:
   1603      - necko@mozilla.com
   1604    expires: never
   1605    telemetry_mirror: SPDY_GOAWAY_PEER
   1606 
   1607  continued_headers:
   1608    type: memory_distribution
   1609    description: >
   1610      Size of continued H2 headers in bytes.
   1611 
   1612      This metric was generated to correspond to the Legacy Telemetry
   1613      exponential histogram SPDY_CONTINUED_HEADERS.
   1614    memory_unit: byte
   1615    bugs:
   1616      - https://bugzilla.mozilla.org/show_bug.cgi?id=1324855
   1617    data_reviews:
   1618      - https://bugzilla.mozilla.org/show_bug.cgi?id=1324855
   1619    notification_emails:
   1620      - necko@mozilla.com
   1621    expires: never
   1622    telemetry_mirror: SPDY_CONTINUED_HEADERS
   1623 
   1624 http:
   1625  subitem_open_latency_time:
   1626    type: timing_distribution
   1627    description: >
   1628      HTTP subitem channel: Page start -> subitem open() (ms)
   1629 
   1630      This metric was generated to correspond to the Legacy Telemetry
   1631      exponential histogram HTTP_SUBITEM_OPEN_LATENCY_TIME.
   1632    time_unit: millisecond
   1633    bugs:
   1634      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1635    data_reviews:
   1636      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1637    notification_emails:
   1638      - necko@mozilla.com
   1639    expires: never
   1640    telemetry_mirror: HTTP_SUBITEM_OPEN_LATENCY_TIME
   1641 
   1642  subitem_first_byte_latency_time:
   1643    type: timing_distribution
   1644    description: >
   1645      HTTP subitem channel: Page start -> first byte received for subitem reply
   1646      (ms)
   1647 
   1648      This metric was generated to correspond to the Legacy Telemetry
   1649      exponential histogram HTTP_SUBITEM_FIRST_BYTE_LATENCY_TIME.
   1650    time_unit: millisecond
   1651    bugs:
   1652      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1653    data_reviews:
   1654      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1655    notification_emails:
   1656      - necko@mozilla.com
   1657    expires: never
   1658    telemetry_mirror: HTTP_SUBITEM_FIRST_BYTE_LATENCY_TIME
   1659 
   1660  request_per_page:
   1661    type: custom_distribution
   1662    description: >
   1663      HTTP: Requests per page (count)
   1664 
   1665      This metric was generated to correspond to the Legacy Telemetry
   1666      exponential histogram HTTP_REQUEST_PER_PAGE.
   1667    range_min: 1
   1668    range_max: 1000
   1669    bucket_count: 50
   1670    histogram_type: exponential
   1671    bugs:
   1672      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1673    data_reviews:
   1674      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1675    notification_emails:
   1676      - necko@mozilla.com
   1677    expires: never
   1678    telemetry_mirror: HTTP_REQUEST_PER_PAGE
   1679 
   1680  request_per_page_from_cache:
   1681    type: custom_distribution
   1682    description: >
   1683      HTTP: Requests serviced from cache (%)
   1684 
   1685      This metric was generated to correspond to the Legacy Telemetry enumerated
   1686      histogram HTTP_REQUEST_PER_PAGE_FROM_CACHE.
   1687    range_min: 0
   1688    range_max: 101
   1689    bucket_count: 102
   1690    histogram_type: linear
   1691    bugs:
   1692      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1693    data_reviews:
   1694      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1695    notification_emails:
   1696      - necko@mozilla.com
   1697    expires: never
   1698    telemetry_mirror: HTTP_REQUEST_PER_PAGE_FROM_CACHE
   1699 
   1700  request_per_conn:
   1701    type: custom_distribution
   1702    description: >
   1703      HTTP: requests per connection
   1704 
   1705      This metric was generated to correspond to the Legacy Telemetry
   1706      exponential histogram HTTP_REQUEST_PER_CONN.
   1707    range_min: 1
   1708    range_max: 1000
   1709    bucket_count: 50
   1710    histogram_type: exponential
   1711    bugs:
   1712      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1713    data_reviews:
   1714      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1715    notification_emails:
   1716      - necko@mozilla.com
   1717    expires: never
   1718    telemetry_mirror: HTTP_REQUEST_PER_CONN
   1719 
   1720  kbread_per_conn2:
   1721    type: memory_distribution
   1722    description: >
   1723      HTTP: KB read per connection
   1724 
   1725      This metric was generated to correspond to the Legacy Telemetry
   1726      exponential histogram HTTP_KBREAD_PER_CONN2.
   1727    memory_unit: kilobyte
   1728    bugs:
   1729      - https://bugzilla.mozilla.org/show_bug.cgi?id=1520260
   1730    data_reviews:
   1731      - https://bugzilla.mozilla.org/show_bug.cgi?id=1520260
   1732    notification_emails:
   1733      - necko@mozilla.com
   1734    expires: never
   1735    telemetry_mirror: HTTP_KBREAD_PER_CONN2
   1736 
   1737  transaction_is_ssl:
   1738    type: labeled_counter
   1739    description: >
   1740      Whether an HTTP request occurred over TLS/SSL or not. Recorded during
   1741      response processing for all requests.
   1742 
   1743      This metric was generated to correspond to the Legacy Telemetry boolean
   1744      histogram HTTP_TRANSACTION_IS_SSL.
   1745    labels:
   1746      - "false"
   1747      - "true"
   1748    bugs:
   1749      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340021
   1750    data_reviews:
   1751      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340021
   1752    notification_emails:
   1753      - seceng-telemetry@mozilla.com
   1754    expires: never
   1755    telemetry_mirror: h#HTTP_TRANSACTION_IS_SSL
   1756 
   1757  pageload_is_ssl:
   1758    type: labeled_counter
   1759    description: >
   1760      Whether a HTTP page load was over SSL or not. Recorded during response
   1761      processing for all first-party page loads.
   1762 
   1763      This metric was generated to correspond to the Legacy Telemetry boolean
   1764      histogram HTTP_PAGELOAD_IS_SSL.
   1765    labels:
   1766      - "false"
   1767      - "true"
   1768    bugs:
   1769      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340021
   1770    data_reviews:
   1771      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340021
   1772    notification_emails:
   1773      - seceng-telemetry@mozilla.com
   1774    expires: never
   1775    telemetry_mirror: h#HTTP_PAGELOAD_IS_SSL
   1776 
   1777  transaction_use_altsvc:
   1778    type: labeled_counter
   1779    description: >
   1780      Whether a HTTP transaction was routed via Alt-Svc or not.
   1781 
   1782      This metric was generated to correspond to the Legacy Telemetry boolean
   1783      histogram HTTP_TRANSACTION_USE_ALTSVC.
   1784    labels:
   1785      - "false"
   1786      - "true"
   1787    bugs:
   1788      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1789    data_reviews:
   1790      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1791    notification_emails:
   1792      - necko@mozilla.com
   1793    expires: never
   1794    telemetry_mirror: h#HTTP_TRANSACTION_USE_ALTSVC
   1795 
   1796 
   1797  altsvc_mapping_changed_target:
   1798    type: labeled_counter
   1799    description: >
   1800      Whether or not a new alt-svc mapping would change the target hostname of
   1801      the existing mapping
   1802 
   1803      This metric was generated to correspond to the Legacy Telemetry boolean
   1804      histogram HTTP_ALTSVC_MAPPING_CHANGED_TARGET.
   1805    labels:
   1806      - "false"
   1807      - "true"
   1808    bugs:
   1809      - https://bugzilla.mozilla.org/show_bug.cgi?id=1499149
   1810    data_reviews:
   1811      - https://bugzilla.mozilla.org/show_bug.cgi?id=1499149
   1812    notification_emails:
   1813      - necko@mozilla.com
   1814    expires: never
   1815    telemetry_mirror: h#HTTP_ALTSVC_MAPPING_CHANGED_TARGET
   1816 
   1817  response_version:
   1818    type: custom_distribution
   1819    description: >
   1820      HTTP: Protocol Version Used on Response from nsHttp.h
   1821 
   1822      This metric was generated to correspond to the Legacy Telemetry enumerated
   1823      histogram HTTP_RESPONSE_VERSION.
   1824    range_min: 0
   1825    range_max: 48
   1826    bucket_count: 49
   1827    histogram_type: linear
   1828    bugs:
   1829      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1830    data_reviews:
   1831      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1832    notification_emails:
   1833      - necko@mozilla.com
   1834    expires: never
   1835    telemetry_mirror: HTTP_RESPONSE_VERSION
   1836 
   1837  channel_disposition:
   1838    type: custom_distribution
   1839    description: >
   1840      Channel Disposition: 0=Cancel, 1=Disk, 2=NetOK, 3=NetEarlyFail,
   1841      4=NetlateFail, +8 for HTTPS
   1842 
   1843      This metric was generated to correspond to the Legacy Telemetry enumerated
   1844      histogram HTTP_CHANNEL_DISPOSITION.
   1845    range_min: 0
   1846    range_max: 16
   1847    bucket_count: 17
   1848    histogram_type: linear
   1849    bugs:
   1850      - https://bugzilla.mozilla.org/show_bug.cgi?id=1341128
   1851    data_reviews:
   1852      - https://bugzilla.mozilla.org/show_bug.cgi?id=1341128
   1853    notification_emails:
   1854      - necko@mozilla.com
   1855    expires: never
   1856    telemetry_mirror: HTTP_CHANNEL_DISPOSITION
   1857 
   1858  channel_onstart_success:
   1859    type: labeled_counter
   1860    description: >
   1861      Successfully started HTTP channels
   1862 
   1863      This metric was generated to correspond to the Legacy Telemetry boolean
   1864      histogram HTTP_CHANNEL_ONSTART_SUCCESS.
   1865    labels:
   1866      - "false"
   1867      - "true"
   1868    bugs:
   1869      - https://bugzilla.mozilla.org/show_bug.cgi?id=1473333
   1870      - https://bugzilla.mozilla.org/show_bug.cgi?id=1587226
   1871    data_reviews:
   1872      - https://bugzilla.mozilla.org/show_bug.cgi?id=1473333
   1873      - https://bugzilla.mozilla.org/show_bug.cgi?id=1587226
   1874    notification_emails:
   1875      - necko@mozilla.com
   1876    expires: never
   1877    telemetry_mirror: h#HTTP_CHANNEL_ONSTART_SUCCESS
   1878 
   1879  channel_page_onstart_success_trr:
   1880    type: labeled_custom_distribution
   1881    description: >
   1882      Successfully started HTTP channels for page loading when TRR is enabled;
   1883      Keyed by TRR domain
   1884 
   1885      This metric was generated to correspond to the Legacy Telemetry enumerated
   1886      histogram HTTP_CHANNEL_PAGE_ONSTART_SUCCESS_TRR3.
   1887    range_min: 0
   1888    range_max: 16
   1889    bucket_count: 17
   1890    histogram_type: linear
   1891    bugs:
   1892      - https://bugzilla.mozilla.org/show_bug.cgi?id=1767417
   1893    data_reviews:
   1894      - https://bugzilla.mozilla.org/show_bug.cgi?id=1767417
   1895    notification_emails:
   1896      - necko@mozilla.com
   1897      - kershaw@mozilla.com
   1898    expires: never
   1899    telemetry_mirror: HTTP_CHANNEL_PAGE_ONSTART_SUCCESS_TRR3
   1900 
   1901  channel_sub_onstart_success_trr:
   1902    type: labeled_custom_distribution
   1903    description: >
   1904      Successfully started HTTP channels for resource loading when TRR is
   1905      enabled; Keyed by TRR domain
   1906 
   1907      This metric was generated to correspond to the Legacy Telemetry enumerated
   1908      histogram HTTP_CHANNEL_SUB_ONSTART_SUCCESS_TRR3.
   1909    range_min: 0
   1910    range_max: 16
   1911    bucket_count: 17
   1912    histogram_type: linear
   1913    bugs:
   1914      - https://bugzilla.mozilla.org/show_bug.cgi?id=1767417
   1915    data_reviews:
   1916      - https://bugzilla.mozilla.org/show_bug.cgi?id=1767417
   1917    notification_emails:
   1918      - necko@mozilla.com
   1919      - kershaw@mozilla.com
   1920    expires: never
   1921    telemetry_mirror: HTTP_CHANNEL_SUB_ONSTART_SUCCESS_TRR3
   1922 
   1923  connection_entry_cache_hit:
   1924    type: labeled_counter
   1925    description: >
   1926      Fraction of sockets that used a nsConnectionEntry with history - size 300.
   1927 
   1928      This metric was generated to correspond to the Legacy Telemetry boolean
   1929      histogram HTTP_CONNECTION_ENTRY_CACHE_HIT_1.
   1930    labels:
   1931      - "false"
   1932      - "true"
   1933    bugs:
   1934      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1935    data_reviews:
   1936      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1937    notification_emails:
   1938      - necko@mozilla.com
   1939    expires: never
   1940    telemetry_mirror: h#HTTP_CONNECTION_ENTRY_CACHE_HIT_1
   1941 
   1942 
   1943  content_encoding:
   1944    type: custom_distribution
   1945    description: >
   1946      encoding removed: 0=unknown, 1=gzip, 2=deflate, 3=brotli, 4=zstd
   1947 
   1948      This metric was generated to correspond to the Legacy Telemetry enumerated
   1949      histogram HTTP_CONTENT_ENCODING.
   1950    range_min: 0
   1951    range_max: 6
   1952    bucket_count: 7
   1953    histogram_type: linear
   1954    bugs:
   1955      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1956    data_reviews:
   1957      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
   1958    notification_emails:
   1959      - necko@mozilla.com
   1960    expires: never
   1961    telemetry_mirror: HTTP_CONTENT_ENCODING
   1962 
   1963  connection_close_reason:
   1964    type: labeled_custom_distribution
   1965    description: >
   1966      Reason for HTTP connection closure, keyed by properties like HTTP version
   1967      and connection state.
   1968 
   1969      This metric was generated to correspond to the Legacy Telemetry enumerated
   1970      histogram HTTP_CONNECTION_CLOSE_REASON.
   1971    range_min: 0
   1972    range_max: 50
   1973    bucket_count: 51
   1974    histogram_type: linear
   1975    bugs:
   1976      - https://bugzilla.mozilla.org/show_bug.cgi?id=1784261
   1977    data_reviews:
   1978      - https://bugzilla.mozilla.org/show_bug.cgi?id=1784261
   1979    notification_emails:
   1980      - necko@mozilla.com
   1981      - kershaw@mozilla.com
   1982    expires: never
   1983    telemetry_mirror: HTTP_CONNECTION_CLOSE_REASON
   1984 
   1985  transaction_restart_reason:
   1986    type: custom_distribution
   1987    description: >
   1988      The reason why a HTTP transaction is restarted.
   1989 
   1990      This metric was generated to correspond to the Legacy Telemetry enumerated
   1991      histogram HTTP_TRANSACTION_RESTART_REASON.
   1992    range_min: 0
   1993    range_max: 50
   1994    bucket_count: 51
   1995    histogram_type: linear
   1996    bugs:
   1997      - https://bugzilla.mozilla.org/show_bug.cgi?id=1667775
   1998    data_reviews:
   1999      - https://bugzilla.mozilla.org/show_bug.cgi?id=1667775
   2000    notification_emails:
   2001      - necko@mozilla.com
   2002      - kershaw@mozilla.com
   2003    expires: never
   2004    telemetry_mirror: HTTP_TRANSACTION_RESTART_REASON
   2005 
   2006  transaction_ech_retry_with_ech_count:
   2007    type: custom_distribution
   2008    description: >
   2009      When echConfig is enabled, number of times a transaction is retried
   2010      because of SSL_ERROR_ECH_RETRY_WITH_ECH
   2011 
   2012      This metric was generated to correspond to the Legacy Telemetry
   2013      exponential histogram TRANSACTION_ECH_RETRY_WITH_ECH_COUNT.
   2014    range_min: 1
   2015    range_max: 1000
   2016    bucket_count: 50
   2017    histogram_type: exponential
   2018    bugs:
   2019      - https://bugzilla.mozilla.org/show_bug.cgi?id=1671886
   2020    data_reviews:
   2021      - https://bugzilla.mozilla.org/show_bug.cgi?id=1671886
   2022    notification_emails:
   2023      - necko@mozilla.com
   2024      - kershaw@mozilla.com
   2025    expires: never
   2026    telemetry_mirror: TRANSACTION_ECH_RETRY_WITH_ECH_COUNT
   2027 
   2028  transaction_ech_retry_without_ech_count:
   2029    type: custom_distribution
   2030    description: >
   2031      When echConfig is enabled, number of times a transaction is retried
   2032      because of SSL_ERROR_ECH_RETRY_WITHOUT_ECH
   2033 
   2034      This metric was generated to correspond to the Legacy Telemetry
   2035      exponential histogram TRANSACTION_ECH_RETRY_WITHOUT_ECH_COUNT.
   2036    range_min: 1
   2037    range_max: 1000
   2038    bucket_count: 50
   2039    histogram_type: exponential
   2040    bugs:
   2041      - https://bugzilla.mozilla.org/show_bug.cgi?id=1671886
   2042    data_reviews:
   2043      - https://bugzilla.mozilla.org/show_bug.cgi?id=1671886
   2044    notification_emails:
   2045      - necko@mozilla.com
   2046      - kershaw@mozilla.com
   2047    expires: never
   2048    telemetry_mirror: TRANSACTION_ECH_RETRY_WITHOUT_ECH_COUNT
   2049 
   2050  transaction_ech_retry_ech_failed_count:
   2051    type: custom_distribution
   2052    description: >
   2053      When echConfig is enabled, number of times a transaction is retried
   2054      because of SSL_ERROR_ECH_FAILED
   2055 
   2056      This metric was generated to correspond to the Legacy Telemetry
   2057      exponential histogram TRANSACTION_ECH_RETRY_ECH_FAILED_COUNT.
   2058    range_min: 1
   2059    range_max: 1000
   2060    bucket_count: 50
   2061    histogram_type: exponential
   2062    bugs:
   2063      - https://bugzilla.mozilla.org/show_bug.cgi?id=1671886
   2064    data_reviews:
   2065      - https://bugzilla.mozilla.org/show_bug.cgi?id=1671886
   2066    notification_emails:
   2067      - necko@mozilla.com
   2068      - kershaw@mozilla.com
   2069    expires: never
   2070    telemetry_mirror: TRANSACTION_ECH_RETRY_ECH_FAILED_COUNT
   2071 
   2072  transaction_ech_retry_others_count:
   2073    type: custom_distribution
   2074    description: >
   2075      When echConfig is enabled, number of times a transaction is retried
   2076      because of other error
   2077 
   2078      This metric was generated to correspond to the Legacy Telemetry
   2079      exponential histogram TRANSACTION_ECH_RETRY_OTHERS_COUNT.
   2080    range_min: 1
   2081    range_max: 1000
   2082    bucket_count: 50
   2083    histogram_type: exponential
   2084    bugs:
   2085      - https://bugzilla.mozilla.org/show_bug.cgi?id=1671886
   2086    data_reviews:
   2087      - https://bugzilla.mozilla.org/show_bug.cgi?id=1671886
   2088    notification_emails:
   2089      - necko@mozilla.com
   2090      - kershaw@mozilla.com
   2091    expires: never
   2092    telemetry_mirror: TRANSACTION_ECH_RETRY_OTHERS_COUNT
   2093 
   2094  transaction_wait_time_http:
   2095    type: timing_distribution
   2096    description: >
   2097      Time from submission to dispatch of HTTP transaction (ms)
   2098 
   2099      This metric was generated to correspond to the Legacy Telemetry
   2100      exponential histogram TRANSACTION_WAIT_TIME_HTTP.
   2101    time_unit: millisecond
   2102    bugs:
   2103      - https://bugzilla.mozilla.org/show_bug.cgi?id=1605099
   2104    data_reviews:
   2105      - https://bugzilla.mozilla.org/show_bug.cgi?id=1605099
   2106    notification_emails:
   2107      - necko@mozilla.com
   2108    expires: never
   2109    telemetry_mirror: TRANSACTION_WAIT_TIME_HTTP
   2110 
   2111  transaction_wait_time_spdy:
   2112    type: timing_distribution
   2113    description: >
   2114      Time from submission to dispatch of SPDY transaction (ms)
   2115 
   2116      This metric was generated to correspond to the Legacy Telemetry
   2117      exponential histogram TRANSACTION_WAIT_TIME_SPDY.
   2118    time_unit: millisecond
   2119    bugs:
   2120      - https://bugzilla.mozilla.org/show_bug.cgi?id=1605099
   2121    data_reviews:
   2122      - https://bugzilla.mozilla.org/show_bug.cgi?id=1605099
   2123    notification_emails:
   2124      - necko@mozilla.com
   2125    expires: never
   2126    telemetry_mirror: TRANSACTION_WAIT_TIME_SPDY
   2127 
   2128  transaction_wait_time_http3:
   2129    type: timing_distribution
   2130    description: >
   2131      Time from submission to dispatch of HTTP/3 transaction (ms)
   2132 
   2133      This metric was generated to correspond to the Legacy Telemetry
   2134      exponential histogram TRANSACTION_WAIT_TIME_HTTP3.
   2135    time_unit: millisecond
   2136    bugs:
   2137      - https://bugzilla.mozilla.org/show_bug.cgi?id=1605099
   2138    data_reviews:
   2139      - https://bugzilla.mozilla.org/show_bug.cgi?id=1605099
   2140    notification_emails:
   2141      - necko@mozilla.com
   2142    expires: never
   2143    telemetry_mirror: TRANSACTION_WAIT_TIME_HTTP3
   2144 
   2145  transaction_wait_time_http2_sup_http3:
   2146    type: timing_distribution
   2147    description: >
   2148      Time from submission to dispatch of HTTP2 transaction that has received a
   2149      respone from a server that addretizes HTTP3 support (ms)
   2150 
   2151      This metric was generated to correspond to the Legacy Telemetry
   2152      exponential histogram TRANSACTION_WAIT_TIME_HTTP2_SUP_HTTP3.
   2153    time_unit: millisecond
   2154    bugs:
   2155      - https://bugzilla.mozilla.org/show_bug.cgi?id=1675500
   2156    data_reviews:
   2157      - https://bugzilla.mozilla.org/show_bug.cgi?id=1675500
   2158    notification_emails:
   2159      - necko@mozilla.com
   2160    expires: never
   2161    telemetry_mirror: TRANSACTION_WAIT_TIME_HTTP2_SUP_HTTP3
   2162 
   2163  tls_early_data_negotiated:
   2164    type: custom_distribution
   2165    description: >
   2166      Sending TLS early data was possible: 0 - not possible, 1 - possible but
   2167      not used, 2 - possible and used.
   2168 
   2169      This metric was generated to correspond to the Legacy Telemetry enumerated
   2170      histogram TLS_EARLY_DATA_NEGOTIATED.
   2171    range_min: 0
   2172    range_max: 3
   2173    bucket_count: 4
   2174    histogram_type: linear
   2175    bugs:
   2176      - https://bugzilla.mozilla.org/show_bug.cgi?id=1296288
   2177      - https://bugzilla.mozilla.org/show_bug.cgi?id=1654309
   2178      - https://bugzilla.mozilla.org/show_bug.cgi?id=1749881
   2179    data_reviews:
   2180      - https://bugzilla.mozilla.org/show_bug.cgi?id=1296288
   2181      - https://bugzilla.mozilla.org/show_bug.cgi?id=1654309
   2182      - https://bugzilla.mozilla.org/show_bug.cgi?id=1749881
   2183    notification_emails:
   2184      - necko@mozilla.com
   2185      - vgosu@mozilla.com
   2186    expires: never
   2187    telemetry_mirror: TLS_EARLY_DATA_NEGOTIATED
   2188 
   2189  tls_early_data_accepted:
   2190    type: labeled_counter
   2191    description: >
   2192      TLS early data was used and it was accepted (true) or rejected (false) by
   2193      the remote host.
   2194 
   2195      This metric was generated to correspond to the Legacy Telemetry boolean
   2196      histogram TLS_EARLY_DATA_ACCEPTED.
   2197    labels:
   2198      - "false"
   2199      - "true"
   2200    bugs:
   2201      - https://bugzilla.mozilla.org/show_bug.cgi?id=1296288
   2202      - https://bugzilla.mozilla.org/show_bug.cgi?id=1654309
   2203      - https://bugzilla.mozilla.org/show_bug.cgi?id=1749881
   2204    data_reviews:
   2205      - https://bugzilla.mozilla.org/show_bug.cgi?id=1296288
   2206      - https://bugzilla.mozilla.org/show_bug.cgi?id=1654309
   2207      - https://bugzilla.mozilla.org/show_bug.cgi?id=1749881
   2208    notification_emails:
   2209      - necko@mozilla.com
   2210      - vgosu@mozilla.com
   2211    expires: never
   2212    telemetry_mirror: h#TLS_EARLY_DATA_ACCEPTED
   2213 
   2214  http2_fail_before_settings:
   2215    type: labeled_counter
   2216    description: >
   2217      Whether an HTTP/2 session failed because the peer did not handshake
   2218      properly
   2219 
   2220      This metric was generated to correspond to the Legacy Telemetry boolean
   2221      histogram HTTP2_FAIL_BEFORE_SETTINGS.
   2222    labels:
   2223      - "false"
   2224      - "true"
   2225    bugs:
   2226      - https://bugzilla.mozilla.org/show_bug.cgi?id=1050329
   2227    data_reviews:
   2228      - https://bugzilla.mozilla.org/show_bug.cgi?id=1050329
   2229    notification_emails:
   2230      - necko@mozilla.com
   2231    expires: never
   2232    telemetry_mirror: h#HTTP2_FAIL_BEFORE_SETTINGS
   2233 
   2234  cache_lm_inconsistent:
   2235    type: labeled_counter
   2236    description: >
   2237      Cache discovered inconsistent last-modified entry
   2238 
   2239      This metric was generated to correspond to the Legacy Telemetry boolean
   2240      histogram CACHE_LM_INCONSISTENT.
   2241    labels:
   2242      - "false"
   2243      - "true"
   2244    bugs:
   2245      - https://bugzilla.mozilla.org/show_bug.cgi?id=1956726
   2246    data_reviews:
   2247      - https://bugzilla.mozilla.org/show_bug.cgi?id=1956726
   2248    notification_emails:
   2249      - necko@mozilla.com
   2250    expires: never
   2251    telemetry_mirror: h#CACHE_LM_INCONSISTENT
   2252 
   2253  dnt_usage:
   2254    type: custom_distribution
   2255    description: >
   2256      I want to be tracked, I do NOT want to be tracked, DNT unset
   2257 
   2258      This metric was generated to correspond to the Legacy Telemetry enumerated
   2259      histogram DNT_USAGE.
   2260    range_min: 0
   2261    range_max: 3
   2262    bucket_count: 4
   2263    histogram_type: linear
   2264    bugs:
   2265      - https://bugzilla.mozilla.org/show_bug.cgi?id=1956726
   2266    data_reviews:
   2267      - https://bugzilla.mozilla.org/show_bug.cgi?id=1956726
   2268    notification_emails:
   2269      - necko@mozilla.com
   2270    expires: never
   2271    telemetry_mirror: DNT_USAGE
   2272 
   2273  dns_httpssvc_record_receiving_stage:
   2274    type: custom_distribution
   2275    description: >
   2276      Record at which stage an HTTPSSVC record is received
   2277 
   2278      This metric was generated to correspond to the Legacy Telemetry enumerated
   2279      histogram DNS_HTTPSSVC_RECORD_RECEIVING_STAGE.
   2280    range_min: 0
   2281    range_max: 50
   2282    bucket_count: 51
   2283    histogram_type: linear
   2284    bugs:
   2285      - https://bugzilla.mozilla.org/show_bug.cgi?id=1652667
   2286    data_reviews:
   2287      - https://bugzilla.mozilla.org/show_bug.cgi?id=1652667
   2288    notification_emails:
   2289      - necko@mozilla.com
   2290      - kershaw@mozilla.com
   2291    expires: never
   2292    telemetry_mirror: DNS_HTTPSSVC_RECORD_RECEIVING_STAGE
   2293 
   2294  dns_httpssvc_connection_failed_reason:
   2295    type: custom_distribution
   2296    description: >
   2297      The reason why we failed to connect with an HTTPSSVC record
   2298 
   2299      This metric was generated to correspond to the Legacy Telemetry enumerated
   2300      histogram DNS_HTTPSSVC_CONNECTION_FAILED_REASON.
   2301    range_min: 0
   2302    range_max: 50
   2303    bucket_count: 51
   2304    histogram_type: linear
   2305    bugs:
   2306      - https://bugzilla.mozilla.org/show_bug.cgi?id=1652667
   2307    data_reviews:
   2308      - https://bugzilla.mozilla.org/show_bug.cgi?id=1652667
   2309    notification_emails:
   2310      - necko@mozilla.com
   2311      - kershaw@mozilla.com
   2312    expires: never
   2313    telemetry_mirror: DNS_HTTPSSVC_CONNECTION_FAILED_REASON
   2314 
   2315  script_block_incorrect_mime:
   2316    type: labeled_counter
   2317    description: >
   2318      Whether the script load has a MIME type of ...?  (unknown, javaScript,
   2319      image, audio, video, text_plain, text_csv, text_xml, app_octet_stream,
   2320      app_xml, app_json, text_json, text_html, empty). Whether the script load
   2321      is from ...?  (serviceworker_load, worker_load, importSript_load,
   2322      script_load). Whether the script load is of ...?  (same_origin,
   2323      CORS_origin, cross_origin)
   2324 
   2325      This metric was generated to correspond to the Legacy Telemetry
   2326      categorical histogram SCRIPT_BLOCK_INCORRECT_MIME_3.
   2327    labels:
   2328      - unknown
   2329      - javaScript
   2330      - image
   2331      - audio
   2332      - video
   2333      - text_plain
   2334      - text_csv
   2335      - text_xml
   2336      - app_octet_stream
   2337      - app_xml
   2338      - app_json
   2339      - text_json
   2340      - text_html
   2341      - empty
   2342      - serviceworker_load
   2343      - worker_load
   2344      - importScript_load
   2345      - script_load
   2346      - same_origin
   2347      - CORS_origin
   2348      - cross_origin
   2349      - worklet_load
   2350    bugs:
   2351      - https://bugzilla.mozilla.org/show_bug.cgi?id=1288361
   2352      - https://bugzilla.mozilla.org/show_bug.cgi?id=1299267
   2353      - https://bugzilla.mozilla.org/show_bug.cgi?id=1399990
   2354      - https://bugzilla.mozilla.org/show_bug.cgi?id=1510225
   2355      - https://bugzilla.mozilla.org/show_bug.cgi?id=1581559
   2356    data_reviews:
   2357      - https://bugzilla.mozilla.org/show_bug.cgi?id=1288361
   2358      - https://bugzilla.mozilla.org/show_bug.cgi?id=1299267
   2359      - https://bugzilla.mozilla.org/show_bug.cgi?id=1399990
   2360      - https://bugzilla.mozilla.org/show_bug.cgi?id=1510225
   2361      - https://bugzilla.mozilla.org/show_bug.cgi?id=1581559
   2362    notification_emails:
   2363      - ckerschbaumer@mozilla.com
   2364    expires: never
   2365    telemetry_mirror: h#SCRIPT_BLOCK_INCORRECT_MIME_3
   2366 
   2367  echconfig_success_rate:
   2368    type: labeled_counter
   2369    description: >
   2370      TLS handshake with and without EchConfig success rate.
   2371 
   2372      This metric was generated to correspond to the Legacy Telemetry
   2373      categorical histogram ECHCONFIG_SUCCESS_RATE.
   2374    labels:
   2375      - EchConfigSucceeded
   2376      - EchConfigFailed
   2377      - NoEchConfigSucceeded
   2378      - NoEchConfigFailed
   2379    bugs:
   2380      - https://bugzilla.mozilla.org/show_bug.cgi?id=1682555
   2381    data_reviews:
   2382      - https://bugzilla.mozilla.org/show_bug.cgi?id=1682555
   2383    notification_emails:
   2384      - necko@mozilla.com
   2385      - kershaw@mozilla.com
   2386    expires: never
   2387    telemetry_mirror: h#ECHCONFIG_SUCCESS_RATE
   2388 
   2389  cache_disposition:
   2390    type: dual_labeled_counter
   2391    description: >
   2392      HTTP Cache v2 hit/miss stats keyed by content type.
   2393 
   2394      This metric was generated to correspond to the Legacy Telemetry
   2395      categorical histogram HTTP_CACHE_DISPOSITION_3.
   2396    dual_labels:
   2397      key:
   2398        description: Keys of the keyed categorical legacy telemetry histogram
   2399          HTTP_CACHE_DISPOSITION_3.
   2400        labels:
   2401          - ALL
   2402          - UNKNOWN
   2403          - OTHER
   2404          - JAVASCRIPT
   2405          - IMAGE
   2406          - MEDIA
   2407          - STYLESHEET
   2408          - WASM
   2409      category:
   2410        labels:
   2411          - Unresolved
   2412          - Hit
   2413          - HitViaReval
   2414          - MissedViaReval
   2415          - Missed
   2416          - Unknown
   2417        description: Labels of the keyed categorical legacy telemetry histogram
   2418          HTTP_CACHE_DISPOSITION_3.
   2419    bugs:
   2420      - https://bugzilla.mozilla.org/show_bug.cgi?id=1611185
   2421    data_reviews:
   2422      - https://bugzilla.mozilla.org/show_bug.cgi?id=1611185
   2423    notification_emails:
   2424      - necko@mozilla.com
   2425    expires: never
   2426    telemetry_mirror: HTTP_CACHE_DISPOSITION_3
   2427 
   2428  traffic_analysis:
   2429    type: dual_labeled_counter
   2430    description: >
   2431      Numbers of HTTP transactions and connections by type. There are some
   2432      categories separated by labels based on 5 parameters: 1. normal browsing
   2433      or private browsing 2. system principal or not 3. first party or third
   2434      party 4. class of service (Leader/Background/Others) 5. tracking
   2435      classification (Basic/Content/FingerprintingContent).
   2436 
   2437      This metric was generated to correspond to the Legacy Telemetry
   2438      categorical histogram HTTP_TRAFFIC_ANALYSIS_3.
   2439    dual_labels:
   2440      key:
   2441        description: Keys of the keyed categorical legacy telemetry histogram
   2442          HTTP_TRAFFIC_ANALYSIS_3.
   2443        labels:
   2444          - Connection
   2445          - Transaction
   2446      category:
   2447        labels:
   2448          - Y0_N1Sys
   2449          - Y1_N1
   2450          - Y2_N3Oth
   2451          - Y3_N3BasicLead
   2452          - Y4_N3BasicBg
   2453          - Y5_N3BasicOth
   2454          - Y6_N3ContentLead
   2455          - Y7_N3ContentBg
   2456          - Y8_N3ContentOth
   2457          - Y9_N3FpLead
   2458          - Y10_N3FpBg
   2459          - Y11_N3FpOth
   2460          - Y12_P1Sys
   2461          - Y13_P1
   2462          - Y14_P3Oth
   2463          - Y15_P3BasicLead
   2464          - Y16_P3BasicBg
   2465          - Y17_P3BasicOth
   2466          - Y18_P3ContentLead
   2467          - Y19_P3ContentBg
   2468          - Y20_P3ContentOth
   2469          - Y21_P3FpLead
   2470          - Y22_P3FpBg
   2471          - Y23_P3FpOth
   2472        description: Labels of the keyed categorical legacy telemetry histogram
   2473          HTTP_TRAFFIC_ANALYSIS_3.
   2474    bugs:
   2475      - https://bugzilla.mozilla.org/show_bug.cgi?id=1533363
   2476      - https://bugzilla.mozilla.org/show_bug.cgi?id=1546796
   2477      - https://bugzilla.mozilla.org/show_bug.cgi?id=1546906
   2478      - https://bugzilla.mozilla.org/show_bug.cgi?id=1550756
   2479      - https://bugzilla.mozilla.org/show_bug.cgi?id=1572666
   2480      - https://bugzilla.mozilla.org/show_bug.cgi?id=1590124
   2481      - https://bugzilla.mozilla.org/show_bug.cgi?id=1621800
   2482      - https://bugzilla.mozilla.org/show_bug.cgi?id=1668604
   2483      - https://bugzilla.mozilla.org/show_bug.cgi?id=1706842
   2484    data_reviews:
   2485      - https://bugzilla.mozilla.org/show_bug.cgi?id=1533363
   2486      - https://bugzilla.mozilla.org/show_bug.cgi?id=1546796
   2487      - https://bugzilla.mozilla.org/show_bug.cgi?id=1546906
   2488      - https://bugzilla.mozilla.org/show_bug.cgi?id=1550756
   2489      - https://bugzilla.mozilla.org/show_bug.cgi?id=1572666
   2490      - https://bugzilla.mozilla.org/show_bug.cgi?id=1590124
   2491      - https://bugzilla.mozilla.org/show_bug.cgi?id=1621800
   2492      - https://bugzilla.mozilla.org/show_bug.cgi?id=1668604
   2493      - https://bugzilla.mozilla.org/show_bug.cgi?id=1706842
   2494    notification_emails:
   2495      - arthur@mozilla.com
   2496      - tanvi@mozilla.com
   2497      - tihuang@mozilla.com
   2498    expires: never
   2499    telemetry_mirror: HTTP_TRAFFIC_ANALYSIS_3
   2500 
   2501 http3:
   2502  ech_outcome:
   2503    type: labeled_custom_distribution
   2504    description: >
   2505      Success / Fail Rates for HTTP3 Keyed by ECH Usage
   2506 
   2507      This metric was generated to correspond to the Legacy Telemetry enumerated
   2508      histogram HTTP3_ECH_OUTCOME.
   2509    range_min: 0
   2510    range_max: 32
   2511    bucket_count: 33
   2512    histogram_type: linear
   2513    bugs:
   2514      - https://bugzilla.mozilla.org/show_bug.cgi?id=1822876
   2515    data_reviews:
   2516      - https://bugzilla.mozilla.org/show_bug.cgi?id=1822876
   2517    notification_emails:
   2518      - seceng-telemetry@mozilla.com
   2519      - necko@mozilla.com
   2520      - djackson@mozilla.com
   2521    expires: never
   2522    labels:
   2523      - NONE
   2524      - GREASE
   2525      - REAL
   2526    telemetry_mirror: HTTP3_ECH_OUTCOME
   2527 
   2528  connection_close_code:
   2529    type: labeled_custom_distribution
   2530    description: >
   2531      Error code when http3 connection is closed. Look at Http3Session for more
   2532      details.
   2533 
   2534      This metric was generated to correspond to the Legacy Telemetry enumerated
   2535      histogram HTTP3_CONNECTION_CLOSE_CODE_3.
   2536    range_min: 0
   2537    range_max: 100
   2538    bucket_count: 101
   2539    histogram_type: linear
   2540    bugs:
   2541      - https://bugzilla.mozilla.org/show_bug.cgi?id=1605099
   2542      - https://bugzilla.mozilla.org/show_bug.cgi?id=1688091
   2543      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693738
   2544      - https://bugzilla.mozilla.org/show_bug.cgi?id=1695785
   2545    data_reviews:
   2546      - https://bugzilla.mozilla.org/show_bug.cgi?id=1605099
   2547      - https://bugzilla.mozilla.org/show_bug.cgi?id=1688091
   2548      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693738
   2549      - https://bugzilla.mozilla.org/show_bug.cgi?id=1695785
   2550    notification_emails:
   2551      - necko@mozilla.com
   2552      - kershaw@mozilla.com
   2553    expires: never
   2554    telemetry_mirror: HTTP3_CONNECTION_CLOSE_CODE_3
   2555 
   2556  timer_delayed:
   2557    type: timing_distribution
   2558    description: >
   2559      Time difference between setting timer value and actually firing the timer
   2560      for calling neqo
   2561 
   2562      This metric was generated to correspond to the Legacy Telemetry
   2563      exponential histogram HTTP3_TIMER_DELAYED.
   2564    time_unit: millisecond
   2565    bugs:
   2566      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
   2567    data_reviews:
   2568      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
   2569    notification_emails:
   2570      - necko@mozilla.com
   2571    expires: never
   2572    telemetry_mirror: HTTP3_TIMER_DELAYED
   2573 
   2574  request_per_conn:
   2575    type: custom_distribution
   2576    description: >
   2577      HTTP3: Streams created per connection
   2578 
   2579      This metric was generated to correspond to the Legacy Telemetry
   2580      exponential histogram HTTP3_REQUEST_PER_CONN.
   2581    range_min: 1
   2582    range_max: 1000
   2583    bucket_count: 50
   2584    histogram_type: exponential
   2585    unit: streams
   2586    bugs:
   2587      - https://bugzilla.mozilla.org/show_bug.cgi?id=1652104
   2588    data_reviews:
   2589      - https://bugzilla.mozilla.org/show_bug.cgi?id=1652104
   2590    notification_emails:
   2591      - necko@mozilla.com
   2592    expires: never
   2593    telemetry_mirror: HTTP3_REQUEST_PER_CONN
   2594 
   2595  blocked_by_stream_limit_per_conn:
   2596    type: custom_distribution
   2597    description: >
   2598      HTTP3: number of times a connection is blocked by maximum allowed number
   2599      of parallel streams per connection
   2600 
   2601      This metric was generated to correspond to the Legacy Telemetry
   2602      exponential histogram HTTP3_BLOCKED_BY_STREAM_LIMIT_PER_CONN.
   2603    range_min: 1
   2604    range_max: 1000
   2605    bucket_count: 50
   2606    histogram_type: exponential
   2607    unit: connections
   2608    bugs:
   2609      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
   2610    data_reviews:
   2611      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
   2612    notification_emails:
   2613      - necko@mozilla.com
   2614    expires: never
   2615    telemetry_mirror: HTTP3_BLOCKED_BY_STREAM_LIMIT_PER_CONN
   2616 
   2617  trans_blocked_by_stream_limit_per_conn:
   2618    type: custom_distribution
   2619    description: >
   2620      HTTP3: number of transactions that are blocked by maximum allowed number
   2621      of parallel streams per connection
   2622 
   2623      This metric was generated to correspond to the Legacy Telemetry
   2624      exponential histogram HTTP3_TRANS_BLOCKED_BY_STREAM_LIMIT_PER_CONN.
   2625    range_min: 1
   2626    range_max: 1000
   2627    bucket_count: 50
   2628    histogram_type: exponential
   2629    unit: transactions
   2630    bugs:
   2631      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
   2632    data_reviews:
   2633      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
   2634    notification_emails:
   2635      - necko@mozilla.com
   2636    expires: never
   2637    telemetry_mirror: HTTP3_TRANS_BLOCKED_BY_STREAM_LIMIT_PER_CONN
   2638 
   2639  trans_sending_blocked_by_flow_control_per_conn:
   2640    type: custom_distribution
   2641    description: >
   2642      HTTP3: number of times streams are blocked by the flow control while
   2643      sending data per connection
   2644 
   2645      This metric was generated to correspond to the Legacy Telemetry
   2646      exponential histogram
   2647      HTTP3_TRANS_SENDING_BLOCKED_BY_FLOW_CONTROL_PER_CONN.
   2648    range_min: 1
   2649    range_max: 1000
   2650    bucket_count: 50
   2651    histogram_type: exponential
   2652    unit: streams
   2653    bugs:
   2654      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
   2655    data_reviews:
   2656      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
   2657    notification_emails:
   2658      - necko@mozilla.com
   2659    expires: never
   2660    telemetry_mirror: HTTP3_TRANS_SENDING_BLOCKED_BY_FLOW_CONTROL_PER_CONN
   2661 
   2662  sending_blocked_by_flow_control_per_trans:
   2663    type: custom_distribution
   2664    description: >
   2665      HTTP3: number of times when a stream is blocked by the flow control while
   2666      sendnig data.
   2667 
   2668      This metric was generated to correspond to the Legacy Telemetry
   2669      exponential histogram HTTP3_SENDING_BLOCKED_BY_FLOW_CONTROL_PER_TRANS.
   2670    range_min: 1
   2671    range_max: 1000
   2672    bucket_count: 50
   2673    histogram_type: exponential
   2674    unit: streams
   2675    bugs:
   2676      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
   2677    data_reviews:
   2678      - https://bugzilla.mozilla.org/show_bug.cgi?id=1655566
   2679    notification_emails:
   2680      - necko@mozilla.com
   2681    expires: never
   2682    telemetry_mirror: HTTP3_SENDING_BLOCKED_BY_FLOW_CONTROL_PER_TRANS
   2683 
   2684  loss_ratio:
   2685    type: custom_distribution
   2686    description: >
   2687      HTTP3: packet loss ratio (multiply by 10000).
   2688 
   2689      This metric was generated to correspond to the Legacy Telemetry
   2690      exponential histogram HTTP3_LOSS_RATIO.
   2691    range_min: 1
   2692    range_max: 2000
   2693    bucket_count: 100
   2694    histogram_type: exponential
   2695    bugs:
   2696      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2697    data_reviews:
   2698      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2699    notification_emails:
   2700      - necko@mozilla.com
   2701    expires: never
   2702    telemetry_mirror: HTTP3_LOSS_RATIO
   2703 
   2704  late_ack_ratio:
   2705    type: labeled_custom_distribution
   2706    description: >
   2707      HTTP3: spurious retransmissions ratio (spurios_retransmission / packet
   2708      sent * 10000).
   2709 
   2710      This metric was generated to correspond to the Legacy Telemetry
   2711      exponential histogram HTTP3_LATE_ACK_RATIO.
   2712    range_min: 1
   2713    range_max: 2000
   2714    bucket_count: 100
   2715    histogram_type: exponential
   2716    bugs:
   2717      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2718    data_reviews:
   2719      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2720    notification_emails:
   2721      - necko@mozilla.com
   2722    expires: never
   2723    labels:
   2724      - ack
   2725      - pto
   2726    telemetry_mirror: HTTP3_LATE_ACK_RATIO
   2727 
   2728  late_ack:
   2729    type: labeled_custom_distribution
   2730    description: >
   2731      HTTP3: the number of spurious retransmissions.
   2732 
   2733      This metric was generated to correspond to the Legacy Telemetry
   2734      exponential histogram HTTP3_LATE_ACK.
   2735    range_min: 1
   2736    range_max: 10000
   2737    bucket_count: 100
   2738    histogram_type: exponential
   2739    unit: retransmissions
   2740    bugs:
   2741      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2742    data_reviews:
   2743      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2744    notification_emails:
   2745      - necko@mozilla.com
   2746    expires: never
   2747    labels:
   2748      - ack
   2749      - pto
   2750    telemetry_mirror: HTTP3_LATE_ACK
   2751 
   2752  counts_pto:
   2753    type: labeled_custom_distribution
   2754    description: >
   2755      HTTP3: the number of PTOs.
   2756 
   2757      This metric was generated to correspond to the Legacy Telemetry
   2758      exponential histogram HTTP3_COUNTS_PTO.
   2759    range_min: 1
   2760    range_max: 5000
   2761    bucket_count: 100
   2762    histogram_type: exponential
   2763    bugs:
   2764      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2765    data_reviews:
   2766      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2767    notification_emails:
   2768      - necko@mozilla.com
   2769    expires: never
   2770    telemetry_mirror: HTTP3_COUNTS_PTO
   2771 
   2772  drop_dgrams:
   2773    type: custom_distribution
   2774    description: >
   2775      HTTP3: the number of dropped datagrams.
   2776 
   2777      This metric was generated to correspond to the Legacy Telemetry
   2778      exponential histogram HTTP3_DROP_DGRAMS.
   2779    range_min: 1
   2780    range_max: 5000
   2781    bucket_count: 100
   2782    histogram_type: exponential
   2783    unit: datagrams
   2784    bugs:
   2785      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2786    data_reviews:
   2787      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2788    notification_emails:
   2789      - necko@mozilla.com
   2790    expires: never
   2791    telemetry_mirror: HTTP3_DROP_DGRAMS
   2792 
   2793  saved_dgrams:
   2794    type: custom_distribution
   2795    description: >
   2796      HTTP3: the number of saved datagrams that are waiting for keys to be
   2797      available.
   2798 
   2799      This metric was generated to correspond to the Legacy Telemetry
   2800      exponential histogram HTTP3_SAVED_DGRAMS.
   2801    range_min: 1
   2802    range_max: 5000
   2803    bucket_count: 100
   2804    histogram_type: exponential
   2805    unit: datagrams
   2806    bugs:
   2807      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2808    data_reviews:
   2809      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2810    notification_emails:
   2811      - necko@mozilla.com
   2812    expires: never
   2813    telemetry_mirror: HTTP3_SAVED_DGRAMS
   2814 
   2815  received_sent_dgrams:
   2816    type: labeled_custom_distribution
   2817    description: >
   2818      HTTP3: the number of received/sent packets.
   2819 
   2820      This metric was generated to correspond to the Legacy Telemetry
   2821      exponential histogram HTTP3_RECEIVED_SENT_DGRAMS.
   2822    range_min: 1
   2823    range_max: 100000
   2824    bucket_count: 100
   2825    histogram_type: exponential
   2826    unit: packets
   2827    bugs:
   2828      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2829    data_reviews:
   2830      - https://bugzilla.mozilla.org/show_bug.cgi?id=1677951
   2831    notification_emails:
   2832      - necko@mozilla.com
   2833    expires: never
   2834    labels:
   2835      - received
   2836      - sent
   2837    telemetry_mirror: HTTP3_RECEIVED_SENT_DGRAMS