Bug 1389991 - extend browser data migration telemetry probes so they continue to work on 58 and above, r?rweiss draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 22 Aug 2017 10:01:11 +0100
changeset 650398 2c525369ce37d5981c85959f2ef24f25f548cf90
parent 649622 7dddbd85047c6dc73ddbe1e423cd643a217845b3
child 727392 b57b5973cf43aee05a42b44b01f36d440079314c
push id75375
push usergijskruitbosch@gmail.com
push dateTue, 22 Aug 2017 09:00:57 +0000
reviewersrweiss
bugs1389991
milestone57.0a1
Bug 1389991 - extend browser data migration telemetry probes so they continue to work on 58 and above, r?rweiss MozReview-Commit-ID: 8Ya5snYYSjG
toolkit/components/telemetry/Histograms.json
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -6192,334 +6192,334 @@
     "expires_in_version": "never",
     "kind": "boolean",
     "description": "THUMBNAILS: Thumbnail found"
   },
   "FX_MIGRATION_ENTRY_POINT": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [731025],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "enumerated",
     "n_values": 10,
     "releaseChannelCollection": "opt-out",
     "description": "Where the migration wizard was entered from. 0=Other/catch-all, 1=first-run, 2=refresh-firefox, 3=Places window, 4=Password manager"
   },
   "FX_MIGRATION_SOURCE_BROWSER": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [731025],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "enumerated",
     "n_values": 15,
     "releaseChannelCollection": "opt-out",
     "description": "The browser that data is pulled from. The values correspond to the internal browser ID (see MigrationUtils.jsm)"
   },
   "FX_MIGRATION_ERRORS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [731025],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "enumerated",
     "keyed": true,
     "n_values": 12,
     "releaseChannelCollection": "opt-out",
     "description": "Errors encountered during migration in buckets defined by the datatype, keyed by the string description of the browser."
   },
   "FX_MIGRATION_USAGE": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [731025],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "enumerated",
     "keyed": true,
     "n_values": 12,
     "releaseChannelCollection": "opt-out",
     "description": "Usage of migration for each datatype when migration is run through the post-firstrun flow which allows individual datatypes, keyed by the string description of the browser."
   },
   "FX_MIGRATION_IMPORTED_HOMEPAGE": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [731025, 1298208],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "boolean",
     "keyed": true,
     "releaseChannelCollection": "opt-out",
     "description": "Whether the homepage was imported during browser migration. Only available on release builds during firstrun."
   },
   "FX_MIGRATION_BOOKMARKS_IMPORT_MS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1289436],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "exponential",
     "n_buckets": 70,
     "high": 100000,
     "releaseChannelCollection": "opt-out",
     "keyed": true,
     "description": "How long it took to import bookmarks from another browser, keyed by the name of the browser."
   },
   "FX_MIGRATION_HISTORY_IMPORT_MS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1289436],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "exponential",
     "n_buckets": 70,
     "high": 100000,
     "releaseChannelCollection": "opt-out",
     "keyed": true,
     "description": "How long it took to import history from another browser, keyed by the name of the browser."
   },
   "FX_MIGRATION_LOGINS_IMPORT_MS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1289436],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "exponential",
     "n_buckets": 70,
     "high": 100000,
     "releaseChannelCollection": "opt-out",
     "keyed": true,
     "description": "How long it took to import logins (passwords) from another browser, keyed by the name of the browser."
   },
   "FX_MIGRATION_BOOKMARKS_JANK_MS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1338522],
     "alert_emails": ["dao@mozilla.com"],
-    "expires_in_version": "58",
+    "expires_in_version": "61",
     "kind": "exponential",
     "n_buckets": 20,
     "high": 60000,
     "releaseChannelCollection": "opt-out",
     "keyed": true,
     "description": "Accumulated timer delay (variance between when the timer was expected to fire and when it actually fired) in milliseconds as an indicator for decreased main-thread responsiveness while importing bookmarks from another browser, keyed by the name of the browser (see gAvailableMigratorKeys in MigrationUtils.jsm). The import is happening on a background thread and should ideally not affect the UI noticeably."
   },
   "FX_MIGRATION_HISTORY_JANK_MS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1338522],
     "alert_emails": ["dao@mozilla.com"],
