mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
Bug 1855421 - Add feature variable to test out precise timestamps in Glean events
This commit is contained in:
parent
9353b6d87e
commit
e2c03c8b77
@ -28,6 +28,9 @@ glean:
|
|||||||
hasExposure: true
|
hasExposure: true
|
||||||
exposureDescription: ""
|
exposureDescription: ""
|
||||||
variables:
|
variables:
|
||||||
|
event-timestamps-enabled:
|
||||||
|
type: boolean
|
||||||
|
description: Whether Glean reports all events with precise wall-clock timestamps
|
||||||
metrics-enabled:
|
metrics-enabled:
|
||||||
type: json
|
type: json
|
||||||
description: "A map of metric base-identifiers to booleans representing the state of the 'enabled' flag for that metric."
|
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."
|
description: "A map of metric base-identifiers to booleans representing the state of the 'enabled' flag for that metric."
|
||||||
type: Map<String, Boolean>
|
type: Map<String, Boolean>
|
||||||
default: {}
|
default: {}
|
||||||
|
enable-event-timestamps:
|
||||||
|
description: "Enables precise event timestamps for Glean events"
|
||||||
|
type: Boolean
|
||||||
|
default: false
|
||||||
|
|
||||||
splash-screen:
|
splash-screen:
|
||||||
description: "A feature that extends splash screen duration, allowing additional data fetching time for the app's initial run."
|
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(
|
httpClient = ConceptFetchHttpUploader(
|
||||||
lazy(LazyThreadSafetyMode.NONE) { components.core.client },
|
lazy(LazyThreadSafetyMode.NONE) { components.core.client },
|
||||||
),
|
),
|
||||||
|
enableEventTimestamps = FxNimbus.features.glean.value().enableEventTimestamps,
|
||||||
)
|
)
|
||||||
|
|
||||||
Glean.initialize(
|
Glean.initialize(
|
||||||
|
Loading…
Reference in New Issue
Block a user