From 145cd37f533175813cbe548266f72816aea0ccca Mon Sep 17 00:00:00 2001 From: Csoregi Natalia Date: Fri, 1 Nov 2019 09:25:48 +0200 Subject: [PATCH] Backed out changeset 8449ec58f40f (bug 1592253) for bustages on TelemetryHistogramEnums.h. CLOSED TREE --- toolkit/components/telemetry/Histograms.json | 322 ++++++++++++++++++ .../telemetry/histogram-allowlists.json | 63 ++++ 2 files changed, 385 insertions(+) diff --git a/toolkit/components/telemetry/Histograms.json b/toolkit/components/telemetry/Histograms.json index caf3c3116d27..1276f0bb6ba3 100644 --- a/toolkit/components/telemetry/Histograms.json +++ b/toolkit/components/telemetry/Histograms.json @@ -5889,6 +5889,77 @@ "bug_numbers": [1399880], "description": "The size of the description and preview image url for page metadata (Bytes)" }, + "FENNEC_DISTRIBUTION_REFERRER_INVALID": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "flag", + "description": "Whether the referrer intent specified an invalid distribution name", + "operating_systems": ["android"] + }, + "FENNEC_DISTRIBUTION_CODE_CATEGORY": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "enumerated", + "n_values": 20, + "description": "First digit of HTTP result code, or error category, during distribution download", + "operating_systems": ["android"] + }, + "FENNEC_DISTRIBUTION_DOWNLOAD_TIME_MS": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "low": 100, + "high": 40000, + "n_buckets": 30, + "description": "Time taken to download a specified distribution file (msec)", + "operating_systems": ["android"] + }, + "FENNEC_BOOKMARKS_COUNT": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "60", + "kind": "exponential", + "high": 8000, + "n_buckets": 20, + "description": "Number of bookmarks stored in the browser DB", + "alert_emails": ["mobile-frontend@mozilla.com"], + "bug_numbers": [1244704] + }, + "FENNEC_ORBOT_INSTALLED": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "70", + "kind": "flag", + "operating_systems": ["android"], + "description": "Whether or not users have Orbot installed", + "alert_emails": ["seceng@mozilla.org"], + "bug_numbers": [1314784] + }, + "FENNEC_READING_LIST_COUNT": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "50", + "kind": "exponential", + "high": 1000, + "n_buckets": 10, + "operating_systems": ["android"], + "description": "Number of reading list items stored in the browser DB *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "FENNEC_READER_VIEW_CACHE_SIZE": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "60", + "alert_emails": ["mobile-frontend@mozilla.com"], + "kind": "exponential", + "low": 32, + "high": 51200, + "n_buckets": 20, + "description": "Total disk space used by items in the reader view cache (KB)", + "bug_numbers": [1246159] + }, "FENNEC_LOOP_UI_LATENCY": { "record_in_processes": ["main", "content"], "products": ["firefox", "fennec", "geckoview"], @@ -8899,6 +8970,134 @@ "description": "Number of bookmarks in the original XUL places database", "operating_systems": ["android"] }, + "FENNEC_GLOBALHISTORY_ADD_MS": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "low": 10, + "high": 20000, + "n_buckets": 20, + "description": "Time for a record to be added to history (ms)", + "operating_systems": ["android"] + }, + "FENNEC_GLOBALHISTORY_UPDATE_MS": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "low": 10, + "high": 20000, + "n_buckets": 20, + "description": "Time for a record to be updated in history (ms)", + "operating_systems": ["android"] + }, + "FENNEC_GLOBALHISTORY_VISITED_BUILD_MS": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "low": 10, + "high": 20000, + "n_buckets": 20, + "description": "Time to update the visited link set (ms)", + "operating_systems": ["android"] + }, + "FENNEC_RESTORING_ACTIVITY": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "flag", + "description": "Fennec is starting up but the Gecko thread was still running", + "operating_systems": ["android"] + }, + "FENNEC_SEARCH_LOADER_TIME_MS": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "low": 10, + "high": 20000, + "n_buckets": 20, + "description": "Time for a URL bar DB search to return (ms)", + "operating_systems": ["android"] + }, + "FENNEC_STARTUP_TIME_GECKOREADY": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "low": 500, + "high": 20000, + "n_buckets": 20, + "description": "Time for the Gecko:Ready message to arrive (ms)", + "operating_systems": ["android"] + }, + "FENNEC_STARTUP_TIME_JAVAUI": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "low": 100, + "high": 5000, + "n_buckets": 20, + "description": "Time for the Java UI to load (ms)", + "operating_systems": ["android"] + }, + "FENNEC_TOPSITES_LOADER_TIME_MS": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "low": 10, + "high": 20000, + "n_buckets": 20, + "description": "Time for the home screen Top Sites query to return with no filter set (ms)", + "operating_systems": ["android"] + }, + "FENNEC_ACTIVITY_STREAM_TOPSITES_LOADER_TIME_MS": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "low": 10, + "high": 20000, + "n_buckets": 20, + "description": "Time for the Activity Stream home screen Top Sites query to return (ms)", + "alert_emails": ["mobile-frontend@mozilla.com"], + "bug_numbers": [1293790], + "operating_systems": ["android"] + }, + "FENNEC_ACTIVITY_STREAM_HIGHLIGHTS_LOADER_TIME_MS": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "low": 10, + "high": 20000, + "n_buckets": 20, + "description": "Time for the Activity Stream highlights query to return (ms)", + "alert_emails": ["mobile-frontend@mozilla.com"], + "bug_numbers": [1298786], + "operating_systems": ["android"] + }, + "FENNEC_HOMEPANELS_CUSTOM": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "54", + "kind": "boolean", + "bug_numbers": [1245368], + "description": "Whether the user has customized their homepanels", + "operating_systems": ["android"] + }, + "FENNEC_WAS_KILLED": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "flag", + "description": "Killed, likely due to an OOM condition", + "operating_systems": ["android"] + }, "SECURITY_UI": { "record_in_processes": ["main", "content"], "products": ["firefox", "fennec", "geckoview"], @@ -12578,6 +12777,71 @@ "kind": "boolean", "description": "Whether a saved login has a username" }, + "FENNEC_SYNC11_MIGRATION_SENTINELS_SEEN": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "45", + "kind": "count", + "description": "The number of Sync 1.1 -> Sync 1.5 migration sentinels seen by Android Sync." + }, + "FENNEC_SYNC11_MIGRATIONS_FAILED": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "45", + "kind": "count", + "description": "The number of Sync 1.1 -> Sync 1.5 migrations that failed during Android Sync." + }, + "FENNEC_SYNC11_MIGRATIONS_SUCCEEDED": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "45", + "kind": "count", + "description": "The number of Sync 1.1 -> Sync 1.5 migrations that succeeded during Android Sync." + }, + "FENNEC_SYNC11_MIGRATION_NOTIFICATIONS_OFFERED": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "45", + "kind": "exponential", + "high": 500, + "n_buckets": 5, + "description": "The number of Sync 1.5 'complete upgrade/migration' notifications offered by Android Sync." + }, + "FENNEC_SYNC11_MIGRATIONS_COMPLETED": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "45", + "kind": "count", + "description": "The number of Sync 1.5 migrations completed by Android Sync." + }, + "FENNEC_SYNC_NUMBER_OF_SYNCS_STARTED": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "45", + "kind": "count", + "description": "Counts the number of times that a sync has started." + }, + "FENNEC_SYNC_NUMBER_OF_SYNCS_COMPLETED": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "45", + "kind": "count", + "description": "Counts the number of times that a sync has completed with no errors." + }, + "FENNEC_SYNC_NUMBER_OF_SYNCS_FAILED": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "45", + "kind": "count", + "description": "Counts the number of times that a sync has failed with errors." + }, + "FENNEC_SYNC_NUMBER_OF_SYNCS_FAILED_BACKOFF": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "45", + "kind": "count", + "description": "Counts the number of times that a sync has failed because of trying to sync before server backoff interval has passed." + }, "SLOW_SCRIPT_NOTICE_COUNT": { "record_in_processes": ["main", "content"], "products": ["firefox", "fennec", "geckoview"], @@ -12713,6 +12977,16 @@ "n_values": 5, "description": "The result of trying to download a document to show in reader view (0=Success, 1=Error XHR, 2=Error no document)" }, + "FENNEC_LOAD_SAVED_PAGE": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "60", + "alert_emails": ["mobile-frontend@mozilla.com"], + "kind": "enumerated", + "n_values": 10, + "description": "How often users load saved items when online/offline (0=RL online, 1=RL offline, 2=BM online, 3=BM offline)", + "bug_numbers": [1243387] + }, "PERMISSIONS_SQL_CORRUPTED": { "record_in_processes": ["main", "content"], "products": ["firefox", "fennec", "geckoview"], @@ -12727,6 +13001,24 @@ "kind": "count", "description": "Record the removal of defective permissions.sqlite" }, + "FENNEC_TABQUEUE_QUEUESIZE" : { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "never", + "kind": "exponential", + "high": 50, + "n_buckets": 10, + "description": "The number of tabs queued when opened." + }, + "FENNEC_CUSTOM_HOMEPAGE": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "expires_in_version": "60", + "alert_emails": ["mobile-frontend@mozilla.com"], + "bug_numbers": [1239102], + "kind": "boolean", + "description": "Whether the user has set a custom homepage." + }, "GRAPHICS_DRIVER_STARTUP_TEST": { "record_in_processes": ["main", "content"], "products": ["firefox", "fennec", "geckoview"], @@ -13501,6 +13793,36 @@ "description": "Track the number of remove() operations addons perform this subsession. The key is the addon ID.", "releaseChannelCollection": "opt-out" }, + "FENNEC_SESSIONSTORE_DAMAGED_SESSION_FILE": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "alert_emails": ["jh+bugzilla@buttercookie.de"], + "expires_in_version": "66", + "kind": "flag", + "bug_numbers": [1284017], + "description": "When restoring tabs on startup, reading from sessionstore.js failed, even though the file exists and is not containing an explicitly empty window.", + "operating_systems": ["android"] + }, + "FENNEC_SESSIONSTORE_RESTORING_FROM_BACKUP": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "alert_emails": ["jh+bugzilla@buttercookie.de"], + "expires_in_version": "66", + "kind": "flag", + "bug_numbers": [1190627], + "description": "When restoring tabs on startup, reading from sessionstore.js failed, but sessionstore.bak was read successfully.", + "operating_systems": ["android"] + }, + "FENNEC_SESSIONSTORE_ALL_FILES_DAMAGED": { + "record_in_processes": ["main", "content"], + "products": ["firefox", "fennec", "geckoview"], + "alert_emails": ["jh+bugzilla@buttercookie.de"], + "expires_in_version": "66", + "kind": "flag", + "bug_numbers": [1337115], + "description": "Both the main session file and its backup could not be read and and the first run pref is false.", + "operating_systems": ["android"] + }, "NUMBER_OF_PROFILES": { "record_in_processes": ["main", "content"], "products": ["firefox", "fennec", "geckoview"], diff --git a/toolkit/components/telemetry/histogram-allowlists.json b/toolkit/components/telemetry/histogram-allowlists.json index 71f76b4123d3..80c7b73b6a4e 100644 --- a/toolkit/components/telemetry/histogram-allowlists.json +++ b/toolkit/components/telemetry/histogram-allowlists.json @@ -110,6 +110,30 @@ "DWRITEFONT_DELAYEDINITFONTLIST_TOTAL", "DWRITEFONT_INIT_PROBLEM", "ENABLE_PRIVILEGE_EVER_CALLED", + "FENNEC_DISTRIBUTION_CODE_CATEGORY", + "FENNEC_DISTRIBUTION_DOWNLOAD_TIME_MS", + "FENNEC_DISTRIBUTION_REFERRER_INVALID", + "FENNEC_GLOBALHISTORY_ADD_MS", + "FENNEC_GLOBALHISTORY_UPDATE_MS", + "FENNEC_GLOBALHISTORY_VISITED_BUILD_MS", + "FENNEC_HOMEPANELS_CUSTOM", + "FENNEC_READING_LIST_COUNT", + "FENNEC_RESTORING_ACTIVITY", + "FENNEC_SEARCH_LOADER_TIME_MS", + "FENNEC_STARTUP_TIME_GECKOREADY", + "FENNEC_STARTUP_TIME_JAVAUI", + "FENNEC_SYNC11_MIGRATIONS_COMPLETED", + "FENNEC_SYNC11_MIGRATIONS_FAILED", + "FENNEC_SYNC11_MIGRATIONS_SUCCEEDED", + "FENNEC_SYNC11_MIGRATION_NOTIFICATIONS_OFFERED", + "FENNEC_SYNC11_MIGRATION_SENTINELS_SEEN", + "FENNEC_SYNC_NUMBER_OF_SYNCS_COMPLETED", + "FENNEC_SYNC_NUMBER_OF_SYNCS_FAILED", + "FENNEC_SYNC_NUMBER_OF_SYNCS_FAILED_BACKOFF", + "FENNEC_SYNC_NUMBER_OF_SYNCS_STARTED", + "FENNEC_TABQUEUE_QUEUESIZE", + "FENNEC_TOPSITES_LOADER_TIME_MS", + "FENNEC_WAS_KILLED", "FETCH_IS_MAINTHREAD", "FONTLIST_INITFACENAMELISTS", "FONTLIST_INITOTHERFAMILYNAMES", @@ -540,6 +564,30 @@ "DWRITEFONT_DELAYEDINITFONTLIST_TOTAL", "DWRITEFONT_INIT_PROBLEM", "ENABLE_PRIVILEGE_EVER_CALLED", + "FENNEC_DISTRIBUTION_CODE_CATEGORY", + "FENNEC_DISTRIBUTION_DOWNLOAD_TIME_MS", + "FENNEC_DISTRIBUTION_REFERRER_INVALID", + "FENNEC_GLOBALHISTORY_ADD_MS", + "FENNEC_GLOBALHISTORY_UPDATE_MS", + "FENNEC_GLOBALHISTORY_VISITED_BUILD_MS", + "FENNEC_READING_LIST_COUNT", + "FENNEC_RESTORING_ACTIVITY", + "FENNEC_SEARCH_LOADER_TIME_MS", + "FENNEC_STARTUP_TIME_GECKOREADY", + "FENNEC_STARTUP_TIME_JAVAUI", + "FENNEC_SYNC11_MIGRATIONS_COMPLETED", + "FENNEC_SYNC11_MIGRATIONS_FAILED", + "FENNEC_SYNC11_MIGRATIONS_SUCCEEDED", + "FENNEC_SYNC11_MIGRATION_NOTIFICATIONS_OFFERED", + "FENNEC_SYNC11_MIGRATION_SENTINELS_SEEN", + "FENNEC_SYNC_NUMBER_OF_SYNCS_COMPLETED", + "FENNEC_SYNC_NUMBER_OF_SYNCS_FAILED", + "FENNEC_SYNC_NUMBER_OF_SYNCS_FAILED_BACKOFF", + "FENNEC_SYNC_NUMBER_OF_SYNCS_STARTED", + "FENNEC_TABQUEUE_QUEUESIZE", + "FENNEC_TOPSITES_LOADER_TIME_MS", + "FENNEC_WAS_KILLED", + "FETCH_IS_MAINTHREAD", "FIND_PLUGINS", "FONTLIST_INITFACENAMELISTS", "FONTLIST_INITOTHERFAMILYNAMES", @@ -1260,6 +1308,21 @@ "DEVTOOLS_TOOLBOX_OPENED_COUNT", "DEVTOOLS_WEBCONSOLE_OPENED_COUNT", "ENABLE_PRIVILEGE_EVER_CALLED", + "FENNEC_DISTRIBUTION_REFERRER_INVALID", + "FENNEC_ORBOT_INSTALLED", + "FENNEC_RESTORING_ACTIVITY", + "FENNEC_SESSIONSTORE_ALL_FILES_DAMAGED", + "FENNEC_SESSIONSTORE_DAMAGED_SESSION_FILE", + "FENNEC_SESSIONSTORE_RESTORING_FROM_BACKUP", + "FENNEC_SYNC11_MIGRATIONS_COMPLETED", + "FENNEC_SYNC11_MIGRATIONS_FAILED", + "FENNEC_SYNC11_MIGRATIONS_SUCCEEDED", + "FENNEC_SYNC11_MIGRATION_SENTINELS_SEEN", + "FENNEC_SYNC_NUMBER_OF_SYNCS_COMPLETED", + "FENNEC_SYNC_NUMBER_OF_SYNCS_FAILED", + "FENNEC_SYNC_NUMBER_OF_SYNCS_FAILED_BACKOFF", + "FENNEC_SYNC_NUMBER_OF_SYNCS_STARTED", + "FENNEC_WAS_KILLED", "FX_BROWSER_FULLSCREEN_USED", "FX_CONTENT_CRASH_DUMP_UNAVAILABLE", "FX_CONTENT_CRASH_NOT_SUBMITTED",