tor-browser

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

metrics.yaml (24998B)


      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: DNS'
     12 
     13 dns:
     14  lookup_method:
     15    type: custom_distribution
     16    description: >
     17      DNS Lookup Type (hit, renewal, negative-hit, literal, overflow,
     18      network-first, network-shared)
     19 
     20      This metric was generated to correspond to the Legacy Telemetry enumerated
     21      histogram DNS_LOOKUP_METHOD2.
     22    range_min: 0
     23    range_max: 16
     24    bucket_count: 17
     25    histogram_type: linear
     26    bugs:
     27      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
     28      - https://bugzilla.mozilla.org/show_bug.cgi?id=1954708
     29    data_reviews:
     30      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
     31    notification_emails:
     32      - necko@mozilla.com
     33    expires: never
     34    telemetry_mirror: DNS_LOOKUP_METHOD2
     35 
     36 
     37  cleanup_age:
     38    type: timing_distribution
     39    description: >
     40      DNS Cache Entry Age at Removal Time (minutes)
     41 
     42      This metric was generated to correspond to the Legacy Telemetry
     43      exponential histogram DNS_CLEANUP_AGE.
     44    time_unit: minute
     45    bugs:
     46      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
     47    data_reviews:
     48      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
     49    notification_emails:
     50      - necko@mozilla.com
     51    expires: never
     52    telemetry_mirror: DNS_CLEANUP_AGE
     53 
     54  by_type_cleanup_age:
     55    type: timing_distribution
     56    description: >
     57      DNS Cache Entry Age for by-type queries at Removal Time (minutes)
     58 
     59      This metric was generated to correspond to the Legacy Telemetry
     60      exponential histogram DNS_BY_TYPE_CLEANUP_AGE.
     61    time_unit: minute
     62    bugs:
     63      - https://bugzilla.mozilla.org/show_bug.cgi?id=1481251
     64    data_reviews:
     65      - https://bugzilla.mozilla.org/show_bug.cgi?id=1481251
     66    notification_emails:
     67      - necko@mozilla.com
     68    expires: never
     69    telemetry_mirror: DNS_BY_TYPE_CLEANUP_AGE
     70 
     71  premature_eviction:
     72    type: timing_distribution
     73    description: >
     74      DNS Cache Entry Age at Removal Time of non-expired entries (minutes)
     75 
     76      This metric was generated to correspond to the Legacy Telemetry
     77      exponential histogram DNS_PREMATURE_EVICTION.
     78    time_unit: minute
     79    bugs:
     80      - https://bugzilla.mozilla.org/show_bug.cgi?id=1460305
     81    data_reviews:
     82      - https://bugzilla.mozilla.org/show_bug.cgi?id=1460305
     83    notification_emails:
     84      - necko@mozilla.com
     85    expires: never
     86    telemetry_mirror: DNS_PREMATURE_EVICTION
     87 
     88  by_type_premature_eviction:
     89    type: timing_distribution
     90    description: >
     91      DNS Cache Entry Age for by-type queries at Removal Time of non-expired
     92      entries (minutes)
     93 
     94      This metric was generated to correspond to the Legacy Telemetry
     95      exponential histogram DNS_BY_TYPE_PREMATURE_EVICTION.
     96    time_unit: minute
     97    bugs:
     98      - https://bugzilla.mozilla.org/show_bug.cgi?id=1481251
     99    data_reviews:
    100      - https://bugzilla.mozilla.org/show_bug.cgi?id=1481251
    101    notification_emails:
    102      - necko@mozilla.com
    103    expires: never
    104    telemetry_mirror: DNS_BY_TYPE_PREMATURE_EVICTION
    105 
    106  trr_lookup_time:
    107    type: labeled_timing_distribution
    108    description: >
    109      Time for a completed TRR resolution (msec); Keyed by TRR domain
    110 
    111      This metric was generated to correspond to the Legacy Telemetry
    112      exponential histogram DNS_TRR_LOOKUP_TIME3.
    113    time_unit: millisecond
    114    bugs:
    115      - https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
    116      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    117      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    118    data_reviews:
    119      - https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
    120      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    121      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    122    notification_emails:
    123      - necko@mozilla.com
    124      - vgosu@mozilla.com
    125    expires: never
    126    telemetry_mirror: DNS_TRR_LOOKUP_TIME3
    127 
    128  trr_processing_time:
    129    type: timing_distribution
    130    description: >
    131      Time from the last received byte of the response until we have notified
    132      the consumer with a DNS record (msec)
    133 
    134      This metric was generated to correspond to the Legacy Telemetry
    135      exponential histogram DNS_TRR_PROCESSING_TIME.
    136    time_unit: millisecond
    137    bugs:
    138      - https://bugzilla.mozilla.org/show_bug.cgi?id=1608114
    139    data_reviews:
    140      - https://bugzilla.mozilla.org/show_bug.cgi?id=1608114
    141    notification_emails:
    142      - necko@mozilla.com
    143    expires: never
    144    telemetry_mirror: DNS_TRR_PROCESSING_TIME
    145 
    146  trr_skip_reason_trr_first:
    147    type: labeled_custom_distribution
    148    description: >
    149      When in TRR-first mode, it lists the reason we may have skipped TRR, keyed
    150      by the provider.
    151 
    152      This metric was generated to correspond to the Legacy Telemetry enumerated
    153      histogram TRR_SKIP_REASON_TRR_FIRST2.
    154    range_min: 0
    155    range_max: 50
    156    bucket_count: 51
    157    histogram_type: linear
    158    bugs:
    159      - https://bugzilla.mozilla.org/show_bug.cgi?id=1649143
    160      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    161    data_reviews:
    162      - https://bugzilla.mozilla.org/show_bug.cgi?id=1649143
    163      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    164    notification_emails:
    165      - necko@mozilla.com
    166      - vgosu@mozilla.com
    167    expires: never
    168    telemetry_mirror: TRR_SKIP_REASON_TRR_FIRST2
    169 
    170  trr_skip_reason_native_success:
    171    type: labeled_custom_distribution
    172    description: >
    173      When in TRR-first mode, if TRR was skipped and native succeeded, it lists
    174      the reason we may have skipped TRR, keyed by the provider.
    175 
    176      This metric was generated to correspond to the Legacy Telemetry enumerated
    177      histogram TRR_SKIP_REASON_NATIVE_SUCCESS.
    178    range_min: 0
    179    range_max: 50
    180    bucket_count: 51
    181    histogram_type: linear
    182    bugs:
    183      - https://bugzilla.mozilla.org/show_bug.cgi?id=1649143
    184      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    185    data_reviews:
    186      - https://bugzilla.mozilla.org/show_bug.cgi?id=1649143
    187      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    188    notification_emails:
    189      - necko@mozilla.com
    190      - vgosu@mozilla.com
    191    expires: never
    192    telemetry_mirror: TRR_SKIP_REASON_NATIVE_SUCCESS
    193 
    194  trr_skip_reason_native_failed:
    195    type: labeled_custom_distribution
    196    description: >
    197      When in TRR-first mode, if TRR was skipped and native failed, it lists the
    198      reason we may have skipped TRR, keyed by the provider.
    199 
    200      This metric was generated to correspond to the Legacy Telemetry enumerated
    201      histogram TRR_SKIP_REASON_NATIVE_FAILED.
    202    range_min: 0
    203    range_max: 50
    204    bucket_count: 51
    205    histogram_type: linear
    206    bugs:
    207      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    208    data_reviews:
    209      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    210    notification_emails:
    211      - necko@mozilla.com
    212      - vgosu@mozilla.com
    213    expires: never
    214    telemetry_mirror: TRR_SKIP_REASON_NATIVE_FAILED
    215 
    216  trr_relevant_skip_reason_trr_first:
    217    type: labeled_custom_distribution
    218    description: >
    219      When in TRR-first mode, it lists the reason we may have skipped TRR, keyed
    220      by the provider. Does not include requests that intentionally skip TRR.
    221 
    222      This metric was generated to correspond to the Legacy Telemetry enumerated
    223      histogram TRR_RELEVANT_SKIP_REASON_TRR_FIRST.
    224    range_min: 0
    225    range_max: 50
    226    bucket_count: 51
    227    histogram_type: linear
    228    bugs:
    229      - https://bugzilla.mozilla.org/show_bug.cgi?id=1649143
    230      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    231      - https://bugzilla.mozilla.org/show_bug.cgi?id=1742408
    232    data_reviews:
    233      - https://bugzilla.mozilla.org/show_bug.cgi?id=1649143
    234      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    235      - https://bugzilla.mozilla.org/show_bug.cgi?id=1742408
    236    notification_emails:
    237      - necko@mozilla.com
    238      - vgosu@mozilla.com
    239    expires: never
    240    telemetry_mirror: TRR_RELEVANT_SKIP_REASON_TRR_FIRST
    241 
    242  trr_relevant_skip_reason_native_success:
    243    type: labeled_custom_distribution
    244    description: >
    245      When in TRR-first mode, if TRR was skipped and native succeeded, it lists
    246      the reason we may have skipped TRR, keyed by the provider. Does not
    247      include requests that intentionally skip TRR.
    248 
    249      This metric was generated to correspond to the Legacy Telemetry enumerated
    250      histogram TRR_RELEVANT_SKIP_REASON_NATIVE_SUCCESS.
    251    range_min: 0
    252    range_max: 50
    253    bucket_count: 51
    254    histogram_type: linear
    255    bugs:
    256      - https://bugzilla.mozilla.org/show_bug.cgi?id=1649143
    257      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    258      - https://bugzilla.mozilla.org/show_bug.cgi?id=1742408
    259    data_reviews:
    260      - https://bugzilla.mozilla.org/show_bug.cgi?id=1649143
    261      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    262      - https://bugzilla.mozilla.org/show_bug.cgi?id=1742408
    263    notification_emails:
    264      - necko@mozilla.com
    265      - vgosu@mozilla.com
    266    expires: never
    267    telemetry_mirror: TRR_RELEVANT_SKIP_REASON_NATIVE_SUCCESS
    268 
    269  trr_relevant_skip_reason_native_failed:
    270    type: labeled_custom_distribution
    271    description: >
    272      When in TRR-first mode, if TRR was skipped and native failed, it lists the
    273      reason we may have skipped TRR, keyed by the provider. Does not include
    274      requests that intentionally skip TRR.
    275 
    276      This metric was generated to correspond to the Legacy Telemetry enumerated
    277      histogram TRR_RELEVANT_SKIP_REASON_NATIVE_FAILED.
    278    range_min: 0
    279    range_max: 50
    280    bucket_count: 51
    281    histogram_type: linear
    282    bugs:
    283      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    284      - https://bugzilla.mozilla.org/show_bug.cgi?id=1742408
    285    data_reviews:
    286      - https://bugzilla.mozilla.org/show_bug.cgi?id=1699523
    287      - https://bugzilla.mozilla.org/show_bug.cgi?id=1742408
    288    notification_emails:
    289      - necko@mozilla.com
    290      - vgosu@mozilla.com
    291    expires: never
    292    telemetry_mirror: TRR_RELEVANT_SKIP_REASON_NATIVE_FAILED
    293 
    294  trr_skip_reason_strict_mode:
    295    type: labeled_custom_distribution
    296    description: >
    297      When in TRR-first mode, it lists the reason we may have skipped TRR. The
    298      key is like `<provider>|<skip reason of first attempt>` or just
    299      `<provider>` used when there was no second attempt.
    300 
    301      This metric was generated to correspond to the Legacy Telemetry enumerated
    302      histogram TRR_SKIP_REASON_STRICT_MODE.
    303    range_min: 0
    304    range_max: 50
    305    bucket_count: 51
    306    histogram_type: linear
    307    bugs:
    308      - https://bugzilla.mozilla.org/show_bug.cgi?id=1737198
    309    data_reviews:
    310      - https://bugzilla.mozilla.org/show_bug.cgi?id=1737198
    311    notification_emails:
    312      - necko@mozilla.com
    313    expires: never
    314    telemetry_mirror: TRR_SKIP_REASON_STRICT_MODE
    315 
    316  trr_skip_reason_retry_success:
    317    type: labeled_custom_distribution
    318    description: >
    319      When in TRR-first mode, if TRR failed once and was successfully retried,
    320      it lists the reason for the first failure, keyed by the provider.
    321 
    322      This metric was generated to correspond to the Legacy Telemetry enumerated
    323      histogram TRR_SKIP_REASON_RETRY_SUCCESS.
    324    range_min: 0
    325    range_max: 50
    326    bucket_count: 51
    327    histogram_type: linear
    328    bugs:
    329      - https://bugzilla.mozilla.org/show_bug.cgi?id=1737198
    330    data_reviews:
    331      - https://bugzilla.mozilla.org/show_bug.cgi?id=1737198
    332    notification_emails:
    333      - necko@mozilla.com
    334    expires: never
    335    telemetry_mirror: TRR_SKIP_REASON_RETRY_SUCCESS
    336 
    337  trr_skip_reason_retry_failed:
    338    type: labeled_custom_distribution
    339    description: >
    340      When in TRR-first mode, if TRR failed once and retried unsuccessfully, it
    341      lists the reason for the first failure, keyed by the provider.
    342 
    343      This metric was generated to correspond to the Legacy Telemetry enumerated
    344      histogram TRR_SKIP_REASON_RETRY_FAILED.
    345    range_min: 0
    346    range_max: 50
    347    bucket_count: 51
    348    histogram_type: linear
    349    bugs:
    350      - https://bugzilla.mozilla.org/show_bug.cgi?id=1737198
    351    data_reviews:
    352      - https://bugzilla.mozilla.org/show_bug.cgi?id=1737198
    353    notification_emails:
    354      - necko@mozilla.com
    355    expires: never
    356    telemetry_mirror: TRR_SKIP_REASON_RETRY_FAILED
    357 
    358  trr_relevant_skip_reason_trr_first_type_rec:
    359    type: labeled_custom_distribution
    360    description: >
    361      When in TRR-first mode, it lists the reason we may have skipped TRR for
    362      HTTPS RR, keyed by the provider. Does not include requests that
    363      intentionally skip TRR.
    364 
    365      This metric was generated to correspond to the Legacy Telemetry enumerated
    366      histogram TRR_RELEVANT_SKIP_REASON_TRR_FIRST_TYPE_REC.
    367    range_min: 0
    368    range_max: 50
    369    bucket_count: 51
    370    histogram_type: linear
    371    bugs:
    372      - https://bugzilla.mozilla.org/show_bug.cgi?id=1850367
    373    data_reviews:
    374      - https://bugzilla.mozilla.org/show_bug.cgi?id=1850367
    375    notification_emails:
    376      - necko@mozilla.com
    377      - kershaw@mozilla.com
    378    expires: never
    379    telemetry_mirror: TRR_RELEVANT_SKIP_REASON_TRR_FIRST_TYPE_REC
    380 
    381  trr_attempt_count:
    382    type: labeled_custom_distribution
    383    description: >
    384      Number of times we attempted TRR for a successful lookup in TRR-first
    385      mode. Keyed by provider.
    386 
    387      This metric was generated to correspond to the Legacy Telemetry enumerated
    388      histogram TRR_ATTEMPT_COUNT.
    389    range_min: 0
    390    range_max: 10
    391    bucket_count: 11
    392    histogram_type: linear
    393    bugs:
    394      - https://bugzilla.mozilla.org/show_bug.cgi?id=1737198
    395    data_reviews:
    396      - https://bugzilla.mozilla.org/show_bug.cgi?id=1737198
    397    notification_emails:
    398      - necko@mozilla.com
    399    expires: never
    400    telemetry_mirror: TRR_ATTEMPT_COUNT
    401 
    402  native_lookup_time:
    403    type: timing_distribution
    404    description: >
    405      Time for a completed native name resolution (msec)
    406 
    407      This metric was generated to correspond to the Legacy Telemetry
    408      exponential histogram DNS_NATIVE_LOOKUP_TIME.
    409    time_unit: millisecond
    410    bugs:
    411      - https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
    412    data_reviews:
    413      - https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
    414    notification_emails:
    415      - necko@mozilla.com
    416    expires: never
    417    telemetry_mirror: DNS_NATIVE_LOOKUP_TIME
    418 
    419  by_type_failed_lookup_time:
    420    type: timing_distribution
    421    description: >
    422      Time for a completed by-type resolution that has a negative answer (msec).
    423 
    424      This metric was generated to correspond to the Legacy Telemetry
    425      exponential histogram DNS_BY_TYPE_FAILED_LOOKUP_TIME.
    426    time_unit: millisecond
    427    bugs:
    428      - https://bugzilla.mozilla.org/show_bug.cgi?id=1481251
    429    data_reviews:
    430      - https://bugzilla.mozilla.org/show_bug.cgi?id=1481251
    431    notification_emails:
    432      - necko@mozilla.com
    433    expires: never
    434    telemetry_mirror: DNS_BY_TYPE_FAILED_LOOKUP_TIME
    435 
    436  by_type_succeeded_lookup_time:
    437    type: timing_distribution
    438    description: >
    439      Time for a completed by-type resolution that succeeded (msec).
    440 
    441      This metric was generated to correspond to the Legacy Telemetry
    442      exponential histogram DNS_BY_TYPE_SUCCEEDED_LOOKUP_TIME.
    443    time_unit: millisecond
    444    bugs:
    445      - https://bugzilla.mozilla.org/show_bug.cgi?id=1481251
    446    data_reviews:
    447      - https://bugzilla.mozilla.org/show_bug.cgi?id=1481251
    448    notification_emails:
    449      - necko@mozilla.com
    450    expires: never
    451    telemetry_mirror: DNS_BY_TYPE_SUCCEEDED_LOOKUP_TIME
    452 
    453  native_queuing:
    454    type: timing_distribution
    455    description: >
    456      Time in resolve queue waiting to getaddrinfo (msec)
    457 
    458      This metric was generated to correspond to the Legacy Telemetry
    459      exponential histogram DNS_NATIVE_QUEUING.
    460    time_unit: millisecond
    461    bugs:
    462      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470215
    463    data_reviews:
    464      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470215
    465    notification_emails:
    466      - necko@mozilla.com
    467    expires: never
    468    telemetry_mirror: DNS_NATIVE_QUEUING
    469 
    470  lookup_algorithm:
    471    type: labeled_counter
    472    description: >
    473      DNS: lookup algorithm
    474 
    475      This metric was generated to correspond to the Legacy Telemetry
    476      categorical histogram DNS_LOOKUP_ALGORITHM.
    477    labels:
    478      - nativeOnly
    479      - trrRace
    480      - trrFirst
    481      - trrOnly
    482      - trrShadow
    483    bugs:
    484      - https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
    485    data_reviews:
    486      - https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
    487    notification_emails:
    488      - necko@mozilla.com
    489    expires: never
    490    telemetry_mirror: h#DNS_LOOKUP_ALGORITHM
    491 
    492  blocklist_count:
    493    type: custom_distribution
    494    description: >
    495      The number of unusable addresses reported for each record
    496 
    497      This metric was generated to correspond to the Legacy Telemetry linear
    498      histogram DNS_BLACKLIST_COUNT.
    499    range_min: 1
    500    range_max: 21
    501    bucket_count: 20
    502    histogram_type: linear
    503    bugs:
    504      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    505    data_reviews:
    506      - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
    507    notification_emails:
    508      - necko@mozilla.com
    509    expires: never
    510    telemetry_mirror: DNS_BLACKLIST_COUNT
    511 
    512  trr_http_version:
    513    type: dual_labeled_counter
    514    description: >
    515      HTTP version used by DoH endpoint
    516 
    517      This metric was generated to correspond to the Legacy Telemetry
    518      categorical histogram DNS_TRR_HTTP_VERSION2.
    519    dual_labels:
    520      key:
    521        description: string identifying the current DoH server, "(other)" if not a built-in server.
    522      category:
    523        labels:
    524          - h_1
    525          - h_2
    526          - h_3
    527        description: Labels of the keyed categorical legacy telemetry histogram
    528          DNS_TRR_HTTP_VERSION2.
    529    bugs:
    530      - https://bugzilla.mozilla.org/show_bug.cgi?id=1460314
    531      - https://bugzilla.mozilla.org/show_bug.cgi?id=1700119
    532    data_reviews:
    533      - https://bugzilla.mozilla.org/show_bug.cgi?id=1460314
    534      - https://bugzilla.mozilla.org/show_bug.cgi?id=1700119
    535    notification_emails:
    536      - necko@mozilla.com
    537    expires: never
    538    telemetry_mirror: DNS_TRR_HTTP_VERSION2
    539 
    540  trr_first:
    541    type: dual_labeled_counter
    542    description: >
    543      TRR-first mode distribution. 0=Worked, 1=fell back fine after TRR fail,
    544      2=native worked, 3=both failed; Keyed by TRR domain
    545 
    546      This metric was generated to correspond to the Legacy Telemetry
    547      categorical histogram DNS_TRR_FIRST4.
    548    dual_labels:
    549      key:
    550        description: string identifying the current DoH server, "(other)" if not a built-in server.
    551      category:
    552        labels:
    553          - TRR
    554          - NativeAfterTRR
    555          - Native
    556          - BothFailed
    557        description: Labels of the keyed categorical legacy telemetry histogram
    558          DNS_TRR_FIRST4.
    559    bugs:
    560      - https://bugzilla.mozilla.org/show_bug.cgi?id=1497252
    561      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    562      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    563    data_reviews:
    564      - https://bugzilla.mozilla.org/show_bug.cgi?id=1497252
    565      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    566      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    567    notification_emails:
    568      - necko@mozilla.com
    569      - vgosu@mozilla.com
    570    expires: never
    571    telemetry_mirror: DNS_TRR_FIRST4
    572 
    573  trr_disabled:
    574    type: dual_labeled_counter
    575    description: >
    576      Resolve success rate when in TRR-first and called TRR-disabled (fall-back
    577      mode); Keyed by TRR domain
    578 
    579      This metric was generated to correspond to the Legacy Telemetry boolean
    580      histogram DNS_TRR_DISABLED3.
    581    dual_labels:
    582      key:
    583        description: string identifying the current DoH server, "(other)" if not a built-in server.
    584      category:
    585        labels:
    586          - "false"
    587          - "true"
    588        description: Boolean
    589    bugs:
    590      - https://bugzilla.mozilla.org/show_bug.cgi?id=1472659
    591      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    592      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    593    data_reviews:
    594      - https://bugzilla.mozilla.org/show_bug.cgi?id=1472659
    595      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    596      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    597    notification_emails:
    598      - necko@mozilla.com
    599      - vgosu@mozilla.com
    600    expires: never
    601    telemetry_mirror: DNS_TRR_DISABLED3
    602 
    603  trr_blacklisted:
    604    type: dual_labeled_counter
    605    description: >
    606      DNS check for TRR was blocked by blacklist; Keyed by TRR domain
    607 
    608      This metric was generated to correspond to the Legacy Telemetry boolean
    609      histogram DNS_TRR_BLACKLISTED3.
    610    dual_labels:
    611      key:
    612        description: string identifying the current DoH server, "(other)" if not a built-in server.
    613      category:
    614        labels:
    615          - "false"
    616          - "true"
    617        description: Boolean
    618    bugs:
    619      - https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
    620      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    621      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    622    data_reviews:
    623      - https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
    624      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    625      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    626    notification_emails:
    627      - necko@mozilla.com
    628      - vgosu@mozilla.com
    629    expires: never
    630    telemetry_mirror: DNS_TRR_BLACKLISTED3
    631 
    632  trr_ns_verfified:
    633    type: dual_labeled_counter
    634    description: >
    635      TRR managed to verify NS entry; Keyed by TRR domain
    636 
    637      This metric was generated to correspond to the Legacy Telemetry boolean
    638      histogram DNS_TRR_NS_VERFIFIED3.
    639    dual_labels:
    640      key:
    641        description: string identifying the current DoH server, "(other)" if not a built-in server.
    642      category:
    643        labels:
    644          - "false"
    645          - "true"
    646        description: Boolean
    647    bugs:
    648      - https://bugzilla.mozilla.org/show_bug.cgi?id=1453825
    649      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    650      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    651    data_reviews:
    652      - https://bugzilla.mozilla.org/show_bug.cgi?id=1453825
    653      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    654      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    655    notification_emails:
    656      - necko@mozilla.com
    657      - vgosu@mozilla.com
    658    expires: never
    659    telemetry_mirror: DNS_TRR_NS_VERFIFIED3
    660 
    661  trr_success:
    662    type: dual_labeled_counter
    663    description: >
    664      How often TRR (Trusted Recursive Resolver) requests are fine, time-out or
    665      error. Keyed by TRR domain
    666 
    667      This metric was generated to correspond to the Legacy Telemetry
    668      categorical histogram DNS_TRR_SUCCESS3.
    669    dual_labels:
    670      key:
    671        description: string identifying the current DoH server, "(other)" if not a built-in server.
    672      category:
    673        labels:
    674          - Fine
    675          - Timeout
    676          - Bad
    677        description: Labels of the keyed categorical legacy telemetry histogram
    678          DNS_TRR_SUCCESS3.
    679    bugs:
    680      - https://bugzilla.mozilla.org/show_bug.cgi?id=1497438
    681      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    682      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    683    data_reviews:
    684      - https://bugzilla.mozilla.org/show_bug.cgi?id=1497438
    685      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    686      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    687    notification_emails:
    688      - necko@mozilla.com
    689      - vgosu@mozilla.com
    690    expires: never
    691    telemetry_mirror: DNS_TRR_SUCCESS3
    692 
    693  lookup_disposition:
    694    type: dual_labeled_counter
    695    description: >
    696      DNS: lookup algorithm; Keyed by TRR domain
    697 
    698      This metric was generated to correspond to the Legacy Telemetry
    699      categorical histogram DNS_LOOKUP_DISPOSITION3.
    700    dual_labels:
    701      key:
    702        description: string identifying the current DoH server, "(other)" if not a built-in server.
    703      category:
    704        labels:
    705          - trrOK
    706          - trrFail
    707          - trrAOK
    708          - trrAFail
    709          - trrAAAAOK
    710          - trrAAAAFail
    711          - osOK
    712          - osFail
    713        description: Labels of the keyed categorical legacy telemetry histogram
    714          DNS_LOOKUP_DISPOSITION3.
    715    bugs:
    716      - https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
    717      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    718      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    719    data_reviews:
    720      - https://bugzilla.mozilla.org/show_bug.cgi?id=1434852
    721      - https://bugzilla.mozilla.org/show_bug.cgi?id=1640867
    722      - https://bugzilla.mozilla.org/show_bug.cgi?id=1646452
    723    notification_emails:
    724      - necko@mozilla.com
    725      - vgosu@mozilla.com
    726    expires: never
    727    telemetry_mirror: DNS_LOOKUP_DISPOSITION3