Bug 1956726 - remove the unused PAGE_METADATA_SIZE histogram, r=mconley.

Differential Revision: https://phabricator.services.mozilla.com/D244232
This commit is contained in:
Florian Quèze
2025-04-03 14:09:54 +00:00
parent c771c6aa8f
commit 117fea04f2
2 changed files with 0 additions and 20 deletions

View File

@@ -179,15 +179,6 @@ export class ContentMetaChild extends JSWindowActorChild {
description: entry.description.value,
previewImageURL: entry.image.value,
});
// Telemetry for recording the size of page metadata
let metadataSize = entry.description.value
? entry.description.value.length
: 0;
metadataSize += entry.image.value ? entry.image.value.length : 0;
Services.telemetry
.getHistogramById("PAGE_METADATA_SIZE")
.add(metadataSize);
},
TIMEOUT_DELAY,
Ci.nsITimer.TYPE_ONE_SHOT

View File

@@ -5370,17 +5370,6 @@
"bug_numbers": [1053467],
"description": "The width dimension of the 'sizes' attribute for <link rel=icon>."
},
"PAGE_METADATA_SIZE": {
"record_in_processes": ["main", "content"],
"products": ["firefox", "fennec"],
"expires_in_version": "never",
"kind": "linear",
"high": 500,
"n_buckets": 10,
"alert_emails": ["najiang@mozilla.com", "activity-stream@mozilla.com"],
"bug_numbers": [1399880],
"description": "The size of the description and preview image url for page metadata (Bytes)"
},
"PLACES_SORTED_BOOKMARKS_PERC": {
"record_in_processes": ["main", "content"],
"products": ["firefox", "fennec", "thunderbird"],