Skip to content

Commit

Permalink
Bug 1819940 - Remove expired histogram EXTENSION_UPDATE_TYPE. r=willd…
Browse files Browse the repository at this point in the history
…urand

Differential Revision: https://phabricator.services.mozilla.com/D171114
  • Loading branch information
rpl committed Mar 3, 2023
1 parent 796a297 commit 814f809
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
11 changes: 0 additions & 11 deletions toolkit/components/telemetry/Histograms.json
Original file line number Diff line number Diff line change
Expand Up @@ -16030,17 +16030,6 @@
"releaseChannelCollection": "opt-out",
"description": "The number of times a storage.local backend data migration has been completed and results in one of the categories."
},
"EXTENSION_UPDATE_TYPE": {
"record_in_processes": ["main"],
"products": ["firefox", "fennec"],
"alert_emails": ["[email protected]"],
"bug_numbers": [1460336],
"expires_in_version": "66",
"kind": "categorical",
"labels": ["JSON", "RDF"],
"releaseChannelCollection": "opt-out",
"description": "The type of update manifest served for a given update request."
},
"PLACES_SEARCHBAR_FILTER_TYPE": {
"record_in_processes": ["main"],
"products": ["firefox"],
Expand Down
5 changes: 0 additions & 5 deletions toolkit/mozapps/extensions/internal/AddonUpdateChecker.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ const LOGGER_ID = "addons.update-checker";
// (Requires AddonManager.jsm)
var logger = Log.repository.getLogger(LOGGER_ID);

const updateTypeHistogram = Services.telemetry.getHistogramById(
"EXTENSION_UPDATE_TYPE"
);

/**
* Sanitizes the update URL in an update item, as returned by
* parseRDFManifest and parseJSONManifest. Ensures that:
Expand Down Expand Up @@ -337,7 +333,6 @@ UpdateParser.prototype = {
try {
let json = JSON.parse(request.responseText);
results = parseJSONManifest(this.id, request, json);
updateTypeHistogram.add("JSON");
} catch (e) {
logger.warn("onUpdateCheckComplete failed to parse update manifest", e);
this.notifyError(lazy.AddonManager.ERROR_PARSE_ERROR);
Expand Down

0 comments on commit 814f809

Please sign in to comment.