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 (1685 lines) | stat: -rw-r--r-- 58,371 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
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
# 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'

browser.engagement:
  active_ticks:
    type: counter
    description: |
      The number of five-second intervals ('ticks') the user was considered
      'active'.

      'active' means keyboard or mouse interaction with the application.
      It doesn't take into account whether or not the window has focus or is in
      the foreground, only if it is receiving these interaction events.

      Migrated from Telemetry's `browser.engagement.active_ticks`.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1376942  # Telemetry
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172  # Telemetry
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1741674
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1755050
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172#c8
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811152#c5
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
    data_sensitivity:
      - interaction
    notification_emails:
      - loines@mozilla.com
    expires: never
    send_in_pings:
      - baseline
      - metrics
      - usage-reporting
    telemetry_mirror: BROWSER_ENGAGEMENT_ACTIVE_TICKS
    no_lint:
      - BASELINE_PING

  uri_count:
    type: counter
    description: |
      The number of total non-unique http(s) URIs visited, including page
      reloads, after the session has been restored. URIs on minimized or
      background tabs may also be counted. Private browsing uris are included.

      Migrated from Telemetry's
      `browser.engagement.total_uri_count_normal_and_private_mode`.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1535169  # Telemetry
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1741674
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1755050
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1535169#c14
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811152#c5
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
    data_sensitivity:
      - interaction
    notification_emails:
      - loines@mozilla.com
    expires: never
    send_in_pings:
      - baseline
      - metrics
      - usage-reporting
    no_lint:
      - BASELINE_PING
    telemetry_mirror: BROWSER_ENGAGEMENT_TOTAL_URI_COUNT_NORMAL_AND_PRIVATE_MODE

  uri_count_normal_mode:
    type: counter
    description: >
      The count of the total non-unique http(s) URIs visited in a
      subsession, including page reloads, after the session has been
      restored. URIs on minimized or background tabs may also be counted
      towards this. Private browsing is not included in this count.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.total_uri_count.
    bugs:
      - https://bugzil.la/1271313
      - https://bugzil.la/1529232
    data_reviews:
      - https://bugzil.la/1271313
      - https://bugzil.la/1529232
    notification_emails:
      - rweiss@mozilla.com
      - loines@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_ENGAGEMENT_TOTAL_URI_COUNT

  profile_count:
    type: quantity
    unit: profiles
    description: |
      Windows only count of the browser profiles on the current system. This
      counts profiles that have been used across all Windows user accounts on
      machine since this probe was added. The value persists across installs.
      A value of 0 is reported if there is an error determining the correct
      count. Unset on other platforms.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1813195
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1647422#c8
    data_sensitivity:
      - technical
    notification_emails:
      - pmcmanis@mozilla.com
      - rtestard@mozilla.com
    send_in_pings:
      - metrics
    expires: never
    telemetry_mirror: BROWSER_ENGAGEMENT_PROFILE_COUNT

  max_concurrent_tab_count:
    type: quantity
    description: >
      The count of maximum number of tabs open during a subsession, across
      all windows, including tabs in private windows and restored at
      startup.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.max_concurrent_tab_count.
    bugs:
      - https://bugzil.la/1271304
    data_reviews:
      - https://bugzil.la/1271304
    notification_emails:
      - rweiss@mozilla.com
    expires: never
    unit: tabs
    telemetry_mirror: BROWSER_ENGAGEMENT_MAX_CONCURRENT_TAB_COUNT

  max_concurrent_vertical_tab_count:
    type: quantity
    description: >
      The count of maximum number of tabs with vertical tabs enabled.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.max_concurrent_vertical_tab_count.
    bugs:
      - https://bugzil.la/1899352
    data_reviews:
      - https://bugzil.la/1899352
    notification_emails:
      - vsabino@mozilla.com
    expires: never
    unit: vertical tabs
    telemetry_mirror: BROWSER_ENGAGEMENT_MAX_CONCURRENT_VERTICAL_TAB_COUNT

  max_concurrent_window_count:
    type: quantity
    description: >
      The count of maximum number of browser windows open during a
      subsession. This includes private windows and the ones opened when
      starting the browser.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.max_concurrent_window_count.
    bugs:
      - https://bugzil.la/1271304
    data_reviews:
      - https://bugzil.la/1271304
    notification_emails:
      - rweiss@mozilla.com
    expires: never
    unit: windows
    telemetry_mirror: BROWSER_ENGAGEMENT_MAX_CONCURRENT_WINDOW_COUNT

  max_concurrent_tab_pinned_count:
    type: quantity
    description: >
      The count of maximum number of pinned tabs open during a subsession.
      This includes private windows and the ones opened when starting the
      browser. Starting Firefox 85 this includes number of restored pinned
      tabs at startup.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.max_concurrent_tab_pinned_count.
    bugs:
      - https://bugzil.la/1505535
    data_reviews:
      - https://bugzil.la/1505535
    notification_emails:
      - bmiroglio@mozilla.com
      - aoprea@mozilla.com
    expires: never
    unit: pinned tabs
    telemetry_mirror: BROWSER_ENGAGEMENT_MAX_CONCURRENT_TAB_PINNED_COUNT

  max_concurrent_vertical_tab_pinned_count:
    type: quantity
    description: >
      The count of maximum number of pinned tabs with vertical tabs
      enabled.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.max_concurrent_vertical_tab_pinned_count.
    bugs:
      - https://bugzil.la/1899352
    data_reviews:
      - https://bugzil.la/1899352
    notification_emails:
      - vsabino@mozilla.com
    expires: never
    unit: vertical pinned tabs
    telemetry_mirror: BROWSER_ENGAGEMENT_MAX_CONCURRENT_VERTICAL_TAB_PINNED_COUNT

  tab_open_event_count:
    type: counter
    description: >
      The count of tab open events per subsession, across all windows,
      after the session has been restored. This includes tab open events
      from private windows and from manual session restorations (i.e.
      after crashes and from about:home), but excludes tabs opened vertically.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.tab_open_event_count.
    bugs:
      - https://bugzil.la/1271304
    data_reviews:
      - https://bugzil.la/1271304
    notification_emails:
      - vsabino@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_ENGAGEMENT_TAB_OPEN_EVENT_COUNT

  vertical_tab_open_event_count:
    type: counter
    description: >
      The count of tab open events with vertical tabs enabled.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.vertical_tab_open_event_count.
    bugs:
      - https://bugzil.la/1899352
    data_reviews:
      - https://bugzil.la/1899352
    notification_emails:
      - vsabino@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_ENGAGEMENT_VERTICAL_TAB_OPEN_EVENT_COUNT

  window_open_event_count:
    type: counter
    description: >
      The count of browser window open events per subsession, after the
      session has been restored. The count includes private windows and
      the ones from manual session restorations (i.e. after crashes and
      from about:home).
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.window_open_event_count.
    bugs:
      - https://bugzil.la/1271304
    data_reviews:
      - https://bugzil.la/1271304
    notification_emails:
      - rweiss@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_ENGAGEMENT_WINDOW_OPEN_EVENT_COUNT

  tab_pinned_event_count:
    type: counter
    description: >
      The count of tab pinned events per subsession, across all windows,
      after the session has been restored. This includes tab pinned events
      from private windows.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.tab_pinned_event_count.
    bugs:
      - https://bugzil.la/1505535
    data_reviews:
      - https://bugzil.la/1505535
    notification_emails:
      - bmiroglio@mozilla.com
      - aoprea@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_ENGAGEMENT_TAB_PINNED_EVENT_COUNT

  vertical_tab_pinned_event_count:
    type: counter
    description: >
      The count of tab pinned events with vertical tabs enabled.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.vertical_tab_pinned_event_count.
    bugs:
      - https://bugzil.la/1899352
    data_reviews:
      - https://bugzil.la/1899352
    notification_emails:
      - vsabino@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_ENGAGEMENT_VERTICAL_TAB_PINNED_EVENT_COUNT

  unfiltered_uri_count:
    type: counter
    description: >
      The count of the total non-unique URIs visited in a subsession, not
      restricted to a specific protocol, including page reloads and
      about:* pages (other than initial pages such as about:blank, ...),
      after the session has been restored. This does not include
      background page requests and URIs from embedded pages or private
      browsing.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.unfiltered_uri_count.
    bugs:
      - https://bugzil.la/1304647
    data_reviews:
      - https://bugzil.la/1304647
    notification_emails:
      - bcolloran@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_ENGAGEMENT_UNFILTERED_URI_COUNT

  unique_domains_count:
    type: quantity
    description: >
      The count of the unique domains visited in a subsession, after the
      session has been restored. Subdomains under eTLD are aggregated
      after the first level (i.e. test.example.com and other.example.com
      are only counted once). This does not include background page
      requests and domains from embedded pages or private browsing. The
      count is limited to 100 unique domains.
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.engagement.unique_domains_count.
    bugs:
      - https://bugzil.la/1271310
    data_reviews:
      - https://bugzil.la/1271310
    notification_emails:
      - rweiss@mozilla.com
    expires: never
    unit: domains
    telemetry_mirror: BROWSER_ENGAGEMENT_UNIQUE_DOMAINS_COUNT

  tab_count:
    type: custom_distribution
    description: >
      Number of tabs opened across all windows, collected at most every 5
      minutes whenever the user interacts with the browser in the following
      ways: open tab/window, page load.

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram TAB_COUNT.
    range_min: 1
    range_max: 1000
    bucket_count: 100
    histogram_type: exponential
    unit: tabs
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1361855
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1488945
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1361855
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1488945
    notification_emails:
      - gijs@mozilla.com
    expires: never
    telemetry_mirror: TAB_COUNT

  loaded_tab_count:
    type: custom_distribution
    description: >
      Number of fully loaded (i.e., not pending from session restore) tabs
      opened across all windows, collected at most every 5 minutes whenever the
      user interacts with the browser in the following ways: open tab/window,
      page load, restoring a pending tab.

      This metric was generated to correspond to the Legacy Telemetry
      exponential histogram LOADED_TAB_COUNT.
    range_min: 1
    range_max: 1000
    bucket_count: 100
    histogram_type: exponential
    unit: tabs
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1634508
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1634508
    notification_emails:
      - beth@mozilla.com
      - perf-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: LOADED_TAB_COUNT

