diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-30 11:00:54 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-30 11:00:54 +0100 |
commit | b3586bb4b76e833d987eb207d1a17d7855439a60 (patch) | |
tree | 89e0e2860602efb5fb61ca44a8bb8376a673bcf8 /services/sync | |
parent | 3d2dbf279f4ec1fa44ce79c8f692c38e561c6625 (diff) | |
download | UXP-b3586bb4b76e833d987eb207d1a17d7855439a60.tar UXP-b3586bb4b76e833d987eb207d1a17d7855439a60.tar.gz UXP-b3586bb4b76e833d987eb207d1a17d7855439a60.tar.lz UXP-b3586bb4b76e833d987eb207d1a17d7855439a60.tar.xz UXP-b3586bb4b76e833d987eb207d1a17d7855439a60.zip |
Remove telemetry calls from sync
Diffstat (limited to 'services/sync')
-rw-r--r-- | services/sync/Weave.js | 3 | ||||
-rw-r--r-- | services/sync/modules/service.js | 6 |
2 files changed, 0 insertions, 9 deletions
diff --git a/services/sync/Weave.js b/services/sync/Weave.js index 0e8d2fe31..ff97c2edd 100644 --- a/services/sync/Weave.js +++ b/services/sync/Weave.js @@ -155,10 +155,7 @@ WeaveService.prototype = { Components.utils.import("resource://services-sync/main.js"); isConfigured = Weave.Status.checkSetup() != Weave.CLIENT_NOT_CONFIGURED; } - let getHistogramById = Services.telemetry.getHistogramById; - getHistogramById("WEAVE_CONFIGURED").add(isConfigured); if (isConfigured) { - getHistogramById("WEAVE_CONFIGURED_MASTER_PASSWORD").add(Utils.mpEnabled()); this.ensureLoaded(); } }.bind(this) diff --git a/services/sync/modules/service.js b/services/sync/modules/service.js index d3fb6c864..6369cbba2 100644 --- a/services/sync/modules/service.js +++ b/services/sync/modules/service.js @@ -1266,9 +1266,6 @@ Sync11Service.prototype = { return this._lock("service.js: sync", this._notify("sync", "", function onNotify() { - let histogram = Services.telemetry.getHistogramById("WEAVE_START_COUNT"); - histogram.add(1); - let synchronizer = new EngineSynchronizer(this); let cb = Async.makeSpinningCallback(); synchronizer.onComplete = cb; @@ -1278,9 +1275,6 @@ Sync11Service.prototype = { // we want. let result = cb.wait(); - histogram = Services.telemetry.getHistogramById("WEAVE_COMPLETE_SUCCESS_COUNT"); - histogram.add(1); - // We successfully synchronized. // Check if the identity wants to pre-fetch a migration sentinel from // the server. |