package
Version:
v2.8.0
Opens a new window with list of versions in this module.
Published: Jan 1, 2026
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package telemetry provides opt-in error reporting via Sentry.
All PII is stripped before transmission.
Close flushes pending events and shuts down Sentry.
Safe to call multiple times.
Enabled returns whether telemetry is enabled.
Flush ensures all pending events are sent to Sentry.
Call this before os.Exit to ensure error events are transmitted.
func Init(reportingEnabled bool, deviceID, appVersion, platformID string) error
Init initializes Sentry error reporting with zerolog integration.
If reportingEnabled is false, telemetry remains disabled.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.