diff options
author | Moonchild <moonchild@palemoon.org> | 2021-05-14 00:02:03 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-05-14 10:50:53 +0000 |
commit | 349346d0b76aec02354149da0f860d5bf7ec7b83 (patch) | |
tree | c8cbdf0b6112dd8d7b115a9720db5e6a2d6081c8 /toolkit/components | |
parent | e983389355c928c5fd6f95af9aa383514f43b8f1 (diff) | |
download | uxp-349346d0b76aec02354149da0f860d5bf7ec7b83.tar.gz |
Revert "Issue #21 - Remove TelemertyVFS"
This:
- reverts commit 83ecae9ff7ee1469da1675435dbcf26d094aa1c6
- adds a failure check to Connection::GetQuotaObjects
This resolves #1768.
Diffstat (limited to 'toolkit/components')
-rw-r--r-- | toolkit/components/telemetry/Histograms.json | 259 | ||||
-rw-r--r-- | toolkit/components/telemetry/histogram-whitelists.json | 78 |
2 files changed, 337 insertions, 0 deletions
diff --git a/toolkit/components/telemetry/Histograms.json b/toolkit/components/telemetry/Histograms.json index deae9e8de8..d4974cf5aa 100644 --- a/toolkit/components/telemetry/Histograms.json +++ b/toolkit/components/telemetry/Histograms.json @@ -3696,6 +3696,265 @@ "n_values": 30, "description": "Flash object instances count on page" }, + "MOZ_SQLITE_OPEN_MS": { + "expires_in_version": "default", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite open() (ms)" + }, + "MOZ_SQLITE_OPEN_MAIN_THREAD_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite open() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_TRUNCATE_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite truncate() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_TRUNCATE_MAIN_THREAD_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite truncate() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_OTHER_READ_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite read() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_OTHER_READ_MAIN_THREAD_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite read() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_PLACES_READ_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite read() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_PLACES_READ_MAIN_THREAD_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite read() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_COOKIES_OPEN_READAHEAD_MS": { + "expires_in_version": "never", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on cookie DB open with readahead (ms)" + }, + "MOZ_SQLITE_COOKIES_READ_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite read() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_COOKIES_READ_MAIN_THREAD_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite read() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_WEBAPPS_READ_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite read() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_WEBAPPS_READ_MAIN_THREAD_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite read() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_OTHER_WRITE_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite write() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_OTHER_WRITE_MAIN_THREAD_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite write() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_PLACES_WRITE_MS": { + "expires_in_version": "default", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite write() (ms)" + }, + "MOZ_SQLITE_PLACES_WRITE_MAIN_THREAD_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite write() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_COOKIES_WRITE_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite write() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_COOKIES_WRITE_MAIN_THREAD_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite write() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_WEBAPPS_WRITE_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite write() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_WEBAPPS_WRITE_MAIN_THREAD_MS": { + "expires_in_version": "40", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite write() (ms) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_OTHER_SYNC_MS": { + "expires_in_version": "never", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite fsync() (ms)" + }, + "MOZ_SQLITE_OTHER_SYNC_MAIN_THREAD_MS": { + "expires_in_version": "never", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite fsync() (ms)" + }, + "MOZ_SQLITE_PLACES_SYNC_MS": { + "expires_in_version": "never", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite fsync() (ms)" + }, + "MOZ_SQLITE_PLACES_SYNC_MAIN_THREAD_MS": { + "expires_in_version": "never", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite fsync() (ms)" + }, + "MOZ_SQLITE_COOKIES_SYNC_MS": { + "expires_in_version": "never", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite fsync() (ms)" + }, + "MOZ_SQLITE_COOKIES_SYNC_MAIN_THREAD_MS": { + "expires_in_version": "never", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite fsync() (ms)" + }, + "MOZ_SQLITE_WEBAPPS_SYNC_MS": { + "expires_in_version": "never", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite fsync() (ms)" + }, + "MOZ_SQLITE_WEBAPPS_SYNC_MAIN_THREAD_MS": { + "expires_in_version": "never", + "kind": "exponential", + "high": 3000, + "n_buckets": 10, + "description": "Time spent on SQLite fsync() (ms)" + }, + "MOZ_SQLITE_OTHER_READ_B": { + "expires_in_version": "default", + "kind": "linear", + "high": 32768, + "n_buckets": 3, + "description": "SQLite read() (bytes)" + }, + "MOZ_SQLITE_PLACES_READ_B": { + "expires_in_version": "40", + "kind": "linear", + "high": 32768, + "n_buckets": 3, + "description": "SQLite read() (bytes) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_COOKIES_READ_B": { + "expires_in_version": "40", + "kind": "linear", + "high": 32768, + "n_buckets": 3, + "description": "SQLite read() (bytes) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_WEBAPPS_READ_B": { + "expires_in_version": "40", + "kind": "linear", + "high": 32768, + "n_buckets": 3, + "description": "SQLite read() (bytes) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_PLACES_WRITE_B": { + "expires_in_version": "40", + "kind": "linear", + "high": 32768, + "n_buckets": 3, + "description": "SQLite write (bytes) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_COOKIES_WRITE_B": { + "expires_in_version": "40", + "kind": "linear", + "high": 32768, + "n_buckets": 3, + "description": "SQLite write (bytes) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_WEBAPPS_WRITE_B": { + "expires_in_version": "40", + "kind": "linear", + "high": 32768, + "n_buckets": 3, + "description": "SQLite write (bytes) *** No longer needed (bug 1156565). Delete histogram and accumulation code! ***" + }, + "MOZ_SQLITE_OTHER_WRITE_B": { + "expires_in_version": "default", + "kind": "linear", + "high": 32768, + "n_buckets": 3, + "description": "SQLite write (bytes)" + }, "MOZ_STORAGE_ASYNC_REQUESTS_MS": { "alert_emails": ["perf-telemetry-alerts@mozilla.com"], "expires_in_version": "40", diff --git a/toolkit/components/telemetry/histogram-whitelists.json b/toolkit/components/telemetry/histogram-whitelists.json index 0aa9061d74..722230ac9d 100644 --- a/toolkit/components/telemetry/histogram-whitelists.json +++ b/toolkit/components/telemetry/histogram-whitelists.json @@ -390,6 +390,43 @@ "MEDIA_WMF_DECODE_ERROR", "MIXED_CONTENT_PAGE_LOAD", "MIXED_CONTENT_UNBLOCK_COUNTER", + "MOZ_SQLITE_COOKIES_OPEN_READAHEAD_MS", + "MOZ_SQLITE_COOKIES_READ_B", + "MOZ_SQLITE_COOKIES_READ_MAIN_THREAD_MS", + "MOZ_SQLITE_COOKIES_READ_MS", + "MOZ_SQLITE_COOKIES_SYNC_MAIN_THREAD_MS", + "MOZ_SQLITE_COOKIES_SYNC_MS", + "MOZ_SQLITE_COOKIES_WRITE_B", + "MOZ_SQLITE_COOKIES_WRITE_MAIN_THREAD_MS", + "MOZ_SQLITE_COOKIES_WRITE_MS", + "MOZ_SQLITE_OPEN_MAIN_THREAD_MS", + "MOZ_SQLITE_OPEN_MS", + "MOZ_SQLITE_OTHER_READ_B", + "MOZ_SQLITE_OTHER_READ_MAIN_THREAD_MS", + "MOZ_SQLITE_OTHER_READ_MS", + "MOZ_SQLITE_OTHER_SYNC_MAIN_THREAD_MS", + "MOZ_SQLITE_OTHER_SYNC_MS", + "MOZ_SQLITE_OTHER_WRITE_B", + "MOZ_SQLITE_OTHER_WRITE_MAIN_THREAD_MS", + "MOZ_SQLITE_OTHER_WRITE_MS", + "MOZ_SQLITE_PLACES_READ_B", + "MOZ_SQLITE_PLACES_READ_MAIN_THREAD_MS", + "MOZ_SQLITE_PLACES_READ_MS", + "MOZ_SQLITE_PLACES_SYNC_MAIN_THREAD_MS", + "MOZ_SQLITE_PLACES_SYNC_MS", + "MOZ_SQLITE_PLACES_WRITE_B", + "MOZ_SQLITE_PLACES_WRITE_MAIN_THREAD_MS", + "MOZ_SQLITE_PLACES_WRITE_MS", + "MOZ_SQLITE_TRUNCATE_MAIN_THREAD_MS", + "MOZ_SQLITE_TRUNCATE_MS", + "MOZ_SQLITE_WEBAPPS_READ_B", + "MOZ_SQLITE_WEBAPPS_READ_MAIN_THREAD_MS", + "MOZ_SQLITE_WEBAPPS_READ_MS", + "MOZ_SQLITE_WEBAPPS_SYNC_MAIN_THREAD_MS", + "MOZ_SQLITE_WEBAPPS_SYNC_MS", + "MOZ_SQLITE_WEBAPPS_WRITE_B", + "MOZ_SQLITE_WEBAPPS_WRITE_MAIN_THREAD_MS", + "MOZ_SQLITE_WEBAPPS_WRITE_MS", "NETWORK_CACHE_METADATA_FIRST_READ_SIZE", "NETWORK_CACHE_METADATA_FIRST_READ_TIME_MS", "NETWORK_CACHE_METADATA_SECOND_READ_TIME_MS", @@ -1191,6 +1228,43 @@ "MIXED_CONTENT_HSTS", "MIXED_CONTENT_PAGE_LOAD", "MIXED_CONTENT_UNBLOCK_COUNTER", + "MOZ_SQLITE_COOKIES_OPEN_READAHEAD_MS", + "MOZ_SQLITE_COOKIES_READ_B", + "MOZ_SQLITE_COOKIES_READ_MAIN_THREAD_MS", + "MOZ_SQLITE_COOKIES_READ_MS", + "MOZ_SQLITE_COOKIES_SYNC_MAIN_THREAD_MS", + "MOZ_SQLITE_COOKIES_SYNC_MS", + "MOZ_SQLITE_COOKIES_WRITE_B", + "MOZ_SQLITE_COOKIES_WRITE_MAIN_THREAD_MS", + "MOZ_SQLITE_COOKIES_WRITE_MS", + "MOZ_SQLITE_OPEN_MAIN_THREAD_MS", + "MOZ_SQLITE_OPEN_MS", + "MOZ_SQLITE_OTHER_READ_B", + "MOZ_SQLITE_OTHER_READ_MAIN_THREAD_MS", + "MOZ_SQLITE_OTHER_READ_MS", + "MOZ_SQLITE_OTHER_SYNC_MAIN_THREAD_MS", + "MOZ_SQLITE_OTHER_SYNC_MS", + "MOZ_SQLITE_OTHER_WRITE_B", + "MOZ_SQLITE_OTHER_WRITE_MAIN_THREAD_MS", + "MOZ_SQLITE_OTHER_WRITE_MS", + "MOZ_SQLITE_PLACES_READ_B", + "MOZ_SQLITE_PLACES_READ_MAIN_THREAD_MS", + "MOZ_SQLITE_PLACES_READ_MS", + "MOZ_SQLITE_PLACES_SYNC_MAIN_THREAD_MS", + "MOZ_SQLITE_PLACES_SYNC_MS", + "MOZ_SQLITE_PLACES_WRITE_B", + "MOZ_SQLITE_PLACES_WRITE_MAIN_THREAD_MS", + "MOZ_SQLITE_PLACES_WRITE_MS", + "MOZ_SQLITE_TRUNCATE_MAIN_THREAD_MS", + "MOZ_SQLITE_TRUNCATE_MS", + "MOZ_SQLITE_WEBAPPS_READ_B", + "MOZ_SQLITE_WEBAPPS_READ_MAIN_THREAD_MS", + "MOZ_SQLITE_WEBAPPS_READ_MS", + "MOZ_SQLITE_WEBAPPS_SYNC_MAIN_THREAD_MS", + "MOZ_SQLITE_WEBAPPS_SYNC_MS", + "MOZ_SQLITE_WEBAPPS_WRITE_B", + "MOZ_SQLITE_WEBAPPS_WRITE_MAIN_THREAD_MS", + "MOZ_SQLITE_WEBAPPS_WRITE_MS", "MOZ_STORAGE_ASYNC_REQUESTS_MS", "MOZ_STORAGE_ASYNC_REQUESTS_SUCCESS", "NETWORK_CACHE_METADATA_FIRST_READ_SIZE", @@ -1807,6 +1881,7 @@ "WEAVE_CONFIGURED", "NEWTAB_PAGE_ENABLED", "GRADIENT_DURATION", + "MOZ_SQLITE_OPEN_MS", "SHOULD_TRANSLATION_UI_APPEAR", "NEWTAB_PAGE_LIFE_SPAN", "FX_TOTAL_TOP_VISITS", @@ -1823,6 +1898,7 @@ "FX_NEW_WINDOW_MS", "PDF_VIEWER_TIME_TO_VIEW_MS", "SSL_OCSP_MAY_FETCH", + "MOZ_SQLITE_OTHER_READ_B", "CHECK_JAVA_ENABLED", "TRANSLATION_OPPORTUNITIES", "FX_SESSION_RESTORE_CONTENT_COLLECT_DATA_LONGEST_OP_MS", @@ -1848,9 +1924,11 @@ "FX_SESSION_RESTORE_DOM_STORAGE_SIZE_ESTIMATE_CHARS", "DATA_STORAGE_ENTRIES", "TRANSLATED_PAGES_BY_LANGUAGE", + "MOZ_SQLITE_OTHER_WRITE_B", "LOCALDOMSTORAGE_SHUTDOWN_DATABASE_MS", "SSL_CERT_VERIFICATION_ERRORS", "FX_SESSION_RESTORE_NUMBER_OF_WINDOWS_RESTORED", + "MOZ_SQLITE_PLACES_WRITE_MS", "FX_THUMBNAILS_BG_CAPTURE_CANVAS_DRAW_TIME_MS", "FX_SESSION_RESTORE_STARTUP_INIT_SESSION_MS", "FX_SESSION_RESTORE_WRITE_FILE_MS", |