installation.first_seen:
  failure_reason:
    type: string
    description: >
      Only sent if unable to collect firstSeen data. Can have
      value "NotFoundError" if file not found or other values
      depending on the failure reason.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_FAILURE_REASON

  installer_type:
    type: string
    description: >
      The type of installer used to install Firefox.
      The value is one of "stub", "full", or "msix"
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_INSTALLER_TYPE

  version:
    type: string
    description: >
      The application version installed by the installer
      (not necessarily the current version)
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_VERSION

  admin_user:
    type: boolean
    description: >
      Whether the installer is running from an elevated admin user
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_ADMIN_USER

  install_existed:
    type: boolean
    description: >
      Whether there was already an install in this location
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_INSTALL_EXISTED

  profdir_existed:
    type: boolean
    description: >
      Whether the top-level profile directory existed
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_PROFDIR_EXISTED

  other_inst:
    type: boolean
    description: >
      Whether there was already any non-MSIX install on this system
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_OTHER_INST

  other_msix_inst:
    type: boolean
    description: >
      Whether there was already any MSIX install on this system
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_OTHER_MSIX_INST

  silent:
    type: boolean
    description: >
      (optional, present if installer_type is "full")
      Whether this was a silent install
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_SILENT

  from_msi:
    type: boolean
    description: >
      (optional, present if installer_type is "full")
      Whether this was an MSI install
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_FROM_MSI

  default_path:
    type: boolean
    description: >
      (optional, present if installer_type is "full")
      Whether the default path was used
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811374
    data_sensitivity:
      - technical
    notification_emails:
      - rtestard@mozilla.com
      - application-update-telemetry-alerts@mozilla.com
    expires: never
    telemetry_mirror: INSTALLATION_FIRSTSEEN_DEFAULT_PATH