-    "expires_in_version": "58",
+    "expires_in_version": "61",
     "kind": "exponential",
     "n_buckets": 20,
     "high": 60000,
     "releaseChannelCollection": "opt-out",
     "keyed": true,
     "description": "Accumulated timer delay (variance between when the timer was expected to fire and when it actually fired) in milliseconds as an indicator for decreased main-thread responsiveness while importing history from another browser, keyed by the name of the browser (see gAvailableMigratorKeys in MigrationUtils.jsm). The import is happening on a background thread and should ideally not affect the UI noticeably."
   },
   "FX_MIGRATION_LOGINS_JANK_MS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1338522],
     "alert_emails": ["dao@mozilla.com"],
-    "expires_in_version": "58",
+    "expires_in_version": "61",
     "kind": "exponential",
     "n_buckets": 20,
     "high": 60000,
     "releaseChannelCollection": "opt-out",
     "keyed": true,
     "description": "Accumulated timer delay (variance between when the timer was expected to fire and when it actually fired) in milliseconds as an indicator for decreased main-thread responsiveness while importing logins / passwords from another browser, keyed by the name of the browser (see gAvailableMigratorKeys in MigrationUtils.jsm). The import is happening on a background thread and should ideally not affect the UI noticeably."
   },
   "FX_MIGRATION_BOOKMARKS_QUANTITY": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1279501],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "exponential",
     "n_buckets": 20,
     "high": 1000,
     "releaseChannelCollection": "opt-out",
     "keyed": true,
     "description": "How many bookmarks we imported from another browser, keyed by the name of the browser."
   },
   "FX_MIGRATION_HISTORY_QUANTITY": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1279501],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "exponential",
     "n_buckets": 40,
     "high": 10000,
     "releaseChannelCollection": "opt-out",
     "keyed": true,
     "description": "How many history visits we imported from another browser, keyed by the name of the browser."
   },
   "FX_MIGRATION_LOGINS_QUANTITY": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1279501],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "exponential",
     "n_buckets": 20,
     "high": 1000,
     "releaseChannelCollection": "opt-out",
     "keyed": true,
     "description": "How many logins (passwords) we imported from another browser, keyed by the name of the browser."
   },
   "FX_STARTUP_MIGRATION_BROWSER_COUNT": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1275114],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "enumerated",
     "n_values": 15,
     "releaseChannelCollection": "opt-out",
     "description": "Number of browsers from which the user could migrate on initial profile migration. Only available on release builds during firstrun."
   },
   "FX_STARTUP_MIGRATION_EXISTING_DEFAULT_BROWSER": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1275114],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "enumerated",
     "n_values": 15,
     "releaseChannelCollection": "opt-out",
     "description": "The browser that was the default on the initial profile migration. The values correspond to the internal browser ID (see MigrationUtils.jsm)"
   },
   "FX_STARTUP_MIGRATION_AUTOMATED_IMPORT_PROCESS_SUCCESS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1271775],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "enumerated",
     "n_values": 27,
     "releaseChannelCollection": "opt-out",
     "description": "Where automatic migration was attempted, indicates to what degree we succeeded. Values 0-25 indicate progress through the automatic migration sequence, with 25 indicating the migration finished. 26 is only used when the migration produced errors before it finished."
   },
   "FX_STARTUP_MIGRATION_AUTOMATED_IMPORT_UNDO": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1283565],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "enumerated",
     "n_values": 31,
     "releaseChannelCollection": "opt-out",
     "description": "Where undo of the automatic migration was attempted, indicates to what degree we succeeded to undo. 0 means we started to undo, 5 means we bailed out from the undo because it was not possible to complete it (there was nothing to undo or the user was signed in to sync). All higher values indicate progression through the undo sequence, with 30 indicating we finished the undo without exceptions in the middle."
   },
   "FX_STARTUP_MIGRATION_UNDO_REASON": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1289906],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "keyed": true,
     "kind": "enumerated",
     "n_values": 10,
     "releaseChannelCollection": "opt-out",
     "description": "Why the undo functionality of an automatic migration was disabled: 0 means we used undo, 1 means the user signed in to sync, 2 means the user created/modified a password, 3 means the user created/modified a bookmark (item or folder), 4 means we showed an undo option repeatedly and the user did not use it, 5 means we showed an undo option and the user actively elected to keep the data. The whole thing is keyed to the identifiers of different browsers (so 'chrome', 'ie', 'edge', 'safari', etc.)."
   },
   "FX_STARTUP_MIGRATION_UNDO_OFFERED": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1309617],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "kind": "enumerated",
     "n_values": 5,
     "releaseChannelCollection": "opt-out",
     "description": "Indicates we showed a 'would you like to undo this automatic migration?' notification bar. The bucket indicates which nth day we're on (1st/2nd/3rd, by default - 0 would be indicative the pref didn't get set which shouldn't happen). After 3 days on which the notification gets shown, it will get disabled and never shown again."
   },
   "FX_STARTUP_MIGRATION_UNDO_BOOKMARKS_ERRORCOUNT": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1333233],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "58",
