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 (651 lines) | stat: -rw-r--r-- 21,393 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
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
# 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 :: Migration'

browser.migration:
  matched_extensions:
    type: string_list
    description: >
      Records a list of the Chrome extension IDs that were successfully
      matched to Firefox equivalents from the list downloaded from AMO.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1807023
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1807023
    data_sensitivity:
      - technical
    notification_emails:
      - mconley@mozilla.com
    expires: never

  unmatched_extensions:
    type: string_list
    description: >
      Records a list of the Chrome extension IDs that were unsuccessfully
      matched to Firefox equivalents from the list downloaded from AMO.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1807023
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1807023
    data_sensitivity:
      - technical
    notification_emails:
      - mconley@mozilla.com
    expires: never

  opened_wizard:
    type: event
    description: >
      Recorded when the migration wizard opens.
      This event was generated to correspond to the Legacy Telemetry event
      browser.migration.opened#wizard.
    bugs:
      - https://bugzil.la/1824786
    data_reviews:
      - https://bugzil.la/1824786
    notification_emails:
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: BrowserMigration_Opened_Wizard

  no_browsers_found_wizard:
    type: event
    description: >
      Recorded when the migration wizard reports that there are no
      browsers to migrate from.
      This event was generated to correspond to the Legacy Telemetry event
      browser.migration.no_browsers_found#wizard.
    bugs:
      - https://bugzil.la/1824786
    data_reviews:
      - https://bugzil.la/1824786
    notification_emails:
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: BrowserMigration_NoBrowsersFound_Wizard

  browser_selected_wizard:
    type: event
    description: >
      Recorded when the user selects a browser to migrate from.
      This event was generated to correspond to the Legacy Telemetry event
      browser.migration.browser_selected#wizard.
    bugs:
      - https://bugzil.la/1824786
    data_reviews:
      - https://bugzil.la/1824786
    notification_emails:
      - mconley@mozilla.com
    expires: never
    extra_keys:
      migrator_key:
        description: >
          The key of the browser that was selected.
        type: string
    telemetry_mirror: BrowserMigration_BrowserSelected_Wizard

  profile_selected_wizard:
    type: event
    description: >
      Recorded when the user selects a profile to migrate from. If the
      browser doesn't support multiple profiles, this will not be
      recorded.
      This event was generated to correspond to the Legacy Telemetry event
      browser.migration.profile_selected#wizard.
    bugs:
      - https://bugzil.la/1824786
    data_reviews:
      - https://bugzil.la/1824786
    notification_emails:
      - mconley@mozilla.com
    expires: never
    extra_keys:
      migrator_key:
        description: >
          The key of the browser that had a profile selected for it.
        type: string
    telemetry_mirror: BrowserMigration_ProfileSelected_Wizard

  resources_selected_wizard:
    type: event
    description: >
      Recorded when the user selects resources from the browser / profile
      to import.
      This event was generated to correspond to the Legacy Telemetry event
      browser.migration.resources_selected#wizard.
    bugs:
      - https://bugzil.la/1824786
    data_reviews:
      - https://bugzil.la/1824786
    notification_emails:
      - mconley@mozilla.com
    expires: never
    extra_keys:
      migrator_key:
        description: >
          The key of the browser that had resources selected for it.
        type: string
      history:
        description: >
          "1" if history was selected. "0" otherwise.

        type: string
      formdata:
        description: >
          "1" if form data was selected. "0" otherwise.

        type: string
      passwords:
        description: >
          "1" if passwords was selected. "0" otherwise.

        type: string
      bookmarks:
        description: >
          "1" if bookmarks were selected. "0" otherwise.

        type: string
      payment_methods:
        description: >
          "1" if payment methods were selected. "0" otherwise.

        type: string
      extensions:
        description: >
          "1" if extensions were selected. "0" otherwise.

        type: string
      other:
        description: >
          A count of the number of other resource types that were selected.
        type: quantity
      configured:
        description: >
          "1" if Variant 2 of the new Migration Wizard was being used, and the list of resources was expanded. "0" otherwise.

        type: string
    telemetry_mirror: BrowserMigration_ResourcesSelected_Wizard

  linux_perms_wizard:
    type: event
    description: >
      Recorded if the user is on Linux and the browser is installed in a
      sandboxed environment that prevents it from reading other browser's
      data, and the user is presented with instructions and an option to
      grant the browser permission to read that other data.
      This event was generated to correspond to the Legacy Telemetry event
      browser.migration.linux_perms#wizard.
    bugs:
      - https://bugzil.la/1824786
    data_reviews:
      - https://bugzil.la/1824786
    notification_emails:
      - mconley@mozilla.com
    expires: never
    extra_keys:
      migrator_key:
        description: >
          The key of the migrator that will perform the migration.
        type: string
    telemetry_mirror: BrowserMigration_LinuxPerms_Wizard

  safari_perms_wizard:
    type: event
    description: >
      Recorded if the user is on macOS, chose to migrate from Safari, and
      was presented with the page of the wizard requesting permission to
      read from the Safari profile folder.
      This event was generated to correspond to the Legacy Telemetry event
      browser.migration.safari_perms#wizard.
    bugs:
      - https://bugzil.la/1824786
    data_reviews:
      - https://bugzil.la/1824786
    notification_emails:
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: BrowserMigration_SafariPerms_Wizard

  safari_password_file_wizard:
    type: event
    description: >
      Recorded if the user is on macOS, chose to migrate from Safari, and
      was presented with the page of the wizard requesting to import
      passwords from a file. This only gets recorded in the new migration
      wizard.
      This event was generated to correspond to the Legacy Telemetry event
      browser.migration.safari_password_file#wizard.
    bugs:
      - https://bugzil.la/1824786
    data_reviews:
      - https://bugzil.la/1824786
    notification_emails:
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: BrowserMigration_SafariPasswordFile_Wizard

  chrome_password_file_wizard:
    type: event
    description: >
      Recorded if the user is importing from Chrome, and was presented with
      the page of the wizard requesting to import passwords from a file. This
      currently only gets shown on Windows.
    bugs:
      - https://bugzil.la/1960560
    data_reviews:
      - https://bugzil.la/1960560
    notification_emails:
      - mconley@mozilla.com
    expires: never

  migration_started_wizard:
    type: event
    description: >
      Recorded when the user begins a migration.
      This event was generated to correspond to the Legacy Telemetry event
      browser.migration.migration_started#wizard.
    bugs:
      - https://bugzil.la/1824786
    data_reviews:
      - https://bugzil.la/1824786
    notification_emails:
      - mconley@mozilla.com
    expires: never
    extra_keys:
      migrator_key:
        description: >
          The key of the migrator that will perform the migration.
        type: string
      history:
        description: >
          "1" if history is being migrated. "0" otherwise.

        type: string
      formdata:
        description: >
          "1" if form data is being migrated. "0" otherwise.

        type: string
      passwords:
        description: >
          "1" if passwords are being migrated. "0" otherwise.

        type: string
      bookmarks:
        description: >
          "1" if bookmarks are being migrated. "0" otherwise.

        type: string
      payment_methods:
        description: >
          "1" if payment methods are being migrated. "0" otherwise.

        type: string
      extensions:
        description: >
          "1" if extensions are being migrated. "0" otherwise.

        type: string
      other:
        description: >
          A count of the number of other resource types that are being migrated.
        type: quantity
    telemetry_mirror: BrowserMigration_MigrationStarted_Wizard

  migration_finished_wizard:
    type: event
    description: >
      Recorded when the user finishes a migration.
      This event was generated to correspond to the Legacy Telemetry event
      browser.migration.migration_finished#wizard.
    bugs:
      - https://bugzil.la/1824786
    data_reviews:
      - https://bugzil.la/1824786
    notification_emails:
      - mconley@mozilla.com
    expires: never
    extra_keys:
      migrator_key:
        description: >
          The key of the migrator that will perform the migration.
        type: string
      history:
        description: >
          "1" if history was migrated. "0" otherwise.

        type: string
      formdata:
        description: >
          "1" if form data was migrated. "0" otherwise.

        type: string
      passwords:
        description: >
          "1" if passwords were migrated. "0" otherwise.

        type: string
      bookmarks:
        description: >
          "1" if bookmarks were migrated. "0" otherwise.

        type: string
      payment_methods:
        description: >
          "1" if payment methods were migrated. "0" otherwise.

        type: string
      extensions:
        description: >
          "1" if no extensions were matched, "2" if only some extensions were matched, "3" if all extensions were matched, and "0" if extensions weren't selected for migration.

        type: string
      other:
        description: >
          A count of the number of other resource types that were migrated.
        type: quantity
    telemetry_mirror: BrowserMigration_MigrationFinished_Wizard

  entry_point_categorical:
    type: labeled_counter
    description: >
      Where the migration wizard was entered from.

      This metric was generated to correspond to the Legacy Telemetry
      categorical histogram FX_MIGRATION_ENTRY_POINT_CATEGORICAL.
    labels:
      - unknown
      - firstrun
      - fxrefresh
      - places
      - passwords
      - newtab
      - file_menu
      - help_menu
      - bookmarks_toolbar
      - preferences
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1822692
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1822692
    notification_emails:
      - mconley@mozilla.com
      - gijs@mozilla.com
      - mak@mozilla.com
    expires: never
    telemetry_mirror: h#FX_MIGRATION_ENTRY_POINT_CATEGORICAL

  source_browser:
    type: custom_distribution
    description: >
      The browser that data is pulled from. The values correspond to the
      internal browser ID (see MigrationUtils.sys.mjs)

      This metric was generated to correspond to the Legacy Telemetry enumerated
      histogram FX_MIGRATION_SOURCE_BROWSER.
    range_min: 0
    range_max: 15
    bucket_count: 16
    histogram_type: linear
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=731025
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1523179
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=731025
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1523179
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    notification_emails:
      - gijs@mozilla.com
      - mak@mozilla.com
    expires: never
    telemetry_mirror: FX_MIGRATION_SOURCE_BROWSER

  errors:
    type: labeled_custom_distribution
    description: >
      Errors encountered during migration in buckets defined by the datatype,
      keyed by the string description of the browser.

      This metric was generated to correspond to the Legacy Telemetry enumerated
      histogram FX_MIGRATION_ERRORS.
    range_min: 0
    range_max: 12
    bucket_count: 13
    histogram_type: linear
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=731025
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584261
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=731025
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584261
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    notification_emails:
      - gijs@mozilla.com
      - mak@mozilla.com
    expires: never
    telemetry_mirror: FX_MIGRATION_ERRORS

  usage:
    type: labeled_custom_distribution
    description: >
      Usage of migration for each datatype when migration is run through the
      post-firstrun flow which allows individual datatypes, keyed by the string
      description of the browser.

      This metric was generated to correspond to the Legacy Telemetry enumerated
      histogram FX_MIGRATION_USAGE.
    range_min: 0
    range_max: 12
    bucket_count: 13
    histogram_type: linear
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=731025
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584261
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=731025
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584261
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    notification_emails:
      - gijs@mozilla.com
      - mak@mozilla.com
    expires: never
    telemetry_mirror: FX_MIGRATION_USAGE

  bookmarks_quantity:
    type: labeled_custom_distribution
    description: >
      How many bookmarks we imported from another browser, keyed by the name of
      the browser.

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram FX_MIGRATION_BOOKMARKS_QUANTITY.
    range_min: 1
    range_max: 1000
    bucket_count: 20
    histogram_type: exponential
    unit: bookmarks
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1279501
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1279501
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    notification_emails:
      - gijs@mozilla.com
      - mak@mozilla.com
    expires: never
    telemetry_mirror: FX_MIGRATION_BOOKMARKS_QUANTITY

  history_quantity:
    type: labeled_custom_distribution
    description: >
      How many history visits we imported from another browser, keyed by the
      name of the browser.

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram FX_MIGRATION_HISTORY_QUANTITY.
    range_min: 1
    range_max: 10000
    bucket_count: 40
    histogram_type: exponential
    unit: history visits
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1279501
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1279501
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    notification_emails:
      - gijs@mozilla.com
      - mak@mozilla.com
    expires: never
    telemetry_mirror: FX_MIGRATION_HISTORY_QUANTITY

  logins_quantity:
    type: labeled_custom_distribution
    description: >
      How many logins (passwords) we imported from another browser, keyed by the
      name of the browser.

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram FX_MIGRATION_LOGINS_QUANTITY.
    range_min: 1
    range_max: 1000
    bucket_count: 20
    histogram_type: exponential
    unit: passwords
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1279501
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584261
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1279501
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584261
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643431
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1678204
    notification_emails:
      - gijs@mozilla.com
      - mak@mozilla.com
      - passwords-dev@mozilla.org
    expires: never
    telemetry_mirror: FX_MIGRATION_LOGINS_QUANTITY

  cards_quantity:
    type: labeled_custom_distribution
    description: >
      How many credit card entries we imported from another browser, keyed by
      the name of the browser.

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram FX_MIGRATION_CARDS_QUANTITY.
    range_min: 1
    range_max: 1000
    bucket_count: 20
    histogram_type: exponential
    unit: credit card entries
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1834545
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1834545
    notification_emails:
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: FX_MIGRATION_CARDS_QUANTITY

  extensions_quantity:
    type: labeled_custom_distribution
    description: >
      How many extensions were matched to be imported from another browser,
      keyed by the name of the browser.

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram FX_MIGRATION_EXTENSIONS_QUANTITY.
    range_min: 1
    range_max: 1000
    bucket_count: 20
    histogram_type: exponential
    unit: extensions
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1834545
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1834545
    notification_emails:
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: FX_MIGRATION_EXTENSIONS_QUANTITY

