File: metrics.yaml

package info (click to toggle)
firefox 149.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,767,760 kB
  • sloc: cpp: 7,416,064; javascript: 6,752,859; ansic: 3,774,850; python: 1,250,473; xml: 641,578; asm: 439,191; java: 186,617; sh: 56,634; makefile: 18,856; objc: 13,092; perl: 12,763; pascal: 5,960; yacc: 4,583; cs: 3,846; lex: 1,720; ruby: 1,002; php: 436; lisp: 258; awk: 105; sql: 66; sed: 53; csh: 10; exp: 6
file content (308 lines) | stat: -rw-r--r-- 10,403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# Adding a new metric? We have docs for that!
# https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html

---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
  - 'DevTools :: Inspector'

devtools.inspector:
  three_pane_enabled:
    type: labeled_counter
    description: >
      Number of times the DevTools inspector was opened with the 3 pane
      inspector enabled, keyed by true/false.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.inspector.three_pane_enabled.
    bugs:
      - https://bugzil.la/1437881
      - https://bugzil.la/1566395
    data_reviews:
      - https://bugzil.la/1437881
      - https://bugzil.la/1566395
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
      - gl@mozilla.com
      - mbalfanz@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_INSPECTOR_THREE_PANE_ENABLED

  node_selection_count:
    type: counter
    description: >
      Number of times a different node is marked as selected in the
      Inspector regardless of the cause: context menu, manual selection in
      markup view, etc.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.inspector.node_selection_count.
    bugs:
      - https://bugzil.la/1550794
    data_reviews:
      - https://bugzil.la/1550794
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
      - mbalfanz@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_INSPECTOR_NODE_SELECTION_COUNT

  new_root_to_reload_delay:
    type: timing_distribution
    description: >
      Time taken (in ms) to update the inspector during a page reload, starting
      from new-root event.

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram DEVTOOLS_INSPECTOR_NEW_ROOT_TO_RELOAD_DELAY_MS.
    time_unit: millisecond
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1405585
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1566392
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643433
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1405585
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1566392
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643433
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_INSPECTOR_NEW_ROOT_TO_RELOAD_DELAY_MS

  number_of_css_grids_in_a_page:
    type: custom_distribution
    description: >
      On page load, record the number of CSS Grid elements present on a page
      when the DevTools is open

      This metric was generated to correspond to the Legacy Telemetry linear
      histogram DEVTOOLS_NUMBER_OF_CSS_GRIDS_IN_A_PAGE.
    range_min: 1
    range_max: 30
    bucket_count: 29
    histogram_type: linear
    unit: grid elements
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1373483
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1373483
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_NUMBER_OF_CSS_GRIDS_IN_A_PAGE

  fonteditor_font_type_displayed:
    type: labeled_counter
    description: >
      Indicates if the font editor displayed its UI for a non-variable font or a
      variable font

      This metric was generated to correspond to the Legacy Telemetry
      categorical histogram DEVTOOLS_FONTEDITOR_FONT_TYPE_DISPLAYED.
    labels:
      - variable
      - nonvariable
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1523656
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1523656
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
      - mbalfanz@mozilla.com
    expires: never
    telemetry_mirror: h#DEVTOOLS_FONTEDITOR_FONT_TYPE_DISPLAYED

devtools.layout.flexboxhighlighter:
  opened:
    type: counter
    description: >
      Number of times the DevTools flexbox highlighter was activated from
      the layout view.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.layout.flexboxhighlighter.opened.
    bugs:
      - https://bugzil.la/1509907
    data_reviews:
      - https://bugzil.la/1509907
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_LAYOUT_FLEXBOXHIGHLIGHTER_OPENED

devtools.markup.flexboxhighlighter:
  opened:
    type: counter
    description: >
      Number of times the DevTools flexbox highlighter was activated from
      the markup view.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.markup.flexboxhighlighter.opened.
    bugs:
      - https://bugzil.la/1509907
    data_reviews:
      - https://bugzil.la/1509907
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_MARKUP_FLEXBOXHIGHLIGHTER_OPENED

