File: metrics.yaml

package info (click to toggle)
firefox 141.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,550,588 kB
  • sloc: cpp: 7,426,506; javascript: 6,367,238; ansic: 3,707,351; python: 1,369,002; xml: 623,983; asm: 426,918; java: 184,324; sh: 64,488; makefile: 19,203; objc: 13,059; perl: 12,955; yacc: 4,583; cs: 3,846; pascal: 3,352; lex: 1,720; ruby: 1,071; exp: 762; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10
file content (520 lines) | stat: -rw-r--r-- 19,190 bytes parent folder | download | duplicates (3)
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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
# 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:
  - 'Firefox :: General'

security.ui.protectionspopup:
  open_protections_popup:
    type: event
    description: >
      How many times the protections panel was opened.
    extra_keys:
      openingReason:
        description: >
          string representing how the protections panel was opened,
          one of ["shieldButtonClicked", "embedPlaceholderButton", "toastButtonClicked"]
        type: string
      smartblockEmbedTogglesShown:
        description: >
          boolean representing if smartblock toggles were shown to the user
        type: boolean
    bugs: &security_ui_protectionspopup_open_bugs
      - https://bugzil.la/1560327
      - https://bugzil.la/1607488
      - https://bugzil.la/1643428
      - https://bugzil.la/1678201
      - https://bugzil.la/1739287
      - https://bugzil.la/1787249
      - https://bugzil.la/1920735
    data_reviews: &security_ui_protectionspopup_open_data_reviews
      - https://bugzil.la/1560327
      - https://bugzil.la/1607488
      - https://bugzil.la/1643428
      - https://bugzil.la/1678201
      - https://bugzil.la/1739287
      - https://bugzil.la/1787249
      - https://bugzil.la/1920735
    notification_emails: &security_ui_protectionspopup_open_emails
      - emz@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never

  close_protections_popup:
    type: event
    description: >
      Triggered when the protections panel is closed. Records how the panel was opened and if
      the SmartBlock section had any interactions
    extra_keys:
      openingReason:
        description: >
          string representing how the protections panel was opened,
          one of ["shieldButtonClicked", "embedPlaceholderButton", "toastButtonClicked"]
        type: string
      smartblockToggleClicked:
        description: >
          boolean representing if the user interacted with the toggle anytime before it was closed
        type: boolean
    bugs:
      - https://bugzil.la/1920735
      - https://bugzil.la/1958162
    data_reviews:
      - https://bugzil.la/1920735
    notification_emails:
      - wwen@mozilla.com
      - emz@mozilla.com
    expires:
      146

  open_protectionspopup_cfr:
    type: event
    description: >
      How many times the protections panel was opened.
    bugs: *security_ui_protectionspopup_open_bugs
    data_reviews: *security_ui_protectionspopup_open_data_reviews
    notification_emails: *security_ui_protectionspopup_open_emails
    expires: never
    extra_keys: &security_ui_protectionspopup_open_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      message:
        description: >
          For protectionspopup_cfr, the message ID.

        type: string

  click_etp_toggle_on:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#etp_toggle_on.
    bugs: &security_ui_protectionspopup_click_bugs
      - https://bugzil.la/1560327
      - https://bugzil.la/1602015
      - https://bugzil.la/1607488
      - https://bugzil.la/1643428
      - https://bugzil.la/1678201
      - https://bugzil.la/1739287
      - https://bugzil.la/1787249
      - https://bugzil.la/1798669
    data_reviews: &security_ui_protectionspopup_click_data_reviews
      - https://bugzil.la/1560327
      - https://bugzil.la/1602015
      - https://bugzil.la/1607488
      - https://bugzil.la/1643428
      - https://bugzil.la/1678201
      - https://bugzil.la/1739287
      - https://bugzil.la/1787249
      - https://bugzil.la/1798669
    notification_emails: &security_ui_protectionspopup_click_emails
      - emz@mozilla.com
      - tihuang@mozilla.com
      - seceng-telemetry@mozilla.com
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_EtpToggleOn

  click_etp_toggle_off:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#etp_toggle_off.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_EtpToggleOff

  click_social:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#social.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_Social

  click_cookies:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#cookies.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_Cookies

  click_trackers:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#trackers.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_Trackers

  click_fingerprinters:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#fingerprinters.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_Fingerprinters

  click_cryptominers:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#cryptominers.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_Cryptominers

  click_subview_settings:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#subview_settings.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    extra_keys:
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
    telemetry_mirror: SecurityUiProtectionspopup_Click_SubviewSettings

  click_settings:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#settings.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_Settings

  click_full_report:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#full_report.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_FullReport

  click_milestone_message:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#milestone_message.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_MilestoneMessage

  click_cookieb_toggle_on:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#cookieb_toggle_on.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_CookiebToggleOn

  click_cookieb_toggle_off:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#cookieb_toggle_off.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    telemetry_mirror: SecurityUiProtectionspopup_Click_CookiebToggleOff

  click_protectionspopup_cfr:
    type: event
    description: >
      User interaction by click events in the protections panel.
      This event was generated to correspond to the Legacy Telemetry event
      security.ui.protectionspopup.click#protectionspopup_cfr.
    bugs: *security_ui_protectionspopup_click_bugs
    data_reviews: *security_ui_protectionspopup_click_data_reviews
    notification_emails: *security_ui_protectionspopup_click_emails
    expires: never
    extra_keys: *security_ui_protectionspopup_open_extra
    telemetry_mirror: SecurityUiProtectionspopup_Click_ProtectionspopupCfr

  click_smartblockembeds_toggle:
    type: event
    description: >
      Triggered when SmartBlock embed toggles are clicked by the user
    extra_keys:
      isBlock:
        description: >
          boolean representing if this was a block or an unblock
        type: boolean
      openingReason:
        description: >
          string representing how the protections panel was opened,
          one of ["shieldButtonClicked", "embedPlaceholderButton", "toastButtonClicked"]
        type: string
    bugs:
      - https://bugzil.la/1920735
      - https://bugzil.la/1958162
    data_reviews:
      - https://bugzil.la/1920735
    notification_emails:
      - wwen@mozilla.com
      - emz@mozilla.com
    expires:
      146

  smartblockembeds_shown:
    type: counter
    description: >
      How many times the SmartBlock placeholders are shown on the page
    bugs:
      - https://bugzil.la/1920735
      - https://bugzil.la/1958162
    data_reviews:
      - https://bugzil.la/1920735
    notification_emails:
      - wwen@mozilla.com
      - emz@mozilla.com
    expires:
      146

