2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

Bug 1823682 - add Server Knobs validation metric

This commit is contained in:
Bruno Rosa 2023-04-28 21:30:08 -04:00 committed by mergify[bot]
parent a0e4a6bf97
commit 8fe4e610d4
2 changed files with 21 additions and 0 deletions

View File

@ -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

View File

@ -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())
}
}