Private
eventsPrivate
initializedPrivate
getHelper function to validate and get a specific lifetime data related to a ping from the underlying storage.
If the value in storage for any of the metrics in the ping is of an unexpected type, the whole ping payload for that lifetime will be thrown away.
The ping we want to get the data from
The ping payload found for the given parameters or an empty object in case no data was found or the data that was found, was invalid.
Private
getPrivate
preparePrepares the events payload.
glean.restarted
event;glean.restarted
events (if they exists);The name of the ping for which the payload is being prepared.
An unsorted list of events.
An array of sorted events.
Generated using TypeDoc
The events database is an abstraction layer on top of the underlying storage.
Event data is saved to the database in the following format:
{ "pingName": { [ { "timestamp": 0, "category": "something", "name": "other", "extra": {...} }, ... ] } }
Events only support
Ping
lifetime.