performance.interaction:
  tab_switch_composite:
    type: timing_distribution
    time_unit: millisecond
    telemetry_mirror: FX_TAB_SWITCH_COMPOSITE_E10S_MS
    description: >
      Time between tab selection and first composite of the tab content onto the
      screen.
      (Migrated from the geckoview metric of the same name.)
    metadata:
      tags:
        - 'Firefox :: Tabbed Browser'
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1481704
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1529352
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
    notification_emails:
      - mconley@mozilla.com
      - perf-telemetry-alerts@mozilla.com
    expires: never

browser.usage:
  interaction:
    type: event
    description: >
      The user interacted with something in the Firefox Desktop frontend.
      Could be via mouse or keyboard, could be a command or a UI element.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1889111
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1912172
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1889111
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1912172
    expires: never
    data_sensitivity: [interaction]
    notification_emails:
      - chutten@mozilla.com
    extra_keys:
      flow_id:
        type: string
        description: >
          An UUIDv4 used to group interaction events together under the
          assumption that they're part of the same user activity.
          See BrowserUsageTelemetry's FLOW_IDLE_TIME for details.
      source:
        type: string
        description: >
          The source of the interaction. Usually a UI section
          (like `bookmarks_bar` or `content_context`), but can also be an input
          method (like `keyboard`).
          The full list of supported `source`s can be found in
          `BrowserUsageTelemetry`'s `BROWSER_UI_CONTAINER_IDS. Plus `keyboard`
          and panes from `about:preferences` listed in `PREFERENCES_PANES`.
          See `_getWidgetContainer` for details.
      widget_id:
        type: string
        description: >
          The item interacted with.
          Usually the `id` of the DOM Node that the user used,
          sometimes the `id` of the parent or ancestor Node instead.
          This node is then conjugated by obscuring any addon id in it
          (turning it to the string `addonX` where `X` is a number stable
          within a browsing session) and then replacing any underscore with a
          hyphen.
          See `BrowserUsageTelemetry#_getWidgetID` and `telemetryId`.
          e.g. "Browser:Reload", "key-newNavigatorTab", "PanelUI-Bookmarks".
    send_in_pings:
      - prototype-no-code-events

