game / pragma.telemetry / TelemetryService /
TelemetryService #
class TelemetryService(pragmaNode: PragmaNode, instanceId: UUID, timeProxy: TimeProxy = TimeProxy()) : DistributedService, ConfigHandler<TelemetryServiceConfig>
Telemetry service provides a realtime event pipeline that persists events to various terminating data stores or data lakes.
Events can be sent by game clients, game servers, or from within Pragma from custom services or plugin implementations.
Constructors #
TelemetryService | internal fun TelemetryService(pragmaNode: PragmaNode, instanceId: UUID, timeProxy: TimeProxy = TimeProxy()) |
Functions #
Name | Summary |
---|---|
Persists a single event. The event source is provided by the caller. | |
Persists a single event. The event source is provided by the caller. | |
Persists a single event. The event source is provided by the caller. | |
Persists a list of events. The event source is provided per event. This enables batch events sent on behalf of multiple sources, such as a tool that aggregates events before sending them to the telemetry service. | |
Persists a list of events. The event source is provided per event. This enables batch events sent on behalf of multiple sources, such as all players in a match. | |
Persists a list of events. The event source is provided per event. This enables batch events sent on behalf of multiple sources, such as a service that aggregates events before sending them to the telemetry service. | |
Retrieves all events from a Telemetry Plugin implementation. This is an optional feature for plugins able to support this capability. | |
Persists a list of player events. The event source is set to the playerId associated with the session for all events. | |
Persists one player event. The event source is set to the playerId associated with the session. |