game / pragma.telemetry / TelemetryPlugin /

TelemetryPlugin #

interface TelemetryPlugin

Persists telemetry events to a specific data store or data lake.

Functions #

NameSummary

getEvents

abstract suspend fun getEvents(eventNameHash: Long?, limit: Long): List<Event>

Returns the latest already persisted telemetry events up to the provided limit.

recordEvent

abstract suspend fun recordEvent(event: Event)

Records a single telemetry event.

recordEvents

abstract suspend fun recordEvents(events: List<Event>)

Records multiple telemetry events.