browser.engagement:
  bookmarks_toolbar_bookmark_added:
    type: counter
    description: >
      The count of bookmarks added to the bookmarks toolbar. This counts
      bookmarks created on the bookmarks toolbar and bookmarks moved to
      the bookmarks toolbar.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.bookmarks_toolbar_bookmark_added.
    bugs:
      - https://bugzil.la/1665391
    data_reviews:
      - https://bugzil.la/1665391
    notification_emails:
      - rtestard@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_ENGAGEMENT_BOOKMARKS_TOOLBAR_BOOKMARK_ADDED

  bookmarks_toolbar_bookmark_opened:
    type: counter
    description: >
      The count of bookmarks opened from the Bookmarks Toolbar. This
      counts bookmarks opened on the toolbar and bookmarks opened from the
      'symlinked' Other Bookmarks folder on the Bookmarks Toolbar. It does
      not count Bookmarks Toolbar bookmarks opened via the Library,
      Bookmarks Menu, or other UI since the goal is to measure
      interactions that pass through the toolbar.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.bookmarks_toolbar_bookmark_opened.
    bugs:
      - https://bugzil.la/1665391
    data_reviews:
      - https://bugzil.la/1665391
    notification_emails:
      - rtestard@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_ENGAGEMENT_BOOKMARKS_TOOLBAR_BOOKMARK_OPENED

  total_top_visits:
    type: labeled_counter
    description: >
      Count the number of times a new top page was starting to load

      This metric was generated to correspond to the Legacy Telemetry boolean
      histogram FX_TOTAL_TOP_VISITS.
    labels:
      - "false"
      - "true"
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    notification_emails:
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: h#FX_TOTAL_TOP_VISITS

