metrics.yaml (2840B)
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: Workers' 12 13 workers: 14 service_worker_spawn_gets_queued: 15 type: counter 16 description: > 17 Tracking whether a ServiceWorker spawn gets queued due to hitting max 18 workers per domain limit. 19 20 This metric was generated to correspond to the Legacy Telemetry count 21 histogram SERVICE_WORKER_SPAWN_GETS_QUEUED. 22 bugs: 23 - https://bugzilla.mozilla.org/show_bug.cgi?id=1286895 24 data_reviews: 25 - https://bugzilla.mozilla.org/show_bug.cgi?id=1286895 26 notification_emails: 27 - amarchesini@mozilla.com 28 expires: never 29 telemetry_mirror: h#SERVICE_WORKER_SPAWN_GETS_QUEUED 30 31 shared_worker_spawn_gets_queued: 32 type: counter 33 description: > 34 Tracking whether a SharedWorker spawn gets queued due to hitting max 35 workers per domain limit. 36 37 This metric was generated to correspond to the Legacy Telemetry count 38 histogram SHARED_WORKER_SPAWN_GETS_QUEUED. 39 bugs: 40 - https://bugzilla.mozilla.org/show_bug.cgi?id=1286895 41 data_reviews: 42 - https://bugzilla.mozilla.org/show_bug.cgi?id=1286895 43 notification_emails: 44 - amarchesini@mozilla.com 45 expires: never 46 telemetry_mirror: h#SHARED_WORKER_SPAWN_GETS_QUEUED 47 48 dedicated_worker_spawn_gets_queued: 49 type: counter 50 description: > 51 Tracking whether a DedicatedWorker spawn gets queued due to hitting max 52 workers per domain limit. 53 54 This metric was generated to correspond to the Legacy Telemetry count 55 histogram DEDICATED_WORKER_SPAWN_GETS_QUEUED. 56 bugs: 57 - https://bugzilla.mozilla.org/show_bug.cgi?id=1286895 58 data_reviews: 59 - https://bugzilla.mozilla.org/show_bug.cgi?id=1286895 60 notification_emails: 61 - amarchesini@mozilla.com 62 expires: never 63 telemetry_mirror: h#DEDICATED_WORKER_SPAWN_GETS_QUEUED 64 65 sync_worker_operation: 66 type: labeled_timing_distribution 67 description: > 68 Tracking how long a Worker thread is blocked when a sync operation is 69 executed on the main-thread. 70 71 This metric was generated to correspond to the Legacy Telemetry 72 exponential histogram SYNC_WORKER_OPERATION. 73 time_unit: millisecond 74 bugs: 75 - https://bugzilla.mozilla.org/show_bug.cgi?id=1267904 76 data_reviews: 77 - https://bugzilla.mozilla.org/show_bug.cgi?id=1267904 78 notification_emails: 79 - amarchesini@mozilla.com 80 expires: never 81 telemetry_mirror: SYNC_WORKER_OPERATION