migration:
  uninstaller_profile_refresh:
    type: boolean
    description: >
      Set when a profile refresh is initiated from the uninstaller.
      This metric was generated to correspond to the Legacy Telemetry
      scalar migration.uninstaller_profile_refresh.
    bugs:
      - https://bugzil.la/1634115
      - https://bugzil.la/1672585
    data_reviews:
      - https://bugzil.la/1634115
      - https://bugzil.la/1672585
    notification_emails:
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: MIGRATION_UNINSTALLER_PROFILE_REFRESH

  discovered_migrators:
    type: labeled_counter
    description: >
      A keyed uint recording how many times the migration wizard detected
      a browser / profile pair for a particular browser. This is
      incremented every time the discovery occurs, so multiple openings of
      the wizard will increase the counts each time.
      This metric was generated to correspond to the Legacy Telemetry
      scalar migration.discovered_migrators.
    bugs:
      - https://bugzil.la/1825655
    data_reviews:
      - https://bugzil.la/1825655
    notification_emails:
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: MIGRATION_DISCOVERED_MIGRATORS

  time_to_produce_migrator_list:
    type: timespan
    description: >
      The amount of time it took in milliseconds to produce the list of
      migrators and profiles for the first time the migration wizard
      opened during the process lifetime.
      This metric was generated to correspond to the Legacy Telemetry
      scalar migration.time_to_produce_migrator_list.
    bugs:
      - https://bugzil.la/1840917
    data_reviews:
      - https://bugzil.la/1840917
    notification_emails:
      - mconley@mozilla.com
    expires: never
    time_unit: millisecond
    telemetry_mirror: MIGRATION_TIME_TO_PRODUCE_MIGRATOR_LIST