зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1485695 - Remove unused uptime property from the main ping. r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D4296 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
a527ce6536
Коммит
3ad07f32b9
|
@ -149,10 +149,6 @@ totalTime
|
|||
~~~~~~~~~
|
||||
A non-monotonic integer representing the number of seconds the session has been alive.
|
||||
|
||||
uptime
|
||||
~~~~~~
|
||||
A non-monotonic integer representing the number of minutes the session has been alive.
|
||||
|
||||
addonManager
|
||||
~~~~~~~~~~~~
|
||||
Only available in the extended set of measures, it contains a set of counters related to Addons. See `here <https://dxr.mozilla.org/mozilla-central/search?q=%22AddonManagerPrivate.recordSimpleMeasure%22&redirect=false&case=true>`__ for a list of recorded measures.
|
||||
|
|
|
@ -745,7 +745,6 @@ var Impl = {
|
|||
let elapsedTime = Date.now() - si.process;
|
||||
var ret = {
|
||||
totalTime: Math.round(elapsedTime / 1000), // totalTime, in seconds
|
||||
uptime: Math.round(elapsedTime / 60000), // uptime in minutes
|
||||
};
|
||||
|
||||
// Look for app-specific timestamps
|
||||
|
|
|
@ -280,7 +280,6 @@ function checkPayload(payload, reason, successfulPings) {
|
|||
checkPayloadInfo(payload.info, reason);
|
||||
|
||||
Assert.ok(payload.simpleMeasurements.totalTime >= 0);
|
||||
Assert.ok(payload.simpleMeasurements.uptime >= 0);
|
||||
Assert.equal(payload.simpleMeasurements.startupInterrupted, 1);
|
||||
Assert.equal(payload.simpleMeasurements.shutdownDuration, SHUTDOWN_TIME);
|
||||
Assert.ok("maximalNumberOfConcurrentThreads" in payload.simpleMeasurements);
|
||||
|
|
Загрузка…
Ссылка в новой задаче