Bug 1485116 - Remove SEARCH_SERVICE_ENGINE_COUNT r=adw

Differential Revision: https://phabricator.services.mozilla.com/D3913

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Michael Kaply 2018-09-21 07:09:48 +00:00
parent 7f9771ca36
commit bda7175658
2 changed files with 0 additions and 19 deletions

View File

@ -2675,7 +2675,6 @@ SearchService.prototype = {
Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete");
Services.telemetry.getHistogramById("SEARCH_SERVICE_INIT_SYNC").add(true);
this._recordEngineTelemetry();
LOG("_syncInit end");
},
@ -2718,7 +2717,6 @@ SearchService.prototype = {
this._initObservers.resolve(this._initRV);
Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete");
Services.telemetry.getHistogramById("SEARCH_SERVICE_INIT_SYNC").add(false);
this._recordEngineTelemetry();
LOG("_asyncInit: Completed _asyncInit");
},
@ -3021,7 +3019,6 @@ SearchService.prototype = {
// so signal to 'callers' that we're done.
gInitialized = true;
Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete");
this._recordEngineTelemetry();
} catch (err) {
LOG("Reinit failed: " + err);
Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "reinit-failed");
@ -4257,11 +4254,6 @@ SearchService.prototype = {
return result;
},
_recordEngineTelemetry() {
Services.telemetry.getHistogramById("SEARCH_SERVICE_ENGINE_COUNT")
.add(Object.keys(this._engines).length);
},
/**
* This map is built lazily after the available search engines change. It
* allows quick parsing of an URL representing a search submission into the

View File

@ -8015,17 +8015,6 @@
"kind": "boolean",
"description": "search service has been initialized synchronously"
},
"SEARCH_SERVICE_ENGINE_COUNT": {
"record_in_processes": ["main", "content"],
"releaseChannelCollection": "opt-out",
"alert_emails": ["florian@mozilla.com"],
"expires_in_version": "60",
"bug_numbers": [1268424],
"kind": "linear",
"high": 200,
"n_buckets": 50,
"description": "Recorded once per session near startup: records the search plugin count, including both built-in plugins (including the ones the user has hidden) and user-installed plugins."
},
"SEARCH_SERVICE_COUNTRY_FETCH_TIME_MS": {
"record_in_processes": ["main", "content"],
"alert_emails": ["mhammond@mozilla.com", "gavin@mozilla.com"],