browser.ui:
  toolbar_widgets:
    type: object
    description: >
      What widgets are in which toolbars.
      Not dissimilar from Telemetry's `browser.ui.toolbar_widgets`,
      but in a friendlier format.
      See https://firefox-source-docs.mozilla.org/browser/BrowserUsageTelemetry.html
      for how widget ids and positions are determined.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1913362
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1940641
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1913362
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1940641
    data_sensitivity:
      - interaction
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
      - chutten@mozilla.com
    expires: never
    structure:
      type: array
      items:
        type: object
        properties:
          position:
            type: string
          widgetId:
            type: string

  mirror_for_toolbar_widgets:
    type: labeled_boolean
    description: >
      The widgets in the toolbars. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.toolbar_widgets.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_TOOLBAR_WIDGETS

  customized_widgets:
    type: labeled_counter
    description: >
      Records when widgets are added, removed or moved in the UI. See
      https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.customized_widgets.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_CUSTOMIZED_WIDGETS

homepage:
  preference_ignore:
    type: event
    description: >
      This is recorded whenever the homepage preference is either reset
      due to being on the ignore list, or setting is blocked due to being
      on the same list. The value field records the reason for the ignore.
      "saved_reset" for when a saved preference value is reset.
      "set_blocked" for when the setting was blocked and
      "set_blocked_extension" for when we know a WebExtension attempting
      to set it was blocked.
      This event was generated to correspond to the Legacy Telemetry event
      homepage.preference#ignore.
    bugs:
      - https://bugzil.la/1535049
    data_reviews:
      - https://bugzil.la/1535049
    notification_emails:
      - mdeboer@mozilla.com
      - rharter@mozilla.com
    expires: never
    extra_keys:
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      webExtensionId:
        description: >
          The identifier of the webextension, if known.
        type: string
    telemetry_mirror: Homepage_Preference_Ignore

installation:
  first_seen_full:
    type: event
    description: >
      Recorded after the application has been installed or reinstalled,
      the first time that a profile sees that there was a new
      installation. This includes information about how the installer was
      run.
      This event was generated to correspond to the Legacy Telemetry event
      installation.first_seen#full.
    bugs: &installation_first_seen_bugs
      - https://bugzil.la/1660198
      - https://bugzil.la/1725295
      - https://bugzil.la/1743465
      - https://bugzil.la/1754638
    data_reviews: &installation_first_seen_data_reviews
      - https://bugzil.la/1660198
      - https://bugzil.la/1725295
      - https://bugzil.la/1743465
      - https://bugzil.la/1754638
    notification_emails: &installation_first_seen_emails
      - application-update-telemetry-alerts@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys: &installation_first_seen_extra
      version:
        description: >
          The application version installed by the installer (not necessarily the current version)
        type: string
      build_id:
        description: >
          The build ID of the application installed by the installer (not necessarily the current version)
        type: string
      admin_user:
        description: >
          Whether the installer is running from an elevated admin user
        type: string
      install_existed:
        description: >
          Whether there was already an install in this location
        type: string
      other_inst:
        description: >
          Whether there was already any non-MSIX install on this system
        type: string
      other_msix_inst:
        description: >
          Whether there was already any MSIX install on this system
        type: string
      profdir_existed:
        description: >
          Whether the top-level profile directory existed
        type: string
      silent:
        description: >
          (optional, present if object is "full") Whether this was a silent install
        type: string
      from_msi:
        description: >
          (optional, present if object is "full") Whether this was an MSI install
        type: string
      default_path:
        description: >
          (optional, present if object is "full") Whether the default path was used
        type: string
    telemetry_mirror: Installation_FirstSeen_Full
    no_lint:
      - COMMON_PREFIX

  first_seen_stub:
    type: event
    description: >
      Recorded after the application has been installed or reinstalled,
      the first time that a profile sees that there was a new
      installation. This includes information about how the installer was
      run.
      This event was generated to correspond to the Legacy Telemetry event
      installation.first_seen#stub.
    bugs: *installation_first_seen_bugs
    data_reviews: *installation_first_seen_data_reviews
    notification_emails: *installation_first_seen_emails
    expires: never
    extra_keys: *installation_first_seen_extra
    telemetry_mirror: Installation_FirstSeen_Stub
    no_lint:
      - COMMON_PREFIX

  first_seen_msix:
    type: event
    description: >
      Recorded after the application has been installed or reinstalled,
      the first time that a profile sees that there was a new
      installation. This includes information about how the installer was
      run.
      This event was generated to correspond to the Legacy Telemetry event
      installation.first_seen#msix.
    bugs: *installation_first_seen_bugs
    data_reviews: *installation_first_seen_data_reviews
    notification_emails: *installation_first_seen_emails
    expires: never
    extra_keys: *installation_first_seen_extra
    telemetry_mirror: Installation_FirstSeen_Msix
    no_lint:
      - COMMON_PREFIX

partner_link:
  click_newtab:
    type: event
    description: >
      This is recorded when clicking a partner link. The value is the
      partner.
      This event was generated to correspond to the Legacy Telemetry event
      partner_link.click#newtab.
    bugs: &partner_link_click_bugs
      - https://bugzil.la/1637217
      - https://bugzil.la/1644442
      - https://bugzil.la/1643426
    data_reviews: &partner_link_click_data_reviews
      - https://bugzil.la/1637217
      - https://bugzil.la/1644442
      - https://bugzil.la/1643426
    notification_emails: &partner_link_click_emails
      - dao@mozilla.com
    expires: never
    extra_keys: &partner_link_click_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
    telemetry_mirror: Partner_link_Click_Newtab

  click_urlbar:
    type: event
    description: >
      This is recorded when clicking a partner link. The value is the
      partner.
      This event was generated to correspond to the Legacy Telemetry event
      partner_link.click#urlbar.
    bugs: *partner_link_click_bugs
    data_reviews: *partner_link_click_data_reviews
    notification_emails: *partner_link_click_emails
    expires: never
    extra_keys: *partner_link_click_extra
    telemetry_mirror: Partner_link_Click_Urlbar

  attribution_success:
    type: event
    description: >
      This is recorded when sending an attribution request for a partner
      link. The value is the partner.
      This event was generated to correspond to the Legacy Telemetry event
      partner_link.attribution#success.
    bugs: &partner_link_attribution_bugs
      - https://bugzil.la/1637217
      - https://bugzil.la/1644442
      - https://bugzil.la/1643426
    data_reviews: &partner_link_attribution_data_reviews
      - https://bugzil.la/1637217
      - https://bugzil.la/1644442
      - https://bugzil.la/1643426
    notification_emails: &partner_link_attribution_emails
      - dao@mozilla.com
    expires: never
    extra_keys: &partner_link_attribution_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
    telemetry_mirror: Partner_link_Attribution_Success

  attribution_failure:
    type: event
    description: >
      This is recorded when sending an attribution request for a partner
      link. The value is the partner.
      This event was generated to correspond to the Legacy Telemetry event
      partner_link.attribution#failure.
    bugs: *partner_link_attribution_bugs
    data_reviews: *partner_link_attribution_data_reviews
    notification_emails: *partner_link_attribution_emails
    expires: never
    extra_keys: *partner_link_attribution_extra
    telemetry_mirror: Partner_link_Attribution_Failure

  attribution_abort:
    type: event
    description: >
      This is recorded when sending an attribution request for a partner
      link. The value is the partner.
      This event was generated to correspond to the Legacy Telemetry event
      partner_link.attribution#abort.
    bugs: *partner_link_attribution_bugs
    data_reviews: *partner_link_attribution_data_reviews
    notification_emails: *partner_link_attribution_emails
    expires: never
    extra_keys: *partner_link_attribution_extra
    telemetry_mirror: Partner_link_Attribution_Abort

