Optional
allowedExtraKeys: string[]Private
Optional
allowedReadonly
categoryReadonly
disabledOptional
dynamicReadonly
lifetimeReadonly
nameReadonly
sendReadonly
typeRecord an event.
Optional
extra: SpecificExtraMapoptional. Used for events where additional richer context is needed. The maximum length for string values is 100 bytes.
The event timestamp, defaults to now.
Test-only API
Gets the currently stored events.
This doesn't clear the stored value.
the ping from which we want to retrieve this metrics value from.
Defaults to the first value in sendInPings
.
The value found in storage or undefined
if nothing was found.
Generated using TypeDoc
Base implementation of the event metric type, meant only for Glean internal use.
This class exposes Glean-internal properties and methods of the event metric type.