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:
Tom Tung 2020-02-10 10:43:06 +00:00
Родитель ccf7c09e21
Коммит 9b0da9363f
2 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

@ -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: