зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1609625 - P1 - Add a temporary scalar probes to get the longest initializattion time; r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D61231 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
ccf7c09e21
Коммит
9b0da9363f
|
@ -4463,6 +4463,9 @@ nsresult QuotaManager::LoadQuota() {
|
|||
}
|
||||
|
||||
const auto now = TimeStamp::Now();
|
||||
Telemetry::ScalarSetMaximum(
|
||||
Telemetry::ScalarID::QM_REPOSITORIES_INITIALIZATION_TIME,
|
||||
static_cast<uint32_t>((now - startTime).ToMilliseconds()));
|
||||
Telemetry::AccumulateTimeDelta(
|
||||
Telemetry::QM_REPOSITORIES_INITIALIZATION_TIME_V2, startTime, now);
|
||||
|
||||
|
|
|
@ -3248,6 +3248,25 @@ screenshots:
|
|||
record_in_processes:
|
||||
- 'main'
|
||||
|
||||
# The following section is for quotaManager.
|
||||
qm:
|
||||
repositories_initialization_time:
|
||||
bug_numbers:
|
||||
- 1609625
|
||||
description: >
|
||||
A temporary probe to track the time for initializing the best-effort
|
||||
repositories especially the longest the time.
|
||||
expires: "76"
|
||||
kind: uint
|
||||
notification_emails:
|
||||
- ttung@mozilla.com
|
||||
- storage-telemetry@mozilla.com
|
||||
release_channel_collection: opt-out
|
||||
products:
|
||||
- 'firefox'
|
||||
record_in_processes:
|
||||
- 'main'
|
||||
|
||||
# The following section is for tracking the number of failure for indexedDB.
|
||||
idb.failure:
|
||||
fileinfo_error:
|
||||
|
|
Загрузка…
Ссылка в новой задаче