-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Increased error rate for metrics.search_count
and browser.search.in_content
metrics due to invalid label
#25602
Comments
Looks like we're still seeing "Invalid Label" errors for the |
metrics.search_count
due to invalid labelmetrics.search_count
and browser.search.in_content
metrics due to invalid label
The fenix/app/src/main/java/org/mozilla/fenix/components/metrics/MetricsUtils.kt Lines 30 to 46 in f356df7
The identifier of bundled search engines is not lowercased before recording the telemetry and seems like we have some search engines which do use uppercase letters, eg: Seems like lowercasing the search engine ids in Fenix/Focus before recording the telemetry is the best approach which would also ensure no newer search engines could cause this issue even if they are set to use uppercase letters. |
Looking in Nightly it seems like the occurences went down a bit but might be too early to tell. |
We see a spike in errors for the
metrics.search_count
metric (Our monitoring dashboard, see the "Invalid Label" graph on the top right).Channel: release.
The relevant code:
fenix/app/src/main/java/org/mozilla/fenix/components/metrics/MetricsUtils.kt
Line 48 in 01be732
Labels are restricted to lowercase alphanumerics, underscores, dashes and dots (see also our docs).
Maybe the identifier or source contains other characters? or the identifier is not always lowercased?
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: