Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Telemetry ¶
type Telemetry interface { // Start enables the metrics server. Start() // Stop terminates the metrics server. Stop() error // RecordGameStateUpdateDuration records the duration a game state update took to complete. RecordGameStateUpdateDuration(duration float64) // RecordPlayerConnected tracks a player that was connected to the server. RecordPlayerConnected() // RecordPlayerDisconnected tracks a player that was disconnected from the server. RecordPlayerDisconnected() }
Telemetry is an interface for metrics providers that instrument the game server.
Click to show internal directories.
Click to hide internal directories.