+    "expires_in_version": "61",
     "keyed": true,
     "kind": "exponential",
     "n_buckets": 20,
     "high": 100,
     "releaseChannelCollection": "opt-out",
     "description": "Indicates how many errors we find when trying to 'undo' bookmarks import. Keys are internal ids of browsers we import from, e.g. 'chrome' or 'ie', etc."
   },
   "FX_STARTUP_MIGRATION_UNDO_LOGINS_ERRORCOUNT": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1333233],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "58",
+    "expires_in_version": "61",
     "keyed": true,
     "kind": "exponential",
     "n_buckets": 20,
     "high": 100,
     "releaseChannelCollection": "opt-out",
     "description": "Indicates how many errors we find when trying to 'undo' login (password) import. Keys are internal ids of browsers we import from, e.g. 'chrome' or 'ie', etc."
   },
   "FX_STARTUP_MIGRATION_UNDO_VISITS_ERRORCOUNT": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1333233],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "58",
+    "expires_in_version": "61",
     "keyed": true,
     "kind": "exponential",
     "n_buckets": 20,
     "high": 100,
     "releaseChannelCollection": "opt-out",
     "description": "Indicates how many errors we find when trying to 'undo' history import. Keys are internal ids of browsers we import from, e.g. 'chrome' or 'ie', etc."
   },
   "FX_STARTUP_MIGRATION_UNDO_BOOKMARKS_MS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1333233],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "58",
+    "expires_in_version": "61",
     "keyed": true,
     "kind": "exponential",
     "n_buckets": 20,
     "high": 60000,
     "releaseChannelCollection": "opt-out",
     "description": "Indicates how long it took to undo the startup import of bookmarks, in ms. Keys are internal ids of browsers we import from, e.g. 'chrome' or 'ie', etc."
   },
   "FX_STARTUP_MIGRATION_UNDO_LOGINS_MS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1333233],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "58",
+    "expires_in_version": "61",
     "keyed": true,
     "kind": "exponential",
     "n_buckets": 20,
     "high": 60000,
     "releaseChannelCollection": "opt-out",
     "description": "Indicates how long it took to undo the startup import of logins, in ms. Keys are internal ids of browsers we import from, e.g. 'chrome' or 'ie', etc."
   },
   "FX_STARTUP_MIGRATION_UNDO_VISITS_MS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1333233],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "58",
+    "expires_in_version": "61",
     "keyed": true,
     "kind": "exponential",
     "n_buckets": 20,
     "high": 60000,
     "releaseChannelCollection": "opt-out",
     "description": "Indicates how long it took to undo the startup import of visits (history), in ms. Keys are internal ids of browsers we import from, e.g. 'chrome' or 'ie', etc."
   },
   "FX_STARTUP_MIGRATION_UNDO_TOTAL_MS": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1333233],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "58",
+    "expires_in_version": "61",
     "keyed": true,
     "kind": "exponential",
     "n_buckets": 20,
     "high": 60000,
     "releaseChannelCollection": "opt-out",
     "description": "Indicates how long it took to undo the entirety of the startup undo, in ms. Keys are internal ids of browsers we import from, e.g. 'chrome' or 'ie', etc."
   },
   "FX_STARTUP_MIGRATION_DATA_RECENCY": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1276694],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "keyed": true,
     "kind": "exponential",
     "n_buckets": 50,
     "high": 8760,
     "releaseChannelCollection": "opt-out",
     "description": "The 'last modified' time of the data we imported on the initial profile migration (time delta with 'now' at the time of migration, in hours). Collected for all browsers for which migration data is available, and stored keyed by browser identifier (e.g. 'ie', 'edge', 'safari', etc.)."
   },
   "FX_STARTUP_MIGRATION_USED_RECENT_BROWSER": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1276694],
     "alert_emails": ["gijs@mozilla.com"],
-    "expires_in_version": "57",
+    "expires_in_version": "61",
     "keyed": true,
     "kind": "boolean",
     "releaseChannelCollection": "opt-out",
     "description": "Whether the browser we migrated from was the browser with the most recent data. Keyed by that browser's identifier (e.g. 'ie', 'edge', 'safari', etc.)."
   },
   "FX_PREFERENCES_CATEGORY_OPENED": {
     "record_in_processes": ["main", "content"],
     "bug_numbers": [1324167],