From e103a7da1da19e347b2ae11870e8bd06e08edc53 Mon Sep 17 00:00:00 2001 From: Razvan Litianu Date: Tue, 15 Nov 2022 10:15:58 +0200 Subject: [PATCH 1/2] #3557 The search counts telemetry is recording partial data --- Blockzilla/BrowserViewController.swift | 2 +- Blockzilla/metrics.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Blockzilla/BrowserViewController.swift b/Blockzilla/BrowserViewController.swift index 591edf3765..21d887823c 100644 --- a/Blockzilla/BrowserViewController.swift +++ b/Blockzilla/BrowserViewController.swift @@ -866,7 +866,7 @@ class BrowserViewController: UIViewController { } fileprivate func recordSearchEvent(_ source: Source) { - let identifier = searchEngineManager.activeEngine.getNameOrCustom() + let identifier = searchEngineManager.activeEngine.getNameOrCustom().lowercased() let source = source.rawValue GleanMetrics.BrowserSearch.searchCount["\(identifier).\(source)"].add() } diff --git a/Blockzilla/metrics.yaml b/Blockzilla/metrics.yaml index c413d60b90..c3f31a677c 100644 --- a/Blockzilla/metrics.yaml +++ b/Blockzilla/metrics.yaml @@ -571,7 +571,7 @@ browser_search: - interaction notification_emails: - focus-ios-data-stewards@mozilla.com - expires: "2023-09-22" + expires: never in_content: type: labeled_counter description: | From 36f84adab1f9fc12a8e642918ec345cfc6c11eed Mon Sep 17 00:00:00 2001 From: Razvan Litianu Date: Tue, 15 Nov 2022 18:38:58 +0200 Subject: [PATCH 2/2] Revert expiration date --- Blockzilla/metrics.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Blockzilla/metrics.yaml b/Blockzilla/metrics.yaml index c3f31a677c..c413d60b90 100644 --- a/Blockzilla/metrics.yaml +++ b/Blockzilla/metrics.yaml @@ -571,7 +571,7 @@ browser_search: - interaction notification_emails: - focus-ios-data-stewards@mozilla.com - expires: never + expires: "2023-09-22" in_content: type: labeled_counter description: |