metrics.yaml (6305B)
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 - 'DevTools :: Framework' 12 13 devtools: 14 current_theme: 15 type: labeled_counter 16 description: > 17 Number of times DevTools was opened, keyed by theme. 18 This metric was generated to correspond to the Legacy Telemetry 19 scalar devtools.current_theme. 20 bugs: 21 - https://bugzil.la/1396811 22 data_reviews: 23 - https://bugzil.la/1396811 24 notification_emails: 25 - dev-developer-tools@lists.mozilla.org 26 expires: never 27 telemetry_mirror: DEVTOOLS_CURRENT_THEME 28 29 cold_toolbox_open_delay: 30 type: labeled_timing_distribution 31 description: > 32 Time taken (in ms) to open the first DevTools toolbox. This is keyed by 33 tool ID being opened [inspector, webconsole, jsdebugger, styleeditor, 34 performance, memory, netmonitor, storage, dom]. 35 36 This metric was generated to correspond to the Legacy Telemetry 37 exponential histogram DEVTOOLS_COLD_TOOLBOX_OPEN_DELAY_MS. 38 time_unit: millisecond 39 bugs: 40 - https://bugzilla.mozilla.org/show_bug.cgi?id=1405584 41 - https://bugzilla.mozilla.org/show_bug.cgi?id=1566392 42 - https://bugzilla.mozilla.org/show_bug.cgi?id=1643433 43 data_reviews: 44 - https://bugzilla.mozilla.org/show_bug.cgi?id=1405584 45 - https://bugzilla.mozilla.org/show_bug.cgi?id=1566392 46 - https://bugzilla.mozilla.org/show_bug.cgi?id=1643433 47 notification_emails: 48 - dev-developer-tools@lists.mozilla.org 49 expires: never 50 telemetry_mirror: DEVTOOLS_COLD_TOOLBOX_OPEN_DELAY_MS 51 52 warm_toolbox_open_delay: 53 type: labeled_timing_distribution 54 description: > 55 Time taken (in ms) to open all but first DevTools toolbox. This is keyed 56 by tool ID being opened [inspector, webconsole, jsdebugger, styleeditor, 57 performance, memory, netmonitor, storage, dom]. 58 59 This metric was generated to correspond to the Legacy Telemetry 60 exponential histogram DEVTOOLS_WARM_TOOLBOX_OPEN_DELAY_MS. 61 time_unit: millisecond 62 bugs: 63 - https://bugzilla.mozilla.org/show_bug.cgi?id=1405584 64 - https://bugzilla.mozilla.org/show_bug.cgi?id=1566392 65 - https://bugzilla.mozilla.org/show_bug.cgi?id=1643433 66 data_reviews: 67 - https://bugzilla.mozilla.org/show_bug.cgi?id=1405584 68 - https://bugzilla.mozilla.org/show_bug.cgi?id=1566392 69 - https://bugzilla.mozilla.org/show_bug.cgi?id=1643433 70 notification_emails: 71 - dev-developer-tools@lists.mozilla.org 72 expires: never 73 telemetry_mirror: DEVTOOLS_WARM_TOOLBOX_OPEN_DELAY_MS 74 75 toolbox_page_reload_delay: 76 type: labeled_timing_distribution 77 description: > 78 Time taken (in ms) to update DevTools panel when reloading a page. This is 79 keyed by tool ID being currently opened [inspector, webconsole, 80 jsdebugger, styleeditor, performance, memory, netmonitor, storage, dom]. 81 82 This metric was generated to correspond to the Legacy Telemetry 83 exponential histogram DEVTOOLS_TOOLBOX_PAGE_RELOAD_DELAY_MS. 84 time_unit: millisecond 85 bugs: 86 - https://bugzilla.mozilla.org/show_bug.cgi?id=1405585 87 - https://bugzilla.mozilla.org/show_bug.cgi?id=1566392 88 - https://bugzilla.mozilla.org/show_bug.cgi?id=1643433 89 data_reviews: 90 - https://bugzilla.mozilla.org/show_bug.cgi?id=1405585 91 - https://bugzilla.mozilla.org/show_bug.cgi?id=1566392 92 - https://bugzilla.mozilla.org/show_bug.cgi?id=1643433 93 notification_emails: 94 - dev-developer-tools@lists.mozilla.org 95 expires: never 96 telemetry_mirror: DEVTOOLS_TOOLBOX_PAGE_RELOAD_DELAY_MS 97 98 toolbox_host: 99 type: custom_distribution 100 description: > 101 Records DevTools toolbox host each time the toolbox is opened and when the 102 host is changed (0:Bottom, 1:RIGHT, 2:WINDOW, 3:CUSTOM, 4:LEFT, 5:PAGE, 103 9:Unknown). 104 105 This metric was generated to correspond to the Legacy Telemetry enumerated 106 histogram DEVTOOLS_TOOLBOX_HOST. 107 range_min: 0 108 range_max: 9 109 bucket_count: 10 110 histogram_type: linear 111 bugs: 112 - https://bugzilla.mozilla.org/show_bug.cgi?id=1205845 113 - https://bugzilla.mozilla.org/show_bug.cgi?id=1389995 114 data_reviews: 115 - https://bugzilla.mozilla.org/show_bug.cgi?id=1205845 116 - https://bugzilla.mozilla.org/show_bug.cgi?id=1389995 117 notification_emails: 118 - dev-developer-tools@lists.mozilla.org 119 expires: never 120 telemetry_mirror: DEVTOOLS_TOOLBOX_HOST 121 122 devtools.tool: 123 registered: 124 type: labeled_boolean 125 description: > 126 Recorded on enable tool checkbox check/uncheck in Developer Tools 127 options panel. Boolean stating if the tool was enabled or disabled 128 by the user. Keyed by tool id. Current default tools with their id's 129 are defined in https://searchfox.org/mozilla- 130 central/source/devtools/client/definitions.js 131 This metric was generated to correspond to the Legacy Telemetry 132 scalar devtools.tool.registered. 133 bugs: 134 - https://bugzil.la/1447302 135 - https://bugzil.la/1503568 136 - https://bugzil.la/1587985 137 data_reviews: 138 - https://bugzil.la/1447302 139 - https://bugzil.la/1503568 140 - https://bugzil.la/1587985 141 notification_emails: 142 - dev-developer-tools@lists.mozilla.org 143 - accessibility@mozilla.com 144 expires: never 145 telemetry_mirror: DEVTOOLS_TOOL_REGISTERED 146 147 devtools.toolbox: 148 tabs_reordered: 149 type: labeled_counter 150 description: > 151 Number of times the DevTools tab was reordered. Keyed by tab's id. 152 This metric was generated to correspond to the Legacy Telemetry 153 scalar devtools.toolbox.tabs_reordered. 154 bugs: 155 - https://bugzil.la/1456551 156 - https://bugzil.la/1566362 157 data_reviews: 158 - https://bugzil.la/1456551 159 - https://bugzil.la/1566362 160 notification_emails: 161 - dev-developer-tools@lists.mozilla.org 162 - daisuke@mozilla.com 163 expires: never 164 telemetry_mirror: DEVTOOLS_TOOLBOX_TABS_REORDERED