Bug 1855421 - Add feature variable to test out precise timestamps in Glean events

fenix/120.0
Jan-Erik Rediger 11 months ago committed by mergify[bot]
parent 9353b6d87e
commit e2c03c8b77

@ -28,6 +28,9 @@ glean:
hasExposure: true
exposureDescription: ""
variables:
event-timestamps-enabled:
type: boolean
description: Whether Glean reports all events with precise wall-clock timestamps
metrics-enabled:
type: json
description: "A map of metric base-identifiers to booleans representing the state of the 'enabled' flag for that metric."

@ -332,6 +332,10 @@ features:
description: "A map of metric base-identifiers to booleans representing the state of the 'enabled' flag for that metric."
type: Map<String, Boolean>
default: {}
enable-event-timestamps:
description: "Enables precise event timestamps for Glean events"
type: Boolean
default: false
splash-screen:
description: "A feature that extends splash screen duration, allowing additional data fetching time for the app's initial run."

@ -203,6 +203,7 @@ open class FenixApplication : LocaleAwareApplication(), Provider {
httpClient = ConceptFetchHttpUploader(
lazy(LazyThreadSafetyMode.NONE) { components.core.client },
),
enableEventTimestamps = FxNimbus.features.glean.value().enableEventTimestamps,
)
Glean.initialize(

Loading…
Cancel
Save