mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1529016 - P1 - Collect unexpected file's name in the origin directories; r=asuth,chutten
Differential Revision: https://phabricator.services.mozilla.com/D34721 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
f7ad03d42f
commit
b8c27feb30
@ -4259,6 +4259,13 @@ nsresult QuotaManager::InitializeOrigin(PersistenceType aPersistenceType,
|
||||
|
||||
UNKNOWN_FILE_WARNING(leafName);
|
||||
REPORT_TELEMETRY_INIT_ERR(kInternalError, Ori_UnexpectedFile);
|
||||
|
||||
#ifdef NIGHTLY_BUILD
|
||||
Telemetry::ScalarSetMaximum(
|
||||
Telemetry::ScalarID::QM_ORIGIN_DIRECTORY_UNEXPECTED_FILENAME,
|
||||
leafName, 1);
|
||||
#endif
|
||||
|
||||
RECORD_IN_NIGHTLY(statusKeeper, NS_ERROR_UNEXPECTED);
|
||||
CONTINUE_IN_NIGHTLY_RETURN_IN_OTHERS(NS_ERROR_UNEXPECTED);
|
||||
}
|
||||
|
@ -3777,6 +3777,21 @@ networking:
|
||||
record_in_processes:
|
||||
- 'main'
|
||||
|
||||
# The following section is for quotaManager
|
||||
qm:
|
||||
origin_directory_unexpected_filename:
|
||||
bug_numbers:
|
||||
- 1529016
|
||||
description: >
|
||||
Keys are the filenames of unexpected files in the profile's origin directories.
|
||||
expires: "70"
|
||||
keyed: true
|
||||
kind: uint
|
||||
notification_emails:
|
||||
- ttung@mozilla.com
|
||||
record_in_processes:
|
||||
- 'main'
|
||||
|
||||
# The following section is for probes testing the Telemetry system. They will not be
|
||||
# submitted in pings and are only used for testing.
|
||||
telemetry.test:
|
||||
|
Loading…
Reference in New Issue
Block a user