File: metrics.yaml

package info (click to toggle)
firefox 143.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,617,328 kB
  • sloc: cpp: 7,478,492; javascript: 6,417,157; ansic: 3,720,058; python: 1,396,372; xml: 627,523; asm: 438,677; java: 186,156; sh: 63,477; makefile: 19,171; objc: 13,059; perl: 12,983; yacc: 4,583; cs: 3,846; pascal: 3,405; lex: 1,720; ruby: 1,003; exp: 762; php: 436; lisp: 258; awk: 247; sql: 66; sed: 53; csh: 10
file content (1311 lines) | stat: -rw-r--r-- 49,923 bytes parent folder | download | duplicates (2)
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
# 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:
  - 'Toolkit :: Password Manager'

pwmgr:
  form_autofill_result:
    type: labeled_counter
    description:
      The result of auto-filling a login form.
    labels:
      - filled
      - no_password_field
      - password_disabled_readonly
      - no_logins_fit
      - no_saved_logins
      - existing_password
      - existing_username
      - multiple_logins
      - no_autofill_forms
      - autocomplete_off
      - insecure
      - password_autocomplete_new_password
      - type_no_longer_password
      - form_in_crossorigin_subframe
      - filled_username_only_form
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340021
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1833398
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1833398#c3
    notification_emails:
      - passwords-dev@mozilla.org
    expires: never

  autocomplete_field_generatedpassword:
    type: event
    description: >
      "autocomplete_field": The first time each unique generated password
      is used to fill a login field - i.e. the user selects it from from
      the autocomplete dropdown on a password input "autocomplete_shown":
      The first time the password generation option is shown in the
      autocomplete dropdown on a password input for a site per session
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.autocomplete_field#generatedpassword.
    bugs: &pwmgr_autocomplete_field_bugs
      - https://bugzil.la/1548878
      - https://bugzil.la/1616356
    data_reviews: &pwmgr_autocomplete_field_data_reviews
      - https://bugzil.la/1548878
      - https://bugzil.la/1616356
    notification_emails: &pwmgr_autocomplete_field_emails
      - loines@mozilla.com
      - passwords-dev@mozilla.org
      - sfoster@mozilla.com
    expires: never
    telemetry_mirror: Pwmgr_AutocompleteField_Generatedpassword

  autocomplete_shown_generatedpassword:
    type: event
    description: >
      "autocomplete_field": The first time each unique generated password
      is used to fill a login field - i.e. the user selects it from from
      the autocomplete dropdown on a password input "autocomplete_shown":
      The first time the password generation option is shown in the
      autocomplete dropdown on a password input for a site per session
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.autocomplete_shown#generatedpassword.
    bugs: *pwmgr_autocomplete_field_bugs
    data_reviews: *pwmgr_autocomplete_field_data_reviews
    notification_emails: *pwmgr_autocomplete_field_emails
    expires: never
    telemetry_mirror: Pwmgr_AutocompleteShown_Generatedpassword

  filled_field_edited_generatedpassword:
    type: event
    description: >
      The first time each generated password filled in a website form
      field is edited by the user in a field it was filled in
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.filled_field_edited#generatedpassword.
    bugs:
      - https://bugzil.la/1548880
    data_reviews:
      - https://bugzil.la/1548880
    notification_emails:
      - loines@mozilla.com
      - passwords-dev@mozilla.org
    expires: never
    telemetry_mirror: Pwmgr_FilledFieldEdited_Generatedpassword

  doorhanger_submitted_save:
    type: event
    description: >
      A login is saved or updated via the capture doorhanger. Carries
      information about whether the username and password _that were
      saved/updated by the user_ were modified in the doorhanger, selected
      from the suggestion autocomplete, or neither. `did_edit_X` and
      `did_select_X` will never both be true in the same event. The
      `object` describes the type of doorhanger when it was originally
      created. Note that user updates to the doorhanger may change whether
      a login is actually saved or updated, but will not impact the sent
      object.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.doorhanger_submitted#save.
    bugs: &pwmgr_doorhanger_submitted_bugs
      - https://bugzil.la/1650929
      - https://bugzil.la/1650941
      - https://bugzil.la/1678200
      - https://bugzil.la/1714252
      - https://bugzil.la/1754637
      - https://bugzil.la/1850872
      - https://bugzil.la/1969169
    data_reviews: &pwmgr_doorhanger_submitted_data_reviews
      - https://bugzil.la/1650929
      - https://bugzil.la/1650941
      - https://bugzil.la/1678200
      - https://bugzil.la/1714252
      - https://bugzil.la/1754637
      - https://bugzil.la/1850872
    notification_emails: &pwmgr_doorhanger_submitted_emails
      - passwords-dev@mozilla.org
    expires: 148
    extra_keys: &pwmgr_doorhanger_submitted_extra
      did_edit_un:
        description: >
          Whether or not the saved/updated username was modified by the user typing into the username field.

        type: boolean
      did_select_un:
        description: >
          Whether or not the saved/updated username was selected by the user choosing a suggested value from the autocomplete popup.

        type: boolean
      did_edit_pw:
        description: >
          Whether or not the saved/updated password was modified by the user typing into the password field.

        type: boolean
      did_select_pw:
        description: >
          Whether or not the saved/updated password was selected by the user choosing a suggested value from the autocomplete popup.

        type: boolean
    telemetry_mirror: Pwmgr_DoorhangerSubmitted_Save

  doorhanger_submitted_update:
    type: event
    description: >
      A login is saved or updated via the capture doorhanger. Carries
      information about whether the username and password _that were
      saved/updated by the user_ were modified in the doorhanger, selected
      from the suggestion autocomplete, or neither. `did_edit_X` and
      `did_select_X` will never both be true in the same event. The
      `object` describes the type of doorhanger when it was originally
      created. Note that user updates to the doorhanger may change whether
      a login is actually saved or updated, but will not impact the sent
      object.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.doorhanger_submitted#update.
    bugs: *pwmgr_doorhanger_submitted_bugs
    data_reviews: *pwmgr_doorhanger_submitted_data_reviews
    notification_emails: *pwmgr_doorhanger_submitted_emails
    expires: 148
    extra_keys: *pwmgr_doorhanger_submitted_extra
    telemetry_mirror: Pwmgr_DoorhangerSubmitted_Update

  saved_login_used_form_login:
    type: event
    description: >
      Each time a saved login is used in a form or authentication dialog.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.saved_login_used#form_login.
    bugs: &pwmgr_saved_login_used_bugs
      - https://bugzil.la/1631130
    data_reviews: &pwmgr_saved_login_used_data_reviews
      - https://bugzil.la/1631130
    notification_emails: &pwmgr_saved_login_used_emails
      - loines@mozilla.com
      - passwords-dev@mozilla.org
    expires: never
    extra_keys: &pwmgr_saved_login_used_extra
      filled:
        description: >
          Whether the browser filled the login details for the user vs. typing saved values.
        type: boolean
    telemetry_mirror: Pwmgr_SavedLoginUsed_FormLogin

  saved_login_used_form_password:
    type: event
    description: >
      Each time a saved login is used in a form or authentication dialog.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.saved_login_used#form_password.
    bugs: *pwmgr_saved_login_used_bugs
    data_reviews: *pwmgr_saved_login_used_data_reviews
    notification_emails: *pwmgr_saved_login_used_emails
    expires: never
    extra_keys: *pwmgr_saved_login_used_extra
    telemetry_mirror: Pwmgr_SavedLoginUsed_FormPassword

  saved_login_used_auth_login:
    type: event
    description: >
      Each time a saved login is used in a form or authentication dialog.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.saved_login_used#auth_login.
    bugs: *pwmgr_saved_login_used_bugs
    data_reviews: *pwmgr_saved_login_used_data_reviews
    notification_emails: *pwmgr_saved_login_used_emails
    expires: never
    extra_keys: *pwmgr_saved_login_used_extra
    telemetry_mirror: Pwmgr_SavedLoginUsed_AuthLogin

  saved_login_used_prompt_login:
    type: event
    description: >
      Each time a saved login is used in a form or authentication dialog.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.saved_login_used#prompt_login.
    bugs: *pwmgr_saved_login_used_bugs
    data_reviews: *pwmgr_saved_login_used_data_reviews
    notification_emails: *pwmgr_saved_login_used_emails
    expires: never
    extra_keys: *pwmgr_saved_login_used_extra
    telemetry_mirror: Pwmgr_SavedLoginUsed_PromptLogin

  mgmt_menu_item_used_import_from_browser:
    type: event
    description: >
      Record interactions with the about:logins menu.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.mgmt_menu_item_used#import_from_browser.
    bugs: &pwmgr_mgmt_menu_item_used_bugs
      - https://bugzil.la/1641396
      - https://bugzil.la/1641777
      - https://bugzil.la/1641393
    data_reviews: &pwmgr_mgmt_menu_item_used_data_reviews
      - https://bugzil.la/1641396
      - https://bugzil.la/1641777
      - https://bugzil.la/1641393
    notification_emails: &pwmgr_mgmt_menu_item_used_emails
      - loines@mozilla.com
      - passwords-dev@mozilla.org
    expires: never
    telemetry_mirror: Pwmgr_MgmtMenuItemUsed_ImportFromBrowser

  mgmt_menu_item_used_import_from_csv:
    type: event
    description: >
      Record interactions with the about:logins menu.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.mgmt_menu_item_used#import_from_csv.
    bugs: *pwmgr_mgmt_menu_item_used_bugs
    data_reviews: *pwmgr_mgmt_menu_item_used_data_reviews
    notification_emails: *pwmgr_mgmt_menu_item_used_emails
    expires: never
    telemetry_mirror: Pwmgr_MgmtMenuItemUsed_ImportFromCsv

  mgmt_menu_item_used_import_csv_complete:
    type: event
    description: >
      Record interactions with the about:logins menu.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.mgmt_menu_item_used#import_csv_complete.
    bugs: *pwmgr_mgmt_menu_item_used_bugs
    data_reviews: *pwmgr_mgmt_menu_item_used_data_reviews
    notification_emails: *pwmgr_mgmt_menu_item_used_emails
    expires: never
    telemetry_mirror: Pwmgr_MgmtMenuItemUsed_ImportCsvComplete

  mgmt_menu_item_used_export:
    type: event
    description: >
      Record interactions with the about:logins menu.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.mgmt_menu_item_used#export.
    bugs: *pwmgr_mgmt_menu_item_used_bugs
    data_reviews: *pwmgr_mgmt_menu_item_used_data_reviews
    notification_emails: *pwmgr_mgmt_menu_item_used_emails
    expires: never
    telemetry_mirror: Pwmgr_MgmtMenuItemUsed_Export

  mgmt_menu_item_used_export_complete:
    type: event
    description: >
      Record interactions with the about:logins menu.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.mgmt_menu_item_used#export_complete.
    bugs: *pwmgr_mgmt_menu_item_used_bugs
    data_reviews: *pwmgr_mgmt_menu_item_used_data_reviews
    notification_emails: *pwmgr_mgmt_menu_item_used_emails
    expires: never
    telemetry_mirror: Pwmgr_MgmtMenuItemUsed_ExportComplete

  mgmt_menu_item_used_preferences:
    type: event
    description: >
      Record interactions with the about:logins menu.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.mgmt_menu_item_used#preferences.
    bugs: *pwmgr_mgmt_menu_item_used_bugs
    data_reviews: *pwmgr_mgmt_menu_item_used_data_reviews
    notification_emails: *pwmgr_mgmt_menu_item_used_emails
    expires: never
    telemetry_mirror: Pwmgr_MgmtMenuItemUsed_Preferences

  reauthenticate_master_password:
    type: event
    description: >
      Measure how often users are asked to authenticate with their Operating System or Master Password to gain access to stored passwords.
      Possible values are as follows,
        "success" should be used when the user authenticates and provides a password or other authentication factor.
        "success_no_prompt" should be used when the feature is enabled but no prompt is given to the user because they have recently authenticated.
        "success_disabled" is used when the feature is disabled.
        "success_unsupported_platform" should be set when the user attempts to authenticate on an unsupported platform.
        "success_no_password" should be used when the user doesn't have an OS password set.
        "fail" should be used when the user cancels the authentication prompt or an unexpected exception is encountered. The user may or may not have provided an incorrect password before cancelling.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.reauthenticate#master_password.
    bugs: &pwmgr_reauthenticate_bugs
      - https://bugzil.la/1628029
      - https://bugzil.la/1623745
      - https://bugzil.la/1636729
      - https://bugzil.la/1642267
    data_reviews: &pwmgr_reauthenticate_data_reviews
      - https://bugzil.la/1628029
      - https://bugzil.la/1623745
      - https://bugzil.la/1636729
      - https://bugzil.la/1642267
    notification_emails: &pwmgr_reauthenticate_emails
      - loines@mozilla.com
      - passwords-dev@mozilla.org
      - jaws@mozilla.com
    expires: never
    extra_keys: &pwmgr_reauthenticate_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      auto_admin:
        description: >
          If the AutoAdminLogon Windows feature is enabled. This feature disables password prompt when logging in to Windows.

        type: string
      require_signon:
        description: >
          If the Power Settings on Windows are configured to not prompt for password upon resuming from sleep.

        type: string
    telemetry_mirror: Pwmgr_Reauthenticate_MasterPassword

  reauthenticate_os_auth:
    type: event
    description: >
      Measure how often users are asked to authenticate with their Operating System or Master Password to gain access to stored passwords.
      Possible values are as follows,
        "success" should be used when the user authenticates and provides a password or other authentication factor.
        "success_no_prompt" should be used when the feature is enabled but no prompt is given to the user because they have recently authenticated.
        "success_disabled" is used when the feature is disabled.
        "success_unsupported_platform" should be set when the user attempts to authenticate on an unsupported platform.
        "success_no_password" should be used when the user doesn't have an OS password set.
        "fail" should be used when the user cancels the authentication prompt or an unexpected exception is encountered. The user may or may not have provided an incorrect password before cancelling.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.reauthenticate#os_auth.
    bugs: *pwmgr_reauthenticate_bugs
    data_reviews: *pwmgr_reauthenticate_data_reviews
    notification_emails: *pwmgr_reauthenticate_emails
    expires: never
    extra_keys: *pwmgr_reauthenticate_extra
    telemetry_mirror: Pwmgr_Reauthenticate_OsAuth

  prompt_shown_os_reauth:
    type: event
    description: >
      Captures the method of user interaction initiating the prompt and the result of the prompt.
      Possible triggers include:
        "copy_logins" when a user copies a password in about:logins
        "copy_cpm" when a user copies a password in contextual password manager
        "edit_logins" when a user edits a login in about:logins
        "edit_cpm" when a user edits a login in contextual password manager
        "export_logins" when a user exports all passwords in about:logins
        "export_cpm" when a user exports all passwords in contextual password manager
        "reveal_logins" when a user reveals a password a login in about:logins
        "reveal_cpm" when a user reveals a password a login in contextual password manager
        "toggle_pref_primary_password" when a user toggles "Use a Primary Password" in about:preferences
        "toggle_pref_os_auth" when a user toggles "Passwords / Require device sign in" in about:preferences
      Possible results include:
        "success" should be used when the user is shown the OS Auth prompt and successfully authenticates.
        "fail_user_canceled" should be used when the user cancels the authentication prompt. The user may or may not have provided an incorrect password before cancelling.
        "fail_error" should be used when an unexpected exception is encountered.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1915672
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1915672
    notification_emails:
      - autofill@lists.mozilla.org
      - passwords-dev@mozilla.org
    expires: never
    extra_keys:
      trigger:
        description: >
          Which user interaction triggered the event.
        type: string
      result:
        description: >
          The result of the OS Authentication.
        type: string

  require_os_reauth_toggle:
    type: event
    description: >
      Captures the state of the toggle after the change was made.
      Toggle states include:
        True means the OS Auth preference is enabeled.
        False means it is disabled.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1915672
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1915672
    notification_emails:
      - autofill@lists.mozilla.org
      - passwords-dev@mozilla.org
    expires: never
    extra_keys:
      toggle_state:
        description: >
          The toggle state after the event.
        type: boolean

  os_auth_enabled:
      type: boolean
      description: >
          Check at startup whether OS Authentication has been enabled for passwords.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1915672
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1915672
      notification_emails:
        - autofill@lists.mozilla.org
        - passwords-dev@mozilla.org
      expires: never


  open_management_aboutprotections:
    type: event
    description: >
      Sent when opening the password management UI.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.open_management#aboutprotections.
    bugs: &pwmgr_open_management_bugs
      - https://bugzil.la/1543499
      - https://bugzil.la/1454733
      - https://bugzil.la/1545172
      - https://bugzil.la/1550631
      - https://bugzil.la/1622971
    data_reviews: &pwmgr_open_management_data_reviews
      - https://bugzil.la/1543499
      - https://bugzil.la/1454733
      - https://bugzil.la/1545172
      - https://bugzil.la/1550631
      - https://bugzil.la/1622971
    notification_emails: &pwmgr_open_management_emails
      - loines@mozilla.com
      - passwords-dev@mozilla.org
      - sfoster@mozilla.com
    expires: never
    telemetry_mirror: Pwmgr_OpenManagement_Aboutprotections

  open_management_autocomplete:
    type: event
    description: >
      Sent when opening the password management UI.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.open_management#autocomplete.
    bugs: *pwmgr_open_management_bugs
    data_reviews: *pwmgr_open_management_data_reviews
    notification_emails: *pwmgr_open_management_emails
    expires: never
    telemetry_mirror: Pwmgr_OpenManagement_Autocomplete

  open_management_contextmenu:
    type: event
    description: >
      Sent when opening the password management UI.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.open_management#contextmenu.
    bugs: *pwmgr_open_management_bugs
    data_reviews: *pwmgr_open_management_data_reviews
    notification_emails: *pwmgr_open_management_emails
    expires: never
    telemetry_mirror: Pwmgr_OpenManagement_Contextmenu

  open_management_direct:
    type: event
    description: >
      Sent when opening the password management UI.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.open_management#direct.
    bugs: *pwmgr_open_management_bugs
    data_reviews: *pwmgr_open_management_data_reviews
    notification_emails: *pwmgr_open_management_emails
    expires: never
    telemetry_mirror: Pwmgr_OpenManagement_Direct

  open_management_mainmenu:
    type: event
    description: >
      Sent when opening the password management UI.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.open_management#mainmenu.
    bugs: *pwmgr_open_management_bugs
    data_reviews: *pwmgr_open_management_data_reviews
    notification_emails: *pwmgr_open_management_emails
    expires: never
    telemetry_mirror: Pwmgr_OpenManagement_Mainmenu

  open_management_pageinfo:
    type: event
    description: >
      Sent when opening the password management UI.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.open_management#pageinfo.
    bugs: *pwmgr_open_management_bugs
    data_reviews: *pwmgr_open_management_data_reviews
    notification_emails: *pwmgr_open_management_emails
    expires: never
    telemetry_mirror: Pwmgr_OpenManagement_Pageinfo

  open_management_preferences:
    type: event
    description: >
      Sent when opening the password management UI.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.open_management#preferences.
    bugs: *pwmgr_open_management_bugs
    data_reviews: *pwmgr_open_management_data_reviews
    notification_emails: *pwmgr_open_management_emails
    expires: never
    telemetry_mirror: Pwmgr_OpenManagement_Preferences

  open_management_snippet:
    type: event
    description: >
      Sent when opening the password management UI.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.open_management#snippet.
    bugs: *pwmgr_open_management_bugs
    data_reviews: *pwmgr_open_management_data_reviews
    notification_emails: *pwmgr_open_management_emails
    expires: never
    telemetry_mirror: Pwmgr_OpenManagement_Snippet

  cancel_existing_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.cancel#existing_login.
    bugs: &pwmgr_cancel_bugs
      - https://bugzil.la/1548463
      - https://bugzil.la/1600958
      - https://bugzil.la/1549115
      - https://bugzil.la/1628165
    data_reviews: &pwmgr_cancel_data_reviews
      - https://bugzil.la/1548463
      - https://bugzil.la/1600958
      - https://bugzil.la/1549115
      - https://bugzil.la/1628165
    notification_emails: &pwmgr_cancel_emails
      - loines@mozilla.com
      - passwords-dev@mozilla.org
      - jaws@mozilla.com
    expires: never
    extra_keys: &pwmgr_cancel_extra
      breached:
        description: >
          Whether the login is marked as breached or not. If a login is both breached and vulnerable, it will only be reported as breached.
        type: boolean
      vulnerable:
        description: >
          Whether the login is marked as vulnerable or not. If a login is both breached and vulnerable, it will only be reported as breached.
        type: boolean
    telemetry_mirror: Pwmgr_Cancel_ExistingLogin

  cancel_new_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.cancel#new_login.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Cancel_NewLogin

  copy_password:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.copy#password.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Copy_Password

  copy_username:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.copy#username.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Copy_Username

  delete_existing_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.delete#existing_login.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Delete_ExistingLogin

  delete_new_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.delete#new_login.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Delete_NewLogin

  edit_existing_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.edit#existing_login.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Edit_ExistingLogin

  filter_list:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.filter#list.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    telemetry_mirror: Pwmgr_Filter_List

  hide_password:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.hide#password.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Hide_Password

  learn_more_vuln_existing_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.learn_more_vuln#existing_login.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_LearnMoreVuln_ExistingLogin

  new_new_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.new#new_login.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    telemetry_mirror: Pwmgr_New_NewLogin

  open_site_existing_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.open_site#existing_login.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_OpenSite_ExistingLogin

  save_existing_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.save#existing_login.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Save_ExistingLogin

  save_new_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.save#new_login.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Save_NewLogin

  select_existing_login:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.select#existing_login.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Select_ExistingLogin

  show_password:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.show#password.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys: *pwmgr_cancel_extra
    telemetry_mirror: Pwmgr_Show_Password

  sort_list:
    type: event
    description: >
      These events record interactions on the about:logins page.
      This event was generated to correspond to the Legacy Telemetry event
      pwmgr.sort#list.
    bugs: *pwmgr_cancel_bugs
    data_reviews: *pwmgr_cancel_data_reviews
    notification_emails: *pwmgr_cancel_emails
    expires: never
    extra_keys:
      sort_key:
        description: >
          The key that is used for sorting the login-list.
        type: string
    telemetry_mirror: Pwmgr_Sort_List

  potentially_breached_passwords:
    type: quantity
    description: >
      The number of potentially breached passwords, as determined by
      LoginBreaches.getPotentialBreachesByLoginGUID.
      This metric was generated to correspond to the Legacy Telemetry
      scalar pwmgr.potentially_breached_passwords.
    bugs:
      - https://bugzil.la/1577808
    data_reviews:
      - https://bugzil.la/1577808
    notification_emails:
      - seceng-telemetry@mozilla.com
      - passwords-dev@mozilla.org
    expires: never
    unit: passwords
    telemetry_mirror: PWMGR_POTENTIALLY_BREACHED_PASSWORDS
    no_lint:
      - UNIT_IN_NAME

  num_saved_passwords:
    type: quantity
    unit: passwords
    lifetime: application
    description: |
      The number of saved logins, including those that cannot be decrypted.
      Similar to the legacy telemetry histogram PWMGR_NUM_SAVED_PASSWORDS.
    bugs:
      - https://bugzil.la/1937186
    data_reviews:
      - https://bugzil.la/1937186
    notification_emails:
      - passwords-dev@mozilla.org
    expires: never
    no_lint:
      - UNIT_IN_NAME

  saving_enabled:
    type: boolean
    lifetime: application
    description: |
      Whether password saving is enabled globally.
      Tracks the pref `signon.rememberSignons`.
    metadata:
      permit_non_commutative_operations_over_ipc: true
    bugs:
      - https://bugzil.la/1937186
    data_reviews:
      - https://bugzil.la/1937186
    notification_emails:
      - passwords-dev@mozilla.org
    expires: never

  import_logins_from_file_categorical:
    type: labeled_counter
    description: >
      Results of login import from a CSV/TSV file, by category

      This metric was generated to correspond to the Legacy Telemetry
      categorical histogram PWMGR_IMPORT_LOGINS_FROM_FILE_CATEGORICAL.
    labels:
      - added
      - modified
      - error
      - no_change
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1688653
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1749882
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1777397
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1850888
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1978988
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1688653
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1749882
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1777397
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1850888
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1978988
    notification_emails:
      - passwords-dev@mozilla.org
    expires: 150
    telemetry_mirror: h#PWMGR_IMPORT_LOGINS_FROM_FILE_CATEGORICAL

  login_page_safety:
    type: custom_distribution
    description: >
      The safety of a page where we see a password field. (0: safe page & safe
      submit; 1: safe page & unsafe submit; 2: safe page & unknown submit; 3:
      unsafe page & safe submit; 4: unsafe page & unsafe submit; 5: unsafe page
      & unknown submit)

      This metric was generated to correspond to the Legacy Telemetry enumerated
      histogram PWMGR_LOGIN_PAGE_SAFETY.
    range_min: 0
    range_max: 8
    bucket_count: 9
    histogram_type: linear
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340021
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340021
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172
    notification_emails:
      - seceng-telemetry@mozilla.com
      - loines@mozilla.com
    expires: never
    telemetry_mirror: PWMGR_LOGIN_PAGE_SAFETY
    send_in_pings:
      - metrics
      - sync

  num_improved_generated_passwords:
    type: labeled_counter
    description: >
      The number of passwords generated when
      'signon.improvedPasswordRules.enabled' is true. 0 = Password generated by
      default rules, 1 = Password generated by custom rules

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

  prompt_remember_action:
    type: custom_distribution
    description: >
      Action taken by user through prompt for creating a login. (0=Prompt
      displayed [always recorded], 1=Add login, 2=Don't save now, 3=Never save)

      This metric was generated to correspond to the Legacy Telemetry enumerated
      histogram PWMGR_PROMPT_REMEMBER_ACTION.
    range_min: 0
    range_max: 5
    bucket_count: 6
    histogram_type: linear
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1454733
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1454733
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172
    notification_emails:
      - loines@mozilla.com
    expires: never
    telemetry_mirror: PWMGR_PROMPT_REMEMBER_ACTION
    send_in_pings:
      - metrics
      - sync

  prompt_update_action:
    type: custom_distribution
    description: >
      Action taken by user through prompt for modifying a login. (0=Prompt
      displayed [always recorded], 1=Update login, 2=Don't update, 3=Remove
      saved login)

      This metric was generated to correspond to the Legacy Telemetry enumerated
      histogram PWMGR_PROMPT_UPDATE_ACTION.
    range_min: 0
    range_max: 5
    bucket_count: 6
    histogram_type: linear
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1454733
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1226236
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1454733
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1545172
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1226236
    notification_emails:
      - loines@mozilla.com
    expires: never
    telemetry_mirror: PWMGR_PROMPT_UPDATE_ACTION
    send_in_pings:
      - metrics
      - sync

  is_username_only_form:
    type: labeled_counter
    description: >
      Whether a <form> is a username-only form. (0=Form has a possible username
      field but is not considered as a username-only form, 1=Form is considered
      as a username-only form)

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

  signup_form_detection:
    type: timing_distribution
    description: >
      Elapsed time to detect whether a <form> element is a signup form.

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

form_autocomplete:
  show_logins:
    type: event
    description: >
      An content form autocomplete popup was shown. Details on the timing
      and context are provided.
      This event was generated to correspond to the Legacy Telemetry event
      form_autocomplete.show#logins.
    bugs:
      - https://bugzil.la/1619498
      - https://bugzil.la/1628849
    data_reviews:
      - https://bugzil.la/1619498
      - https://bugzil.la/1628849
    notification_emails:
      - passwords-dev@mozilla.org
    expires: never
    extra_keys:
      value:
        description: >
          The `value` is the number of milliseconds since the autocomplete search started.
        type: quantity
      acFieldName:
        description: >
          The "field name" token (last one) of the field's autocomplete attribute.
        type: string
      fieldType:
        description: >
          The `type` property value of the field.
        type: string
      generatedPasswo:
        description: >
          The number of generated password rows shown.
        type: string
      hadPrevious:
        description: >
          Whether the autocomplete results had cached previous results it could use.
        type: string
      typeWasPassword:
        description: >
          Whether the input `type` was ever "password".
        type: string
      insecureWarning:
        description: >
          The number of insecure login field warning rows shown (should be 0 or 1).
        type: string
      login:
        description: >
          The number of login rows shown (with or without the domain line).
        type: string
      importableLogin:
        description: >
          The number of import suggestion rows shown.
        type: string
      loginsFooter:
        description: >
          The number of "Manage Passwords" footer row shown.
        type: string
      stringLength:
        description: >
          Length of the text in the field that triggered these results.
        type: string
    telemetry_mirror: Form_autocomplete_Show_Logins

relay_integration:
  enabled_pref_change:
    type: event
    description: >
      Checkbox in the settings page to enable/disable relay
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.enabled#pref_change.
    bugs: &relay_integration_enabled_bugs
      - https://bugzil.la/1804502
    data_reviews: &relay_integration_enabled_data_reviews
      - https://bugzil.la/1804502
    notification_emails: &relay_integration_enabled_emails
      - passwords-dev@mozilla.org
    expires: never
    telemetry_mirror: Relay_integration_Enabled_PrefChange

  disabled_pref_change:
    type: event
    description: >
      Checkbox in the settings page to enable/disable relay
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.disabled#pref_change.
    bugs: *relay_integration_enabled_bugs
    data_reviews: *relay_integration_enabled_data_reviews
    notification_emails: *relay_integration_enabled_emails
    expires: never
    telemetry_mirror: Relay_integration_Disabled_PrefChange

  shown_offer_relay:
    type: event
    description: >
      Firefox relay integration autocomplete popup
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.shown#offer_relay.
    bugs: &relay_integration_shown_bugs
      - https://bugzil.la/1804502
    data_reviews: &relay_integration_shown_data_reviews
      - https://bugzil.la/1804502
    notification_emails: &relay_integration_shown_emails
      - passwords-dev@mozilla.org
    expires: never
    extra_keys: &relay_integration_offer_relay
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      scenario:
        description: >
          Describes the auth context for now only SignupForm is supported
        type: string
    telemetry_mirror: Relay_integration_Shown_OfferRelay

  clicked_offer_relay:
    type: event
    description: >
      Firefox relay integration autocomplete popup
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.clicked#offer_relay.
    bugs: *relay_integration_shown_bugs
    data_reviews: *relay_integration_shown_data_reviews
    notification_emails: *relay_integration_shown_emails
    expires: never
    extra_keys: *relay_integration_offer_relay
    telemetry_mirror: Relay_integration_Clicked_OfferRelay

  shown_fill_username:
    type: event
    description: >
      Firefox relay integration autocomplete popup
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.shown#fill_username.
    bugs: *relay_integration_shown_bugs
    data_reviews: *relay_integration_shown_data_reviews
    notification_emails: *relay_integration_shown_emails
    expires: never
    extra_keys: &relay_integration_fill_username
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      error_code:
        description: >
          The error code after users click the fill username autocomplete entry. Only present if the object is "fill_username". When the event is successful, the error_code  is 0.

        type: string
    telemetry_mirror: Relay_integration_Shown_FillUsername

  clicked_fill_username:
    type: event
    description: >
      Firefox relay integration autocomplete popup
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.clicked#fill_username.
    bugs: *relay_integration_shown_bugs
    data_reviews: *relay_integration_shown_data_reviews
    notification_emails: *relay_integration_shown_emails
    expires: never
    extra_keys: *relay_integration_fill_username
    telemetry_mirror: Relay_integration_Clicked_FillUsername

  shown_reuse_panel:
    type: event
    description: >
      Panels to show the state of the email alias generation
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.shown#reuse_panel.
    bugs: &relay_integration_reuse_panel_bugs
      - https://bugzil.la/1804502
    data_reviews: &relay_integration_reuse_panel_data_reviews
      - https://bugzil.la/1804502
    notification_emails: &relay_integration_reuse_panel_emails
      - passwords-dev@mozilla.org
    expires: never
    extra_keys:
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      error_code:
        description: >
          The error code after users click the email alias generation panel. When the event is successful, the error_code  is 0.

        type: string
    telemetry_mirror: Relay_integration_Shown_ReusePanel

  get_unlimited_masks_reuse_panel:
    type: event
    description: >
      Panels to show the state of the email alias generation
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.get_unlimited_masks#reuse_panel.
    bugs: *relay_integration_reuse_panel_bugs
    data_reviews: *relay_integration_reuse_panel_data_reviews
    notification_emails: *relay_integration_reuse_panel_emails
    expires: never
    extra_keys: &relay_integration_reuse_panel_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
    telemetry_mirror: Relay_integration_GetUnlimitedMasks_ReusePanel

  reuse_mask_reuse_panel:
    type: event
    description: >
      Panels to show the state of the email alias generation
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.reuse_mask#reuse_panel.
    bugs: *relay_integration_reuse_panel_bugs
    data_reviews: *relay_integration_reuse_panel_data_reviews
    notification_emails: *relay_integration_reuse_panel_emails
    expires: never
    extra_keys: *relay_integration_reuse_panel_extra
    telemetry_mirror: Relay_integration_ReuseMask_ReusePanel

  shown_opt_in_panel:
    type: event
    description: >
      Panel to opt-in Firefox Relay Integration
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.shown#opt_in_panel.
    bugs: &relay_integration_opt_in_panel_bugs
      - https://bugzil.la/1804502
    data_reviews: &relay_integration_opt_in_panel_data_reviews
      - https://bugzil.la/1804502
    notification_emails: &relay_integration_opt_in_panel_emails
      - passwords-dev@mozilla.org
    expires: never
    extra_keys: &relay_integration_opt_in_panel_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
    telemetry_mirror: Relay_integration_Shown_OptInPanel

  enabled_opt_in_panel:
    type: event
    description: >
      Panel to opt-in Firefox Relay Integration
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.enabled#opt_in_panel.
    bugs: *relay_integration_opt_in_panel_bugs
    data_reviews: *relay_integration_opt_in_panel_data_reviews
    notification_emails: *relay_integration_opt_in_panel_emails
    expires: never
    extra_keys: *relay_integration_opt_in_panel_extra
    telemetry_mirror: Relay_integration_Enabled_OptInPanel

  postponed_opt_in_panel:
    type: event
    description: >
      Panel to opt-in Firefox Relay Integration
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.postponed#opt_in_panel.
    bugs: *relay_integration_opt_in_panel_bugs
    data_reviews: *relay_integration_opt_in_panel_data_reviews
    notification_emails: *relay_integration_opt_in_panel_emails
    expires: never
    extra_keys: *relay_integration_opt_in_panel_extra
    telemetry_mirror: Relay_integration_Postponed_OptInPanel

  disabled_opt_in_panel:
    type: event
    description: >
      Panel to opt-in Firefox Relay Integration
      This event was generated to correspond to the Legacy Telemetry event
      relay_integration.disabled#opt_in_panel.
    bugs: *relay_integration_opt_in_panel_bugs
    data_reviews: *relay_integration_opt_in_panel_data_reviews
    notification_emails: *relay_integration_opt_in_panel_emails
    expires: never
    extra_keys: *relay_integration_opt_in_panel_extra
    telemetry_mirror: Relay_integration_Disabled_OptInPanel