tor-browser

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

metrics.yaml (7127B)


      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 :: DOM: Service Workers'
     12 
     13 service_worker:
     14  launch_time:
     15    type: timing_distribution
     16    description: >
     17      Time (ms) for spawning a service worker in the remote content process.
     18 
     19      This metric was generated to correspond to the Legacy Telemetry
     20      exponential histogram SERVICE_WORKER_LAUNCH_TIME_2.
     21    time_unit: millisecond
     22    bugs:
     23      - https://bugzilla.mozilla.org/show_bug.cgi?id=1328398
     24      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693074
     25    data_reviews:
     26      - https://bugzilla.mozilla.org/show_bug.cgi?id=1328398
     27      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693074
     28    notification_emails:
     29      - sw-telemetry@mozilla.com
     30      - echuang@mozilla.com
     31    expires: never
     32    telemetry_mirror: SERVICE_WORKER_LAUNCH_TIME_2
     33 
     34  isolated_launch_time:
     35    type: timing_distribution
     36    description: >
     37      Time (ms) for spawning a service worker in an isolated content process.
     38 
     39      This metric was generated to correspond to the Legacy Telemetry
     40      exponential histogram SERVICE_WORKER_ISOLATED_LAUNCH_TIME.
     41    time_unit: millisecond
     42    bugs:
     43      - https://bugzilla.mozilla.org/show_bug.cgi?id=1740335
     44    data_reviews:
     45      - https://bugzilla.mozilla.org/show_bug.cgi?id=1740335
     46    notification_emails:
     47      - sw-telemetry@mozilla.com
     48      - rjesup@mozilla.com
     49      - echuang@mozilla.com
     50    expires: never
     51    telemetry_mirror: SERVICE_WORKER_ISOLATED_LAUNCH_TIME
     52 
     53  registration_loading:
     54    type: timing_distribution
     55    description: >
     56      Tracking how ServiceWorkerRegistrar loads data before the first content is
     57      shown.
     58 
     59      This metric was generated to correspond to the Legacy Telemetry
     60      exponential histogram SERVICE_WORKER_REGISTRATION_LOADING.
     61    time_unit: millisecond
     62    bugs:
     63      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
     64    data_reviews:
     65      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
     66    notification_emails:
     67      - sw-telemetry@mozilla.com
     68    expires: never
     69    telemetry_mirror: SERVICE_WORKER_REGISTRATION_LOADING
     70 
     71  fetch_interception_duration:
     72    type: labeled_timing_distribution
     73    description: >
     74      Time delta (ms) between when a network request is intercepted in the
     75      parent process and the service worker provides a response.
     76 
     77      This metric was generated to correspond to the Legacy Telemetry
     78      exponential histogram SERVICE_WORKER_FETCH_INTERCEPTION_DURATION_MS_2.
     79    time_unit: millisecond
     80    bugs:
     81      - https://bugzilla.mozilla.org/show_bug.cgi?id=1359610
     82      - https://bugzilla.mozilla.org/show_bug.cgi?id=1433916
     83      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693074
     84    data_reviews:
     85      - https://bugzilla.mozilla.org/show_bug.cgi?id=1359610
     86      - https://bugzilla.mozilla.org/show_bug.cgi?id=1433916
     87      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693074
     88    notification_emails:
     89      - sw-telemetry@mozilla.com
     90    expires: never
     91    telemetry_mirror: SERVICE_WORKER_FETCH_INTERCEPTION_DURATION_MS_2
     92 
     93  fetch_event_dispatch:
     94    type: labeled_timing_distribution
     95    description: >
     96      Time (in ms) measured between when the fetch event is dispatched by the
     97      Service Worker and before we execute the event listeners.
     98 
     99      This metric was generated to correspond to the Legacy Telemetry
    100      exponential histogram SERVICE_WORKER_FETCH_EVENT_DISPATCH_MS_2.
    101    time_unit: millisecond
    102    bugs:
    103      - https://bugzilla.mozilla.org/show_bug.cgi?id=1359610
    104      - https://bugzilla.mozilla.org/show_bug.cgi?id=1433916
    105      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693074
    106    data_reviews:
    107      - https://bugzilla.mozilla.org/show_bug.cgi?id=1359610
    108      - https://bugzilla.mozilla.org/show_bug.cgi?id=1433916
    109      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693074
    110    notification_emails:
    111      - sw-telemetry@mozilla.com
    112      - echuang@mozilla.com
    113    expires: never
    114    telemetry_mirror: SERVICE_WORKER_FETCH_EVENT_DISPATCH_MS_2
    115 
    116  fetch_event_finish_synthesized_response:
    117    type: labeled_timing_distribution
    118    description: >
    119      Time (in ms) measured between when the respondWith promise resolves and
    120      when we provide the response through the intercepted channel.
    121 
    122      This metric was generated to correspond to the Legacy Telemetry
    123      exponential histogram
    124      SERVICE_WORKER_FETCH_EVENT_FINISH_SYNTHESIZED_RESPONSE_MS_2.
    125    time_unit: millisecond
    126    bugs:
    127      - https://bugzilla.mozilla.org/show_bug.cgi?id=1359610
    128      - https://bugzilla.mozilla.org/show_bug.cgi?id=1433916
    129      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693074
    130    data_reviews:
    131      - https://bugzilla.mozilla.org/show_bug.cgi?id=1359610
    132      - https://bugzilla.mozilla.org/show_bug.cgi?id=1433916
    133      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693074
    134    notification_emails:
    135      - sw-telemetry@mozilla.com
    136      - echuang@mozilla.com
    137    expires: never
    138    telemetry_mirror: SERVICE_WORKER_FETCH_EVENT_FINISH_SYNTHESIZED_RESPONSE_MS_2
    139 
    140  fetch_event_channel_reset:
    141    type: labeled_timing_distribution
    142    description: >
    143      Time (in ms) measured between when the fetch handler finished executing
    144      and when we reset the network channel.
    145 
    146      This metric was generated to correspond to the Legacy Telemetry
    147      exponential histogram SERVICE_WORKER_FETCH_EVENT_CHANNEL_RESET_MS_2.
    148    time_unit: millisecond
    149    bugs:
    150      - https://bugzilla.mozilla.org/show_bug.cgi?id=1359610
    151      - https://bugzilla.mozilla.org/show_bug.cgi?id=1433916
    152      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693074
    153    data_reviews:
    154      - https://bugzilla.mozilla.org/show_bug.cgi?id=1359610
    155      - https://bugzilla.mozilla.org/show_bug.cgi?id=1433916
    156      - https://bugzilla.mozilla.org/show_bug.cgi?id=1693074
    157    notification_emails:
    158      - sw-telemetry@mozilla.com
    159      - echuang@mozilla.com
    160    expires: never
    161    telemetry_mirror: SERVICE_WORKER_FETCH_EVENT_CHANNEL_RESET_MS_2
    162 
    163  running:
    164    type: labeled_custom_distribution
    165    description: >
    166      The sampled number of simultaneous running ServiceWorkers in a session,
    167      sampled once each 10 seconds (lazily on state change)
    168 
    169      This metric was generated to correspond to the Legacy Telemetry linear
    170      histogram SERVICE_WORKER_RUNNING.
    171    labels:
    172      - All
    173      - Fetch
    174    range_min: 1
    175    range_max: 31
    176    bucket_count: 30
    177    histogram_type: linear
    178    unit: serviceworkers
    179    bugs:
    180      - https://bugzilla.mozilla.org/show_bug.cgi?id=1740335
    181    data_reviews:
    182      - https://bugzilla.mozilla.org/show_bug.cgi?id=1740335
    183    notification_emails:
    184      - sw-telemetry@mozilla.com
    185      - rjesup@mozilla.com
    186      - echuang@mozilla.com
    187    expires: never
    188    telemetry_mirror: SERVICE_WORKER_RUNNING