Documentation
¶
Overview ¶
Package telemetry provides anonymous hardware compatibility and crash reporting
Index ¶
- func FlushTelemetry()
- func Initialize(endpoint, apiKey string, enabled bool)
- func RecordEvent(eventType string, details map[string]interface{})
- func RecordHardwareMiss(component string, details map[string]interface{})
- func RecordPanic(panicValue interface{}, stackTrace []byte)
- func SetAppVersion(version string)
- func Shutdown()
- type Client
- type Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Initialize sets up the telemetry system
func RecordEvent ¶
RecordEvent adds an event to the telemetry buffer
func RecordHardwareMiss ¶
RecordHardwareMiss records a hardware detection failure
func RecordPanic ¶
func RecordPanic(panicValue interface{}, stackTrace []byte)
RecordPanic records a panic with stack trace
func SetAppVersion ¶
func SetAppVersion(version string)
SetAppVersion sets the application version for telemetry
Types ¶
Click to show internal directories.
Click to hide internal directories.