devtools.rules.flexboxhighlighter:
  opened:
    type: counter
    description: >
      Number of times the DevTools flexbox highlighter was activated from
      the rules view.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.rules.flexboxhighlighter.opened.
    bugs:
      - https://bugzil.la/1509907
    data_reviews:
      - https://bugzil.la/1509907
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_RULES_FLEXBOXHIGHLIGHTER_OPENED

devtools.markup.gridinspector:
  opened:
    type: counter
    description: >
      Number of times the DevTools grid inspector was opened from the
      markup view.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.markup.gridinspector.opened.
    bugs:
      - https://bugzil.la/1509907
    data_reviews:
      - https://bugzil.la/1509907
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_MARKUP_GRIDINSPECTOR_OPENED

devtools.rules.gridinspector:
  opened:
    type: counter
    description: >
      Number of times the DevTools grid inspector was opened from the
      rules view.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.rules.gridinspector.opened.
    bugs:
      - https://bugzil.la/1373483
    data_reviews:
      - https://bugzil.la/1373483
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_RULES_GRIDINSPECTOR_OPENED

devtools.grid.gridinspector:
  opened:
    type: counter
    description: >
      Number of times the DevTools grid inspector was opened from the grid
      view.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.grid.gridinspector.opened.
    bugs:
      - https://bugzil.la/1373483
    data_reviews:
      - https://bugzil.la/1373483
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_GRID_GRIDINSPECTOR_OPENED

devtools.shadowdom:
  shadow_root_displayed:
    type: boolean
    description: >
      Whether the markup view displayed any #shadow-root element in the
      UI.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.shadowdom.shadow_root_displayed.
    bugs:
      - https://bugzil.la/1470128
      - https://bugzil.la/1566393
    data_reviews:
      - https://bugzil.la/1470128
      - https://bugzil.la/1566393
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
      - jdescottes@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_SHADOWDOM_SHADOW_ROOT_DISPLAYED

  shadow_root_expanded:
    type: boolean
    description: >
      Whether the user expanded any #shadow-root element.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.shadowdom.shadow_root_expanded.
    bugs:
      - https://bugzil.la/1470128
      - https://bugzil.la/1566393
    data_reviews:
      - https://bugzil.la/1470128
      - https://bugzil.la/1566393
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
      - jdescottes@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_SHADOWDOM_SHADOW_ROOT_EXPANDED

  reveal_link_clicked:
    type: boolean
    description: >
      Whether the user clicked on any "reveal" link. "reveal" links are
      displayed in shadow dom trees in the markup view.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.shadowdom.reveal_link_clicked.
    bugs:
      - https://bugzil.la/1470128
      - https://bugzil.la/1566393
    data_reviews:
      - https://bugzil.la/1470128
      - https://bugzil.la/1566393
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
      - jdescottes@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_SHADOWDOM_REVEAL_LINK_CLICKED

devtools.tooltip:
  shown:
    type: labeled_counter
    description: >
      Number of times a tooltip was shown, keyed by tooltip type.
      Currently supported types are "image", "font-family", "inactive-
      css", "css-compatibility", "css-query-container" and "variable."
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.tooltip.shown.
    bugs:
      - https://bugzil.la/1553471
    data_reviews:
      - https://bugzil.la/1553471
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_TOOLTIP_SHOWN

devtools.markup.scrollable.badge:
  clicked:
    type: counter
    description: >
      Number of times the scrollable inspector badge has been clicked.
      This metric was generated to correspond to the Legacy Telemetry
      scalar devtools.markup.scrollable.badge.clicked.
    bugs:
      - https://bugzil.la/1660818
    data_reviews:
      - https://bugzil.la/1660818
    notification_emails:
      - devtools-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: DEVTOOLS_MARKUP_SCROLLABLE_BADGE_CLICKED