mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Bug 942063 - Telemetry for the size of sessionstore.js. r=smacleod
This commit is contained in:
parent
dd2ba78be2
commit
ec59b7653a
@ -87,7 +87,8 @@ let Agent = {
|
||||
|
||||
return {
|
||||
result: this.initialState,
|
||||
telemetry: {FX_SESSION_RESTORE_READ_FILE_MS: durationMs}
|
||||
telemetry: {FX_SESSION_RESTORE_READ_FILE_MS: durationMs,
|
||||
FX_SESSION_RESTORE_FILE_SIZE_BYTES: bytes.byteLength}
|
||||
};
|
||||
} catch (ex if isNoSuchFileEx(ex)) {
|
||||
// Ignore exceptions about non-existent files.
|
||||
|
@ -2831,6 +2831,13 @@
|
||||
"extended_statistics_ok": true,
|
||||
"description": "Session restore: Duration of the longest uninterruptible operation while writing session data (ms)"
|
||||
},
|
||||
"FX_SESSION_RESTORE_FILE_SIZE_BYTES": {
|
||||
"kind": "exponential",
|
||||
"high": 50000000,
|
||||
"n_buckets": 30,
|
||||
"extended_statistics_ok": true,
|
||||
"description": "Session restore: The size of file sessionstore.js (bytes)"
|
||||
},
|
||||
"FX_SESSION_RESTORE_CORRUPT_FILE": {
|
||||
"kind": "boolean",
|
||||
"description": "Session restore: Whether the file read on startup contained parse-able JSON"
|
||||
|
Loading…
Reference in New Issue
Block a user