browser.ui.interaction:
  menu_bar:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the menu bar. See
      https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.menu_bar.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_MENU_BAR

  tabs_bar:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the tab bar. See
      https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.tabs_bar.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_TABS_BAR

  vertical_tabs_container:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the vertical tab bar.
      See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.vertical_tabs_container.
    bugs:
      - https://bugzil.la/1921789
    data_reviews:
      - https://bugzil.la/1921789
    notification_emails:
      - vsabino@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_VERTICAL_TABS_CONTAINER

  nav_bar:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the nav bar. See
      https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.nav_bar.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_NAV_BAR

  bookmarks_bar:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the bookmarks bar. See
      https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.bookmarks_bar.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_BOOKMARKS_BAR

  app_menu:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the app menu. See
      https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.app_menu.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_APP_MENU

  tabs_context:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the tab context menu.
      See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.tabs_context.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_TABS_CONTEXT

  tabs_context_entrypoint:
    type: labeled_counter
    description: >
      Records a count for each entrypoint (the container of the trigger
      node) when an item from the tabs context menu is selected. See
      https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.tabs_context_entrypoint.
    bugs:
      - https://bugzil.la/1804722
    data_reviews:
      - https://bugzil.la/1804722
    notification_emails:
      - shong@mozilla.com
      - mconley@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_TABS_CONTEXT_ENTRYPOINT

  content_context:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the content context
      menu. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.content_context.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_CONTENT_CONTEXT

  overflow_menu:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the overflow menu. See
      https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.overflow_menu.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_OVERFLOW_MENU

  unified_extensions_area:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the Unified Extensions
      area. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.unified_extensions_area.
    bugs:
      - https://bugzil.la/1800114
    data_reviews:
      - https://bugzil.la/1800114
    notification_emails:
      - dtownsend@mozilla.com
      - mconley@mozilla.com
      - wdurand@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_UNIFIED_EXTENSIONS_AREA

  pinned_overflow_menu:
    type: labeled_counter
    description: >
      Records a count of interactions with items in the pinned area of the
      overflow menu. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.pinned_overflow_menu.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PINNED_OVERFLOW_MENU

  pageaction_urlbar:
    type: labeled_counter
    description: >
      Records a count of interactions with page action items in the url
      bar. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.pageaction_urlbar.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PAGEACTION_URLBAR

  pageaction_panel:
    type: labeled_counter
    description: >
      Records a count of interactions with page action items in the panel.
      See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.pageaction_panel.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PAGEACTION_PANEL

  preferences_pane_home:
    type: labeled_counter
    description: >
      Records the items interacted with in the Home section of
      preferences. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.preferences_paneHome.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PREFERENCES_PANEHOME

  preferences_pane_general:
    type: labeled_counter
    description: >
      Records the items interacted with in the General section of
      preferences. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.preferences_paneGeneral.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PREFERENCES_PANEGENERAL

  preferences_pane_privacy:
    type: labeled_counter
    description: >
      Records the items interacted with in the Privacy section of
      preferences. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.preferences_panePrivacy.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PREFERENCES_PANEPRIVACY

  preferences_pane_search:
    type: labeled_counter
    description: >
      Records the items interacted with in the Search section of
      preferences. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.preferences_paneSearch.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PREFERENCES_PANESEARCH

  preferences_pane_search_results:
    type: labeled_counter
    description: >
      Records the items interacted with in the Search results section of
      preferences. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.preferences_paneSearchResults.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PREFERENCES_PANESEARCHRESULTS

  preferences_pane_sync:
    type: labeled_counter
    description: >
      Records the items interacted with in the Sync section of
      preferences. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.preferences_paneSync.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PREFERENCES_PANESYNC

  preferences_pane_containers:
    type: labeled_counter
    description: >
      Records the items interacted with in the Containers section of
      preferences. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.preferences_paneContainers.
    bugs:
      - https://bugzil.la/1620358
    data_reviews:
      - https://bugzil.la/1620358
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PREFERENCES_PANECONTAINERS

  preferences_pane_experimental:
    type: labeled_counter
    description: >
      Records the items interacted with in the Experimental section of
      preferences. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.preferences_paneExperimental.
    bugs:
      - https://bugzil.la/1620358
      - https://bugzil.la/1651986
    data_reviews:
      - https://bugzil.la/1620358
      - https://bugzil.la/1651986
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PREFERENCES_PANEEXPERIMENTAL

  preferences_pane_more_from_mozilla:
    type: labeled_counter
    description: >
      Records the items interacted with in the More From Mozilla section
      of preferences. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.preferences_paneMoreFromMozilla.
    bugs:
      - https://bugzil.la/1738187
    data_reviews:
      - https://bugzil.la/1738187
    notification_emails:
      - shong@mozilla.com
      - pdahiya@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PREFERENCES_PANEMOREFROMMOZILLA

  preferences_pane_unknown:
    type: labeled_counter
    description: >
      Records the items interacted with in any other section of
      preferences. See https://firefox-source-
      docs.mozilla.org/browser/BrowserUsageTelemetry.html
      This metric was generated to correspond to the Legacy Telemetry
      scalar browser.ui.interaction.preferences_paneUnknown.
    bugs:
      - https://bugzil.la/1620358
      - https://bugzil.la/1651986
    data_reviews:
      - https://bugzil.la/1620358
      - https://bugzil.la/1651986
    notification_emails:
      - shong@mozilla.com
      - dtownsend@mozilla.com
    expires: never
    telemetry_mirror: BROWSER_UI_INTERACTION_PREFERENCES_PANEUNKNOWN

timestamps:
  about_home_topsites_first_paint:
    type: quantity
    description: >
      Record the timestamp of when the first about:home's Topsites are
      painted. Only records if about:home is set as the default homepage,
      and if sessions are not being restored by default.
      This metric was generated to correspond to the Legacy Telemetry
      scalar timestamps.about_home_topsites_first_paint.
    bugs:
      - https://bugzil.la/1518521
    data_reviews:
      - https://bugzil.la/1518521
    notification_emails:
      - perf-telemetry-alerts@mozilla.com
      - mconley@mozilla.com
    expires: never
    unit: ms
    telemetry_mirror: TIMESTAMPS_ABOUT_HOME_TOPSITES_FIRST_PAINT

