Bug 1823682 - add Server Knobs validation metric

fenix/114.1.0
Bruno Rosa 1 year ago committed by mergify[bot]
parent a0e4a6bf97
commit 8fe4e610d4

@ -9429,6 +9429,23 @@ private_browsing_shortcut_cfr:
- android-probes@mozilla.com
expires: 122
server_knobs:
validation:
disabled: true
type: event
description: |
Temporary metric recorded at the same time as
"tabs_tray.new_tab_tapped" to validate that the Glean Server Knobs
functionality is working correctly.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1823682
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1823682#c2
notification_emails:
- android-probes@mozilla.com
- brosa@mozilla.com
expires: 116
pull_to_refresh_in_browser:
enabled:
type: boolean

@ -28,6 +28,7 @@ import mozilla.telemetry.glean.private.NoExtras
import org.mozilla.fenix.BrowserDirection
import org.mozilla.fenix.GleanMetrics.Collections
import org.mozilla.fenix.GleanMetrics.Events
import org.mozilla.fenix.GleanMetrics.ServerKnobs
import org.mozilla.fenix.GleanMetrics.TabsTray
import org.mozilla.fenix.HomeActivity
import org.mozilla.fenix.R
@ -478,6 +479,9 @@ class DefaultTabsTrayController(
TabsTray.newPrivateTabTapped.record(NoExtras())
} else {
TabsTray.newTabTapped.record(NoExtras())
// Temporary recording for validating the Glean Server Knobs functionality.
ServerKnobs.validation.record(NoExtras())
}
}

Loading…
Cancel
Save