<!-- AUTOGENERATED BY glean_parser. DO NOT EDIT. -->

# Metrics

This document enumerates the metrics collected by this project using the [Glean SDK](https://mozilla.github.io/glean/book/index.html).
This project may depend on other projects which also collect metrics.
This means you might have to go searching through the dependency tree to get a full picture of everything collected by this project.

# Pings

- [migration](#migration)

## migration

A ping sent after a Fennec->Fenix migration was completed.


This ping includes the [client id](https://mozilla.github.io/glean/book/user/pings/index.html#the-client_info-section).

**Data reviews for this ping:**

- <https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458>

**Bugs related to this ping:**

- <https://github.com/mozilla-mobile/fenix/issues/5888>

All Glean pings contain built-in metrics in the [`ping_info`](https://mozilla.github.io/glean/book/user/pings/index.html#the-ping_info-section) and [`client_info`](https://mozilla.github.io/glean/book/user/pings/index.html#the-client_info-section) sections.

In addition to those built-in metrics, the following metrics are added to the ping:

| Name | Type | Description | Data reviews | Extras | Expiration | [Data Sensitivity](https://wiki.mozilla.org/Firefox/Data_Collection) |
| --- | --- | --- | --- | --- | --- | --- |
| migration.addons.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.addons.failed_addons |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |How many addons failed to migrate?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.addons.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.addons.migrated_addons |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |How many addons were migrated?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.addons.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.addons.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.bookmarks.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.bookmarks.detected |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Total number of detected bookmarks prior to a migration.  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.bookmarks.duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Duration of the bookmarks migration (Rust operations).  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.bookmarks.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5655](https://github.com/mozilla-mobile/android-components/pull/5655#pullrequestreview-346359792)||2021-11-01 |1 |
| migration.bookmarks.migrated |[labeled_counter](https://mozilla.github.io/glean/book/user/metrics/labeled_counters.html) |Counters describing how bookmark migration went; should add-up to 'migration.bookmarks.detected'.  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)|<ul><li>succeeded</li><li>failed</li></ul>|2021-11-01 |1, 2 |
| migration.bookmarks.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5655](https://github.com/mozilla-mobile/android-components/pull/5655#pullrequestreview-346359792)||2021-11-01 |1 |
| migration.bookmarks.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.fxa.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.fxa.bad_auth_state |[string](https://mozilla.github.io/glean/book/user/metrics/string.html) |If we couldn't migrate due to a bad auth state, what was it?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.fxa.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.fxa.has_custom_idp_server |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Is custom idp server configured?  |[mozilla-mobile/android-components#5582](https://github.com/mozilla-mobile/android-components/pull/5582#issuecomment-574673110)||2021-11-01 |1, 2 |
| migration.fxa.has_custom_token_server |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Is custom token server configured?  |[mozilla-mobile/android-components#5582](https://github.com/mozilla-mobile/android-components/pull/5582#issuecomment-574673110)||2021-11-01 |1, 2 |
| migration.fxa.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.fxa.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.fxa.unsupported_account_version |[string](https://mozilla.github.io/glean/book/user/metrics/string.html) |What is the detected unsupported account version?  |[mozilla-mobile/android-components#5582](https://github.com/mozilla-mobile/android-components/pull/5582#issuecomment-574673110)||2021-11-01 |1, 2 |
| migration.fxa.unsupported_pickle_version |[string](https://mozilla.github.io/glean/book/user/metrics/string.html) |What is the detected unsupported pickle version?  |[mozilla-mobile/android-components#5582](https://github.com/mozilla-mobile/android-components/pull/5582#issuecomment-574673110)||2021-11-01 |1, 2 |
| migration.fxa.unsupported_state_version |[string](https://mozilla.github.io/glean/book/user/metrics/string.html) |What is the detected unsupported state version?  |[mozilla-mobile/android-components#5582](https://github.com/mozilla-mobile/android-components/pull/5582#issuecomment-574673110)||2021-11-01 |1, 2 |
| migration.gecko.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.gecko.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5655](https://github.com/mozilla-mobile/android-components/pull/5655#pullrequestreview-346359792)||2021-11-01 |1 |
| migration.gecko.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5655](https://github.com/mozilla-mobile/android-components/pull/5655#pullrequestreview-346359792)||2021-11-01 |1 |
| migration.gecko.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.history.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.history.detected |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Total number of detected history items prior to a migration.  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.history.duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Duration of the history migration (Rust operations).  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.history.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5655](https://github.com/mozilla-mobile/android-components/pull/5655#pullrequestreview-346359792)||2021-11-01 |1 |
| migration.history.migrated |[labeled_counter](https://mozilla.github.io/glean/book/user/metrics/labeled_counters.html) |Counters describing how history migration went; should add-up to 'migration.history.detected'.  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)|<ul><li>succeeded</li><li>failed</li></ul>|2021-11-01 |1, 2 |
| migration.history.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5655](https://github.com/mozilla-mobile/android-components/pull/5655#pullrequestreview-346359792)||2021-11-01 |1 |
| migration.history.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.logins.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.logins.detected |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |How many logins were detected?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.logins.failure_counts |[labeled_counter](https://mozilla.github.io/glean/book/user/metrics/labeled_counters.html) |How many logins failed to be migrated, and in which ways?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)|<ul><li>process</li><li>import</li></ul>|2021-11-01 |1, 2 |
| migration.logins.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.logins.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.logins.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.logins.unsupported_db_version |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |If we couldn't migrate due to an unsupported db version, what was it?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.migration_versions |[labeled_string](https://mozilla.github.io/glean/book/user/metrics/labeled_strings.html) |Versions of the migrations which were executed.  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)|<ul><li>history</li><li>bookmarks</li><li>logins</li><li>open_tabs</li><li>fxa</li><li>gecko</li><li>settings</li><li>telemetry_identifiers</li><li>addons</li><li>search</li><li>pinned_sites</li></ul>|2021-11-01 |1, 2 |
| migration.open_tabs.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.open_tabs.detected |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Number of detected open tabs.  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.open_tabs.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5655](https://github.com/mozilla-mobile/android-components/pull/5655#pullrequestreview-346359792)||2021-11-01 |1 |
| migration.open_tabs.migrated |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Number of migrated open tabs.  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.open_tabs.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5655](https://github.com/mozilla-mobile/android-components/pull/5655#pullrequestreview-346359792)||2021-11-01 |1 |
| migration.open_tabs.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.pinned_sites.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.pinned_sites.detected_pinned_sites |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |How many pinned sites were detected?  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.pinned_sites.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.pinned_sites.migrated_pinned_sites |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |How many pinned sites were migrated?  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.pinned_sites.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.pinned_sites.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.search.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#5819](https://github.com/mozilla-mobile/android-components/pull/5819#pullrequestreview-353890362)||2021-11-01 |2 |
| migration.search.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5819](https://github.com/mozilla-mobile/android-components/pull/5819#pullrequestreview-353890362)||2021-11-01 |2 |
| migration.search.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5819](https://github.com/mozilla-mobile/android-components/pull/5819#pullrequestreview-353890362)||2021-11-01 |2 |
| migration.search.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.settings.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.settings.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.settings.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.settings.telemetry_enabled |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Is telemetry enabled after this migration?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.settings.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |
| migration.telemetry_identifiers.any_failures |[boolean](https://mozilla.github.io/glean/book/user/metrics/boolean.html) |Did this migration encounter any failures (exceptions)?  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.telemetry_identifiers.failure_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration failed. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5655](https://github.com/mozilla-mobile/android-components/pull/5655#pullrequestreview-346359792)||2021-11-01 |1 |
| migration.telemetry_identifiers.fennec_client_id |[uuid](https://mozilla.github.io/glean/book/user/metrics/uuid.html) |Records clientID of the migrated Fennec profile.  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.telemetry_identifiers.fennec_profile_creation_date |[datetime](https://mozilla.github.io/glean/book/user/metrics/datetime.html) |Records when the migrated Fennec profile was created.  |[mozilla-mobile/android-components#5483](https://github.com/mozilla-mobile/android-components/pull/5483#issuecomment-573971458)||2021-11-01 |1, 2 |
| migration.telemetry_identifiers.success_reason |[counter](https://mozilla.github.io/glean/book/user/metrics/counter.html) |Why this migration succeeded. See codes in TelemetryHelpers.kt  |[mozilla-mobile/android-components#5655](https://github.com/mozilla-mobile/android-components/pull/5655#pullrequestreview-346359792)||2021-11-01 |1 |
| migration.telemetry_identifiers.total_duration |[timespan](https://mozilla.github.io/glean/book/user/metrics/timespan.html) |Total duration of this migration.  |[mozilla-mobile/android-components#6214](https://github.com/mozilla-mobile/android-components/pull/6214#pullrequestreview-372237195)||2021-11-01 |1, 2 |

Data categories are [defined here](https://wiki.mozilla.org/Firefox/Data_Collection).

<!-- AUTOGENERATED BY glean_parser.  DO NOT EDIT. DO NOT COMMIT. -->

