Source code

Revision control

Copy as Markdown

Other Tools

# 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!
---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
- 'Toolkit :: Form Autofill'
formautofill.creditcards:
autofill_profiles_count:
type: quantity
unit: credit card autofill profiles
description: >
Count at store time how many credit card autofill profiles the user has.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=990203
- https://bugzilla.mozilla.org/show_bug.cgi?id=1834571
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1834571#c2
notification_emails:
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
formautofill:
form_submission_heuristic:
type: labeled_counter
description:
The heuristic that detected the form submission.
labels:
- form-submit-event
- form-removal-after-fetch
- page-navigation
- iframe-pagehide
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1874829
- https://bugzilla.mozilla.org/show_bug.cgi?id=1902180
- https://bugzilla.mozilla.org/show_bug.cgi?id=1933866
- https://bugzilla.mozilla.org/show_bug.cgi?id=1969173
- https://bugzilla.mozilla.org/show_bug.cgi?id=1999871
- https://bugzilla.mozilla.org/show_bug.cgi?id=2041172
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1874829#c4
notification_emails:
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: 160
iframe_layout_detection:
type: event
description: >
Record the number of iframe in a form and what fields are in an iframe when
a form is detected
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1906292
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1906292
data_sensitivity:
- technical
notification_emails:
- autofill@lists.mozilla.org
expires: never
extra_keys:
category:
description: Autofill category. Either "creditcard", "address" or "passport"
type: string
flow_id:
description: Flow id of an interaction session with a credit card form
type: string
iframe_count:
description: >
Number of iframe is detected in the form
type: quantity
main_frame:
description: >
String that contains a comma-separated list of fields located in the main
frame, such as "cc-number, cc-type".
type: string
iframe:
description: >
String that contains a comma-separated list of fields located in an iframe.
type: string
cross_origin:
description: >
String that contains a comma-separated list of fields located in a
cross-origin iframe.
type: string
sandboxed:
description: >
String that contains a comma-separated list of fields located in a sandbox
iframe.
type: string
availability:
type: boolean
description: >
A boolean sent once per session to represent whether the
formautofill is available in the build
This metric was generated to correspond to the Legacy Telemetry
scalar formautofill.availability.
bugs:
- https://bugzil.la/1386959
data_reviews:
- https://bugzil.la/1386959
notification_emails:
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
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:
"autofill" when a user attempts to autofill a payment method.
"delete_autocomplete" when a user deletes a payment method from the form autocomplete dropdown
"edit" when a user edits a login in about:preferences
"toggle_pref_os_auth" when a user toggles "Autofill / 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: >
Toggle states include:
True means the OS Auth preference is enabled.
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 credit cards.
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
address:
show_capture_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.show#capture_doorhanger.
bugs: &address_show_bugs
- https://bugzil.la/1801039
data_reviews: &address_show_data_reviews
- https://bugzil.la/1801039
notification_emails: &address_show_emails
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
extra_keys: &address_show_extra
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
The flowId.
type: string
show_update_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.show#update_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
show_edit_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.show#edit_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
save_capture_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.save#capture_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
save_update_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.save#update_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
save_edit_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.save#edit_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
update_capture_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.update#capture_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
update_update_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.update#update_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
update_edit_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.update#edit_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
cancel_capture_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.cancel#capture_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
cancel_update_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.cancel#update_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
cancel_edit_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.cancel#edit_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
disable_capture_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.disable#capture_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
disable_update_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.disable#update_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
disable_edit_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.disable#edit_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
pref_capture_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.pref#capture_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
pref_update_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.pref#update_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
pref_edit_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.pref#edit_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
learn_more_capture_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.learn_more#capture_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
learn_more_update_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.learn_more#update_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
learn_more_edit_doorhanger:
type: event
description: >
User interactions for the browser address autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
address.learn_more#edit_doorhanger.
bugs: *address_show_bugs
data_reviews: *address_show_data_reviews
notification_emails: *address_show_emails
expires: never
extra_keys: *address_show_extra
show_manage:
type: event
description: >
User interactions for address autofill preferences management UI.
This event was generated to correspond to the Legacy Telemetry event
address.show#manage.
bugs: &address_manage_bugs
- https://bugzil.la/1801039
data_reviews: &address_manage_data_reviews
- https://bugzil.la/1801039
notification_emails: &address_manage_emails
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
extra_keys: &address_manage_extra
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
type: string
add_manage:
type: event
description: >
User interactions for address autofill preferences management UI.
This event was generated to correspond to the Legacy Telemetry event
address.add#manage.
bugs: *address_manage_bugs
data_reviews: *address_manage_data_reviews
notification_emails: *address_manage_emails
expires: never
extra_keys: *address_manage_extra
delete_manage:
type: event
description: >
User interactions for address autofill preferences management UI.
This event was generated to correspond to the Legacy Telemetry event
address.delete#manage.
bugs: *address_manage_bugs
data_reviews: *address_manage_data_reviews
notification_emails: *address_manage_emails
expires: never
extra_keys: *address_manage_extra
show_entry_manage:
type: event
description: >
User interactions for address autofill preferences management UI.
This event was generated to correspond to the Legacy Telemetry event
address.show_entry#manage.
bugs: *address_manage_bugs
data_reviews: *address_manage_data_reviews
notification_emails: *address_manage_emails
expires: never
extra_keys: *address_manage_extra
edit_manage:
type: event
description: >
User interactions for address autofill preferences management UI.
This event was generated to correspond to the Legacy Telemetry event
address.edit#manage.
bugs: *address_manage_bugs
data_reviews: *address_manage_data_reviews
notification_emails: *address_manage_emails
expires: never
extra_keys: *address_manage_extra
detected_address_form:
type: event
description: >
Recorded when a form is recognized as an address form.
The possible values in the extra_keys are "true", "false", or 0.
When the value is "true", the field is identified via autocomplete attribute.
When the value is "false", the field is not detected in the form.
When the value is an 0, then the field is identified by regexp-based heuristic.
This event was generated to correspond to the Legacy Telemetry event
address.detected#address_form.
bugs: &address_detected_bugs
- https://bugzil.la/1804901
data_reviews: &address_detected_data_reviews
- https://bugzil.la/1804901
notification_emails: &address_detected_emails
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
extra_keys:
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
The flowId.
type: string
street_address:
description: >
street address result
type: string
address_line1:
description: >
address_line1 result
type: string
address_line2:
description: >
address_line2 result
type: string
address_line3:
description: >
address_line3 result
type: string
address_level1:
description: >
address_level1 result
type: string
address_level2:
description: >
address_level2 result
type: string
postal_code:
description: >
postal_code result
type: string
country:
description: >
country result
type: string
popup_shown_address_form:
type: event
description: >
Recorded when autofill popup is shown. Using field_name to record the field that triggers this event.
This event was generated to correspond to the Legacy Telemetry event
address.popup_shown#address_form.
bugs: *address_detected_bugs
data_reviews: *address_detected_data_reviews
notification_emails: *address_detected_emails
expires: never
extra_keys:
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
The flowId.
type: string
field_name:
description: >
Name of the field being affected by the method, filled when method is `popup_shown` or `filled_modified`.
type: string
filled_address_form:
type: event
description: >
Recorded when a form is autofiled. Possible values are `filled`, `not_filled`, `user_filled` or `unavailable`.
This event was generated to correspond to the Legacy Telemetry event
address.filled#address_form.
bugs: *address_detected_bugs
data_reviews: *address_detected_data_reviews
notification_emails: *address_detected_emails
expires: never
extra_keys:
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
The flowId.
type: string
street_address:
description: >
street address result
type: string
address_line1:
description: >
address_line1 result
type: string
address_line2:
description: >
address_line2 result
type: string
address_line3:
description: >
address_line3 result
type: string
address_level1:
description: >
address_level1 result
type: string
address_level2:
description: >
address_level2 result
type: string
postal_code:
description: >
postal_code result
type: string
country:
description: >
country result
type: string
filled_on_fields_update_address_form:
type: event
description: >
Recorded when a previous autofill action for the address form causes an immediate fields update
which triggers another autofill action including for the new/updated fields.
Possible values are `filled`, `filled_on_fields_update`, `user_filled` or `unavailable`.
Unlike the other address form interaction events, this doesn't need a `address_form` and `address_form_ext`
event because it's only collected in Glean (not mirror to Legacy).
data_sensitivity:
- interaction
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1837161
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1837161
notification_emails:
- autofill@lists.mozilla.org
expires: never
extra_keys:
value:
description: >
flow id of an interaction session with an address form
type: string
street_address:
description: >
street address result
type: string
address_line1:
description: >
address_line1 result
type: string
address_line2:
description: >
address_line2 result
type: string
address_line3:
description: >
address_line3 result
type: string
address_level1:
description: >
address_level1 result
type: string
address_level2:
description: >
address_level2 result
type: string
postal_code:
description: >
postal_code result
type: string
country:
description: >
country result
type: string
name:
description: >
name result
type: string
given_name:
description: >
given_name result
type: string
additional_name:
description: >
additional_name result
type: string
family_name:
description: >
family_name result
type: string
email:
description: >
email result
type: string
organization:
description: >
organization result
type: string
tel:
description: >
tel result
type: string
filled_modified_address_form:
type: event
description: >
Recorded when a field is autofilled and then modified by the user.
Using field_name to record the field that triggers this event.
This event was generated to correspond to the Legacy Telemetry event
address.filled_modified#address_form.
bugs: *address_detected_bugs
data_reviews: *address_detected_data_reviews
notification_emails: *address_detected_emails
expires: never
extra_keys:
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
The flowId.
type: string
street_address:
description: >
street address result
type: string
address_line1:
description: >
address_line1 result
type: string
address_line2:
description: >
address_line2 result
type: string
address_line3:
description: >
address_line3 result
type: string
address_level1:
description: >
address_level1 result
type: string
address_level2:
description: >
address_level2 result
type: string
postal_code:
description: >
postal_code result
type: string
country:
description: >
country result
type: string
field_name:
description: >
Name of the field being affected by the method
type: string
submitted_address_form:
type: event
description: >
Recorded when a form is submitted.
Possible values are `autofilled`, `not_filled`, `user_filled` or `unavailable`.
This event was generated to correspond to the Legacy Telemetry event
address.submitted#address_form.
bugs: *address_detected_bugs
data_reviews: *address_detected_data_reviews
notification_emails: *address_detected_emails
expires: never
extra_keys:
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
The flowId.
type: string
street_address:
description: >
street address result
type: string
address_line1:
description: >
address_line1 result
type: string
address_line2:
description: >
address_line2 result
type: string
address_line3:
description: >
address_line3 result
type: string
address_level1:
description: >
address_level1 result
type: string
address_level2:
description: >
address_level2 result
type: string
postal_code:
description: >
postal_code result
type: string
country:
description: >
country result
type: string
cleared_address_form:
type: event
description: >
Recorded when a form is cleared. Using field_name to record the field that triggers this event
This event was generated to correspond to the Legacy Telemetry event
address.cleared#address_form.
bugs: *address_detected_bugs
data_reviews: *address_detected_data_reviews
notification_emails: *address_detected_emails
expires: never
extra_keys:
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
The flowId.
type: string
field_name:
description: >
Name of the field being affected by the method
type: string
detected_address_form_ext:
type: event
description: >
Address has too many fields so we cannot cover them all in the above
`address_form` telemetry This telemetry is used to record address
fields that are not listed in `address_form`
This event was generated to correspond to the Legacy Telemetry event
address.detected#address_form_ext.
bugs: &address_detected_ext_bugs
- https://bugzil.la/1804901
data_reviews: &address_detected_ext_data_reviews
- https://bugzil.la/1804901
notification_emails: &address_detected_ext_emails
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
extra_keys: &address_detected_ext_extra
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
The flowId.
type: string
name:
description: >
name
type: string
given_name:
description: >
give_name
type: string
additional_name:
description: >
additional_name
type: string
family_name:
description: >
family_name
type: string
email:
description: >
email
type: string
organization:
description: >
organization
type: string
tel:
description: >
telephone
type: string
mlversion:
description: >
Revision of the ML field classifier configured for this client, or
empty when the feature is off. Recorded on every detection, including
forms the classifier did not label, so that version cohorts are not
conditioned on the model having succeeded. The two-engine classifier
reports both revisions joined by "/", the single-engine one reports a
single revision.
type: string
filled_address_form_ext:
type: event
description: >
Address has too many fields so we cannot cover them all in the above
`address_form` telemetry This telemetry is used to record address
fields that are not listed in `address_form`
This event was generated to correspond to the Legacy Telemetry event
address.filled#address_form_ext.
bugs: *address_detected_ext_bugs
data_reviews: *address_detected_ext_data_reviews
notification_emails: *address_detected_ext_emails
expires: never
extra_keys: *address_detected_ext_extra
submitted_address_form_ext:
type: event
description: >
Address has too many fields so we cannot cover them all in the above
`address_form` telemetry This telemetry is used to record address
fields that are not listed in `address_form`
This event was generated to correspond to the Legacy Telemetry event
address.submitted#address_form_ext.
bugs: *address_detected_ext_bugs
data_reviews: *address_detected_ext_data_reviews
notification_emails: *address_detected_ext_emails
expires: never
extra_keys: *address_detected_ext_extra
creditcard:
show_capture_doorhanger:
type: event
description: >
User interactions for the browser credit card autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
creditcard.show#capture_doorhanger.
bugs: &creditcard_show_bugs
- https://bugzil.la/1653073
- https://bugzil.la/1653083
- https://bugzil.la/1720608
- https://bugzil.la/1767907
data_reviews: &creditcard_show_data_reviews
- https://bugzil.la/1653073
- https://bugzil.la/1653083
- https://bugzil.la/1720608
- https://bugzil.la/1767907
notification_emails: &creditcard_show_emails
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
extra_keys: &creditcard_show_extra
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
The flowId.
type: string
show_update_doorhanger:
type: event
description: >
User interactions for the browser credit card autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
creditcard.show#update_doorhanger.
bugs: *creditcard_show_bugs
data_reviews: *creditcard_show_data_reviews
notification_emails: *creditcard_show_emails
expires: never
extra_keys: *creditcard_show_extra
save_capture_doorhanger:
type: event
description: >
User interactions for the browser credit card autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
creditcard.save#capture_doorhanger.
bugs: *creditcard_show_bugs
data_reviews: *creditcard_show_data_reviews
notification_emails: *creditcard_show_emails
expires: never
extra_keys: *creditcard_show_extra
save_update_doorhanger:
type: event
description: >
User interactions for the browser credit card autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
creditcard.save#update_doorhanger.
bugs: *creditcard_show_bugs
data_reviews: *creditcard_show_data_reviews
notification_emails: *creditcard_show_emails
expires: never
extra_keys: *creditcard_show_extra
update_capture_doorhanger:
type: event
description: >
User interactions for the browser credit card autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
creditcard.update#capture_doorhanger.
bugs: *creditcard_show_bugs
data_reviews: *creditcard_show_data_reviews
notification_emails: *creditcard_show_emails
expires: never
extra_keys: *creditcard_show_extra
update_update_doorhanger:
type: event
description: >
User interactions for the browser credit card autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
creditcard.update#update_doorhanger.
bugs: *creditcard_show_bugs
data_reviews: *creditcard_show_data_reviews
notification_emails: *creditcard_show_emails
expires: never
extra_keys: *creditcard_show_extra
cancel_capture_doorhanger:
type: event
description: >
User interactions for the browser credit card autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
creditcard.cancel#capture_doorhanger.
bugs: *creditcard_show_bugs
data_reviews: *creditcard_show_data_reviews
notification_emails: *creditcard_show_emails
expires: never
extra_keys: *creditcard_show_extra
cancel_update_doorhanger:
type: event
description: >
User interactions for the browser credit card autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
creditcard.cancel#update_doorhanger.
bugs: *creditcard_show_bugs
data_reviews: *creditcard_show_data_reviews
notification_emails: *creditcard_show_emails
expires: never
extra_keys: *creditcard_show_extra
disable_capture_doorhanger:
type: event
description: >
User interactions for the browser credit card autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
creditcard.disable#capture_doorhanger.
bugs: *creditcard_show_bugs
data_reviews: *creditcard_show_data_reviews
notification_emails: *creditcard_show_emails
expires: never
extra_keys: *creditcard_show_extra
disable_update_doorhanger:
type: event
description: >
User interactions for the browser credit card autofill doorhanger.
This event was generated to correspond to the Legacy Telemetry event
creditcard.disable#update_doorhanger.
bugs: *creditcard_show_bugs
data_reviews: *creditcard_show_data_reviews
notification_emails: *creditcard_show_emails
expires: never
extra_keys: *creditcard_show_extra
show_manage:
type: event
description: >
User interactions for credit card autofill preferences management
UI.
This event was generated to correspond to the Legacy Telemetry event
creditcard.show#manage.
bugs: &creditcard_manage_bugs
- https://bugzil.la/1653073
- https://bugzil.la/1654167
- https://bugzil.la/1720608
- https://bugzil.la/1767907
data_reviews: &creditcard_manage_data_reviews
- https://bugzil.la/1653073
- https://bugzil.la/1654167
- https://bugzil.la/1720608
- https://bugzil.la/1767907
notification_emails: &creditcard_manage_emails
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
extra_keys: &creditcard_manage_extra
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
type: string
add_manage:
type: event
description: >
User interactions for credit card autofill preferences management
UI.
This event was generated to correspond to the Legacy Telemetry event
creditcard.add#manage.
bugs: *creditcard_manage_bugs
data_reviews: *creditcard_manage_data_reviews
notification_emails: *creditcard_manage_emails
expires: never
extra_keys: *creditcard_manage_extra
delete_manage:
type: event
description: >
User interactions for credit card autofill preferences management
UI.
This event was generated to correspond to the Legacy Telemetry event
creditcard.delete#manage.
bugs: *creditcard_manage_bugs
data_reviews: *creditcard_manage_data_reviews
notification_emails: *creditcard_manage_emails
expires: never
extra_keys: *creditcard_manage_extra
show_entry_manage:
type: event
description: >
User interactions for credit card autofill preferences management
UI.
This event was generated to correspond to the Legacy Telemetry event
creditcard.show_entry#manage.
bugs: *creditcard_manage_bugs
data_reviews: *creditcard_manage_data_reviews
notification_emails: *creditcard_manage_emails
expires: never
extra_keys: *creditcard_manage_extra
edit_manage:
type: event
description: >
User interactions for credit card autofill preferences management
UI.
This event was generated to correspond to the Legacy Telemetry event
creditcard.edit#manage.
bugs: *creditcard_manage_bugs
data_reviews: *creditcard_manage_data_reviews
notification_emails: *creditcard_manage_emails
expires: never
extra_keys: *creditcard_manage_extra
detected_cc_form_v2:
type: event
description: >
Recorded when a form is recognized as a credit card form.
The possible value of cc_* in extra_keys are "true", "false", or an integer between 0-100.
When the value is "true", the field is identified via autocomplete attribute.
When the value is "false", the field is not detected in the form.
When the value is an integer greater than 0, the value indicates the confidence value from fathom (normalized to 0-100).
When the value is an 0, then the field is identified by regexp-based heuristic.
This event was generated to correspond to the Legacy Telemetry event
creditcard.detected#cc_form_v2.
bugs: &creditcard_detected_bugs
- https://bugzil.la/1757731
data_reviews: &creditcard_detected_data_reviews
- https://bugzil.la/1757731
notification_emails: &creditcard_detected_emails
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
extra_keys: &creditcard_detected_extra
value:
description: >
The `value` of the event. Mirrors to the Legacy Telemetry
event's `value` parameter.
The flowId.
type: string
cc_name:
description: >
cardholder name field result. Used by `detected`, `filled`, and `filled_modified` methods.
type: string
cc_number:
description: >
credit card number field result
type: string
cc_type:
description: >
credit card type result
type: string
cc_exp:
description: >
credit card expiration date
type: string
cc_exp_month:
description: >
credit card expiration month
type: string
cc_exp_year:
description: >
credit card expiration year
type: string
field_name:
description: >
Name of the field being affected by the method. Used by `popup_shown` and `filled_modified` methods.
type: string
popup_shown_cc_form_v2:
type: event
description: >
Recorded when autofill popup is shown. Using field_name to record the field that triggers this event.
This event was generated to correspond to the Legacy Telemetry event
creditcard.popup_shown#cc_form_v2.
bugs: *creditcard_detected_bugs
data_reviews: *creditcard_detected_data_reviews
notification_emails: *creditcard_detected_emails
expires: never
extra_keys: *creditcard_detected_extra
filled_cc_form_v2:
type: event
description: >
Recorded when a form is autofiled. Possible values are `filled`, `not_filled`, `user_filled` or `unavailable`.
This event was generated to correspond to the Legacy Telemetry event
creditcard.filled#cc_form_v2.
bugs: *creditcard_detected_bugs
data_reviews: *creditcard_detected_data_reviews
notification_emails: *creditcard_detected_emails
expires: never
extra_keys: *creditcard_detected_extra
filled_on_fields_update_cc_form_v2:
type: event
description: >
Recorded when a previous autofill action for the credit card form causes an immediate fields update
which triggers another autofill action including for the new/updated fields.
Possible values are `filled`, `filled_on_fields_update`, `user_filled` or `unavailable`.
data_sensitivity:
- interaction
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1837161
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1837161
notification_emails:
- autofill@lists.mozilla.org
expires: never
extra_keys:
value:
description: Flow id of an interaction session with a credit card form
type: string
cc_name:
description: Credit card cardholder name field result
type: string
cc_number:
description: Credit card number field result
type: string
cc_type:
description: Credit card type result
type: string
cc_exp:
description: Credit card expiration date result
type: string
cc_exp_month:
description: Credit card expiration month result
type: string
cc_exp_year:
description: Credit card expiration year result
type: string
filled_modified_cc_form_v2:
type: event
description: >
Recorded when a field is autofilled and then modified by the user.
Using field_name to record the field that triggers this event.
This event was generated to correspond to the Legacy Telemetry event
creditcard.filled_modified#cc_form_v2.
bugs: *creditcard_detected_bugs
data_reviews: *creditcard_detected_data_reviews
notification_emails: *creditcard_detected_emails
expires: never
extra_keys: *creditcard_detected_extra
submitted_cc_form_v2:
type: event
description: >
Recorded when a form is submitted. Possible values are `autofilled`, `user_filled` or `unavailable`.
This event was generated to correspond to the Legacy Telemetry event
creditcard.submitted#cc_form_v2.
bugs: *creditcard_detected_bugs
data_reviews: *creditcard_detected_data_reviews
notification_emails: *creditcard_detected_emails
expires: never
extra_keys: *creditcard_detected_extra
cleared_cc_form_v2:
type: event
description: >
Recorded when a form is cleared. Using field_name to record the field that triggers this event.
This event was generated to correspond to the Legacy Telemetry event
creditcard.cleared#cc_form_v2.
bugs: *creditcard_detected_bugs
data_reviews: *creditcard_detected_data_reviews
notification_emails: *creditcard_detected_emails
expires: never
extra_keys: *creditcard_detected_extra
detected_cc_number_fields_count:
type: labeled_counter
description: >
The count of detected input fields that a website plans on splitting the cc number digits across
labels:
- cc_number_fields_1
- cc_number_fields_2
- cc_number_fields_3
- cc_number_fields_4
- cc_number_fields_other
data_sensitivity:
- technical
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1867548
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1867548#c8
notification_emails:
- autofill@lists.mozilla.org
expires: never
os_keystore_decrypt:
type: event
description: >
Captures the result of the OS Keystore decryption, which user interaction triggered the OS Keystore, and any error messages upon failure.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1831049
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1831049
notification_emails:
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
extra_keys:
isDecryptSuccess:
description: >
Records if the decryption was a success or failure.
type: boolean
errorResult:
description: >
Records the nsresult error value.
Likely errors include "Cr.NS_ERROR_FAILURE" and "Cr.NS_ERROR_ABORT".
If no error then 0.
type: string
trigger:
description: >
What triggered the OS Keystore Popup.
"edit" - when editing credit cards
"autofill" - when autofilling credit cards
type: string
passport:
show_capture_doorhanger:
type: event
description: >
User interactions for the browser passport autofill doorhanger.
Recorded when the doorhanger is shown.
bugs: &passport_doorhanger_bugs
- https://bugzilla.mozilla.org/show_bug.cgi?id=2044946
data_reviews: &passport_doorhanger_data_reviews
- https://bugzilla.mozilla.org/show_bug.cgi?id=2044946
notification_emails: &passport_show_emails
- autofill@lists.mozilla.org
data_sensitivity:
- interaction
expires: never
extra_keys: &passport_doorhanger_extra
value:
description: >
The flowId of the interaction session with the passport form.
type: string
no_lint: [COMMON_PREFIX]
save_capture_doorhanger:
type: event
description: >
User interactions for the browser passport autofill doorhanger.
Recorded when the user accepts the doorhanger to save the passport.
bugs: *passport_doorhanger_bugs
data_reviews: *passport_doorhanger_data_reviews
notification_emails: *passport_show_emails
data_sensitivity:
- interaction
expires: never
extra_keys: *passport_doorhanger_extra
no_lint: [COMMON_PREFIX]
cancel_capture_doorhanger:
type: event
description: >
User interactions for the browser passport autofill doorhanger.
Recorded when the user dismisses the doorhanger without saving.
bugs: *passport_doorhanger_bugs
data_reviews: *passport_doorhanger_data_reviews
notification_emails: *passport_show_emails
data_sensitivity:
- interaction
expires: never
extra_keys: *passport_doorhanger_extra
no_lint: [COMMON_PREFIX]
disable_capture_doorhanger:
type: event
description: >
User interactions for the browser passport autofill doorhanger.
Recorded when the user chooses to never save passports.
bugs: *passport_doorhanger_bugs
data_reviews: *passport_doorhanger_data_reviews
notification_emails: *passport_show_emails
data_sensitivity:
- interaction
expires: never
extra_keys: *passport_doorhanger_extra
no_lint: [COMMON_PREFIX]
show_manage:
type: event
description: >
User interactions for passport autofill preferences management UI.
Recorded when the passport management dialog is shown.
bugs: &passport_manage_bugs
- https://bugzilla.mozilla.org/show_bug.cgi?id=2044946
data_reviews: &passport_manage_data_reviews
- https://bugzilla.mozilla.org/show_bug.cgi?id=2044946
notification_emails: &passport_manage_emails
- autofill@lists.mozilla.org
data_sensitivity:
- interaction
expires: never
add_manage:
type: event
description: >
User interactions for passport autofill preferences management UI.
Recorded when a passport entry is added.
bugs: *passport_manage_bugs
data_reviews: *passport_manage_data_reviews
notification_emails: *passport_manage_emails
data_sensitivity:
- interaction
expires: never
delete_manage:
type: event
description: >
User interactions for passport autofill preferences management UI.
Recorded when a passport entry is deleted.
bugs: *passport_manage_bugs
data_reviews: *passport_manage_data_reviews
notification_emails: *passport_manage_emails
data_sensitivity:
- interaction
expires: never
edit_manage:
type: event
description: >
User interactions for passport autofill preferences management UI.
Recorded when a passport entry is edited.
bugs: *passport_manage_bugs
data_reviews: *passport_manage_data_reviews
notification_emails: *passport_manage_emails
data_sensitivity:
- interaction
expires: never
show_entry_manage:
type: event
description: >
User interactions for passport autofill preferences management UI.
Recorded when the edit dialog for an existing passport entry is shown.
bugs: *passport_manage_bugs
data_reviews: *passport_manage_data_reviews
notification_emails: *passport_manage_emails
data_sensitivity:
- interaction
expires: never
detected_passport_form:
type: event
description: >
Recorded when a form is recognized as a passport form.
The possible values of the field extra_keys are "true", "false", or 0.
When the value is "true", the field is identified via autocomplete attribute.
When the value is "false", the field is not detected in the form.
When the value is 0, the field is identified by regexp-based heuristic.
Note: passport fields have no standard autocomplete attribute, so they are
only identified by ML or regexp-based heuristics; the "true" value is not
expected for passport forms.
bugs: &passport_form_bugs
- https://bugzilla.mozilla.org/show_bug.cgi?id=2044946
data_reviews: &passport_form_data_reviews
- https://bugzilla.mozilla.org/show_bug.cgi?id=2044946
notification_emails: &passport_detected_emails
- autofill@lists.mozilla.org
data_sensitivity:
- interaction
expires: never
extra_keys: &passport_form_extra
value:
description: >
The flowId of the interaction session with the passport form.
type: string
field_name:
description: >
Name of the field being affected by the method. Used by `popup_shown`,
`filled_modified` and `cleared` methods.
type: string
name:
description: passport full name field result
type: string
given_name:
description: passport given name field result
type: string
additional_name:
description: passport additional name field result
type: string
family_name:
description: passport family name field result
type: string
country:
description: passport issuing country field result
type: string
number:
description: passport number field result
type: string
issue_date_day:
description: passport issue date day field result
type: string
issue_date_month:
description: passport issue date month field result
type: string
issue_date_year:
description: passport issue date year field result
type: string
issue_date:
description: passport issue date field result
type: string
expiry_date_day:
description: passport expiry date day field result
type: string
expiry_date_month:
description: passport expiry date month field result
type: string
expiry_date_year:
description: passport expiry date year field result
type: string
expiry_date:
description: passport expiry date field result
type: string
popup_shown_passport_form:
type: event
description: >
Recorded when the autofill popup is shown. Uses field_name to record the
field that triggers this event.
bugs: *passport_form_bugs
data_reviews: *passport_form_data_reviews
notification_emails: *passport_detected_emails
data_sensitivity:
- interaction
expires: never
extra_keys: *passport_form_extra
filled_passport_form:
type: event
description: >
Recorded when a form is autofilled. Possible values are `filled`,
`not_filled`, `user_filled` or `unavailable`.
bugs: *passport_form_bugs
data_reviews: *passport_form_data_reviews
notification_emails: *passport_detected_emails
data_sensitivity:
- interaction
expires: never
extra_keys: *passport_form_extra
filled_on_fields_update_passport_form:
type: event
description: >
Recorded when a previous autofill action for the passport form causes an
immediate fields update which triggers another autofill action including
for the new/updated fields. Possible values are `filled`,
`filled_on_fields_update`, `user_filled` or `unavailable`.
bugs: *passport_form_bugs
data_reviews: *passport_form_data_reviews
notification_emails: *passport_detected_emails
data_sensitivity:
- interaction
expires: never
extra_keys: *passport_form_extra
filled_modified_passport_form:
type: event
description: >
Recorded when a field is autofilled and then modified by the user.
Uses field_name to record the field that triggers this event.
bugs: *passport_form_bugs
data_reviews: *passport_form_data_reviews
notification_emails: *passport_detected_emails
data_sensitivity:
- interaction
expires: never
extra_keys: *passport_form_extra
submitted_passport_form:
type: event
description: >
Recorded when a form is submitted. Possible values are `autofilled`,
`not_filled`, `user_filled` or `unavailable`.
bugs: *passport_form_bugs
data_reviews: *passport_form_data_reviews
notification_emails: *passport_detected_emails
data_sensitivity:
- interaction
expires: never
extra_keys: *passport_form_extra
cleared_passport_form:
type: event
description: >
Recorded when a form is cleared. Uses field_name to record the field that
triggers this event.
bugs: *passport_form_bugs
data_reviews: *passport_form_data_reviews
notification_emails: *passport_detected_emails
data_sensitivity:
- interaction
expires: never
extra_keys: *passport_form_extra
formautofill.addresses:
autofill_profiles_count:
type: quantity
description: >
Count at store time how many address autofill profiles user has.
This metric was generated to correspond to the Legacy Telemetry
scalar formautofill.addresses.autofill_profiles_count.
bugs:
- https://bugzil.la/1801039
data_reviews:
- https://bugzil.la/1801039
notification_emails:
- autofill@lists.mozilla.org
- passwords-dev@mozilla.org
expires: never
unit: address autofill profiles
migrate_to_rust:
type: event
description: >
Recorded once per attempt to copy a profile's addresses from the store
serving them into the other one, which is what has to succeed before that
store starts serving. Both directions report here, told apart by
`direction`. Tracks how often the copy succeeds, on how many records, and
how long it takes.
data_sensitivity:
- technical
bugs:
- https://bugzil.la/2058441
data_reviews:
- https://bugzil.la/2058441
notification_emails:
- autofill@lists.mozilla.org
expires: never
extra_keys:
run_id:
description: >
A fresh id per run, so that the migrate_record_divergence events a run
emitted join to it unambiguously.
type: string
direction:
description: >
Which way the addresses were copied: "to_rust" for the migration into
the Rust store, "to_json" for the copy back when the pref that chooses
the store is turned off again. A profile can do both, so this is what
keeps the two apart.
type: string
attempt:
description: >
How many launches had already tried and failed before this one, 0 on
the first. A retry emits an otherwise identical event, so this is
what separates a profile that failed once from one failing every
time. The migrator gives up after 3.
type: quantity
result:
description: >
"ok" when the store copied into ended up holding exactly what the
source holds -- every record arrived and nothing the source lacks
survived, compared by guid rather than by count -- so the profile
could be handed to it; otherwise "error".
type: string
source_total:
description: >
Number of address records the migration tried to copy, as counted in
the store copied from.
type: quantity
target_total:
description: >
Number of records the store copied into held once the copy finished,
read back rather than counted as it went. Equal to `migrated` when the
copy is sound; lower means records reported as written are not there.
0 if the migration threw before reading back.
type: quantity
migrated:
description: >
Number of records the import reported as written. A record the store
copied into already held under the same timeLastModified is left
alone, so source_total minus migrated minus failed is the number that
needed nothing doing.
type: quantity
failed:
description: >
Number of records the import rejected. Why is summarized in
error_message.
type: quantity
failed_deletions:
description: >
Number of deletions the copy could not apply, whether removing a
record the source no longer has or importing a tombstone for one it
had already deleted. `result` tells the two apart: a record that
would not delete is still in the store copied into, so the run fails
on it, while a tombstone that would not import leaves that store
correct and costs a deletion coming back at the next sync.
type: quantity
diverged:
description: >
Number of records the store copied into accepted and then held with a
different value in a field it stores: the copy is complete but not
faithful. Fields it derives on read, or has no column for, are not
compared -- neither was carried by the copy, so neither says anything
about it. Which fields disagreed is in migrate_record_divergence.
Does not fail the migration. 0 if the migration threw before
verifying.
type: quantity
duration_ms:
description: Wall-clock duration of the migration, in milliseconds.
type: quantity
error_code:
description: >
The UniFFI error variant when the migration threw, for grouping.
Absent otherwise, including when records were rejected or came up
short: the counts already describe that.
type: string
error_message:
description: >
A normalized, PII-stripped message: the first reason a record was
rejected, or the error text where the migration threw. One example to
read rather than a set to aggregate -- rejected records in one batch
nearly always share a cause. Absent when the counts say it all.
type: string
migrate_record_divergence:
type: event
description: >
Recorded once per address record that came out of a migration held
differently from the way the store copied from held it, naming the fields
that disagreed and which way each of them went. One event per record,
however many of its fields disagreed; join to migrate_to_rust on run_id
for the direction and for `diverged`, the total.
Catches the failure the counts cannot: both stores accepting a write and
then holding different values, since the Rust store normalises names,
phone numbers, regions and countries itself. Only the fields that store
keeps are compared.
Only field names are recorded, never values.
data_sensitivity:
- technical
bugs:
- https://bugzil.la/2058441
data_reviews:
- https://bugzil.la/2058441
notification_emails:
- autofill@lists.mozilla.org
expires: never
extra_keys:
run_id:
description: The migrate_to_rust run this record was copied by.
type: string
changed:
description: >
Comma-separated names of the fields both stores hold, with different
values -- a normalised name, phone number, region or country lands
here. Absent when there are none.
type: string
dropped:
description: >
Comma-separated names of the fields the store copied from holds and
the one copied into came back empty on: the copy losing something.
Absent when there are none.
type: string
added:
description: >
Comma-separated names of the fields the store copied from left empty
and the one copied into came back with, most often ones it derives on
read. Absent when there are none.
type: string