browser.sanitizer:
  total:
    type: timing_distribution
    description: >
      Sanitize: Total time it takes to sanitize (ms)

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

  cache:
    type: timing_distribution
    description: >
      Sanitize: Time it takes to sanitize the cache (ms)

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

  cookies:
    type: timing_distribution
    description: >
      Sanitize: Time it takes to sanitize firefox cookies (ms). A subset of
      FX_SANITIZE_COOKIES.

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

  history:
    type: timing_distribution
    description: >
      Sanitize: Time it takes to sanitize history (ms)

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

  formdata:
    type: timing_distribution
    description: >
      Sanitize: Time it takes to sanitize stored form data (ms)

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

  downloads:
    type: timing_distribution
    description: >
      Sanitize: Time it takes to sanitize recent downloads (ms)

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

  sessions:
    type: timing_distribution
    description: >
      Sanitize: Time it takes to sanitize saved sessions (ms)

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

  sitesettings:
    type: timing_distribution
    description: >
      Sanitize: Time it takes to sanitize site-specific settings (ms)

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

  openwindows:
    type: timing_distribution
    description: >
      Sanitize: Time it takes to sanitize the open windows list (ms). On
      Android, this is the time it takes to close all open tabs (ms).

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

glam_experiment:
  active_ticks:
    type: counter
    disabled: true
    description: |
      Duplicate of:
      `browser.engagement.active_ticks`

      Intended for the purpose of testing client side sampling of data. This
      metric is disabled by default and will be enabled only for the purpose
      of the experiment. See Bug 1947604 for more information.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1947604
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172#c8
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1781578
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1811152#c5
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
    data_sensitivity:
      - interaction
    notification_emails:
      - tlong@mozilla.com
      - efilho@mozilla.com
    expires: 146

browser.content_crash:
  dump_unavailable:
    type: counter
    description: >
      Counts the number of times that about:tabcrashed was unable to find a
      crash dump.

      This metric was generated to correspond to the Legacy Telemetry count
      histogram FX_CONTENT_CRASH_DUMP_UNAVAILABLE.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1269961
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1269961
    notification_emails:
      - wmccloskey@mozilla.com
    expires: never
    telemetry_mirror: h#FX_CONTENT_CRASH_DUMP_UNAVAILABLE

  not_submitted:
    type: counter
    description: >
      Counts the number of times that about:tabcrashed was unloaded without
      submitting.

      This metric was generated to correspond to the Legacy Telemetry count
      histogram FX_CONTENT_CRASH_NOT_SUBMITTED.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1269961
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1269961
    notification_emails:
      - wmccloskey@mozilla.com
    expires: never
    telemetry_mirror: h#FX_CONTENT_CRASH_NOT_SUBMITTED

link_icon_sizes_attr:
  usage:
    type: custom_distribution
    description: >
      The possible types of the 'sizes' attribute for <link rel=icon>. 0:
      Attribute not specified, 1: 'any', 2: Integer dimensions, 3: Invalid
      value.

      This metric was generated to correspond to the Legacy Telemetry enumerated
      histogram LINK_ICON_SIZES_ATTR_USAGE.
    range_min: 0
    range_max: 4
    bucket_count: 5
    histogram_type: linear
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1053467
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1053467
    notification_emails:
      - fx-search-telemetry@mozilla.com
    expires: never
    telemetry_mirror: LINK_ICON_SIZES_ATTR_USAGE

  dimension:
    type: custom_distribution
    description: >
      The width dimension of the 'sizes' attribute for <link rel=icon>.

      This metric was generated to correspond to the Legacy Telemetry linear
      histogram LINK_ICON_SIZES_ATTR_DIMENSION.
    range_min: 1
    range_max: 513
    bucket_count: 64
    histogram_type: linear
    unit: pixel
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1053467
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1053467
    notification_emails:
      - fx-search-telemetry@mozilla.com
    expires: never
    telemetry_mirror: LINK_ICON_SIZES_ATTR_DIMENSION

contextual_services:
  context_id:
    type: uuid
    description: >
      An identifier for Contextual Services user interaction pings. This is
      used internally for counting unique users as well as for anti-fraud. It
      is shared with other Contextual Services.

      Does not need to be sent in the Glean "deletion-request" ping. It is sent
      in its own "context-id-deletion-request" ping.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1952316
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1952316
    data_sensitivity:
      - technical
    notification_emails:
      - mconley@mozilla.com
    expires: never
    send_in_pings:
      - context-id-deletion-request