networking:
  captive_portal_banner_displayed:
    type: counter
    description: >
      Number of times the captive portal banner was displayed in this
      session.
      This metric was generated to correspond to the Legacy Telemetry
      scalar networking.captive_portal_banner_displayed.
    bugs:
      - https://bugzil.la/1868145
    data_reviews:
      - https://bugzil.la/1868145
    notification_emails:
      - necko@mozilla.com
    expires: never
    telemetry_mirror: NETWORKING_CAPTIVE_PORTAL_BANNER_DISPLAYED

  captive_portal_banner_display_time:
    type: labeled_counter
    description: >
      Number of seconds the captive portal banner was displayed for, keyed
      by close reason:
        "success" - the portal login was completed
        "abort"   - the portal login was aborted (e.g. loss of network)
        "dismiss" - the user dismissed the banner
      This metric was generated to correspond to the Legacy Telemetry
      scalar networking.captive_portal_banner_display_time.
    bugs:
      - https://bugzil.la/1868145
    data_reviews:
      - https://bugzil.la/1868145
    notification_emails:
      - necko@mozilla.com
    expires: never
    labels:
      - success
      - abort
      - dismiss
    telemetry_mirror: NETWORKING_CAPTIVE_PORTAL_BANNER_DISPLAY_TIME

browser.timings:
  tab_click:
    type: timing_distribution
    description: >
      Firefox: Time in ms spent on switching tabs in response to a tab click

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram FX_TAB_CLICK_MS.
    time_unit: millisecond
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710
    notification_emails:
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: FX_TAB_CLICK_MS

  new_window:
    type: timing_distribution
    description: >
      Firefox: Time taken to open a new browser window (ms)

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram FX_NEW_WINDOW_MS.
    time_unit: millisecond
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    notification_emails:
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: FX_NEW_WINDOW_MS

  page_load:
    type: timing_distribution
    description: >
      Firefox: Time taken to load a page (ms). This includes all static
      contents, no dynamic content. Page reloads and loading of about: pages are
      not included.

      This metric was generated to correspond to the Legacy Telemetry linear
      histogram FX_PAGE_LOAD_MS_2.
    time_unit: millisecond
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1504247
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1549519
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1504247
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1549519
    notification_emails:
      - perf-telemetry-alerts@mozilla.com
      - product-metrics-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: FX_PAGE_LOAD_MS_2

  page_reload_normal:
    type: timing_distribution
    description: >
      Firefox: Time taken to reload a page (ms) when using the
      LOAD_RELOAD_NORMAL flag

      This metric was generated to correspond to the Legacy Telemetry linear
      histogram FX_PAGE_RELOAD_NORMAL_MS.
    time_unit: millisecond
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1549519
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1549519
    notification_emails:
      - sefeng@mozilla.com
      - perf-telemetry-alerts@mozilla.com
      - product-metrics-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: FX_PAGE_RELOAD_NORMAL_MS

  page_reload_skip_cache:
    type: timing_distribution
    description: >
      Firefox: Time taken to reload a page (ms) when caches are skipped

      This metric was generated to correspond to the Legacy Telemetry linear
      histogram FX_PAGE_RELOAD_SKIP_CACHE_MS.
    time_unit: millisecond
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1549519
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1549519
    notification_emails:
      - sefeng@mozilla.com
      - perf-telemetry-alerts@mozilla.com
      - product-metrics-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: FX_PAGE_RELOAD_SKIP_CACHE_MS