Documentation
¶
Overview ¶
Package telemetry provides anonymous usage tracking via PostHog. Events are fire-and-forget: sends are non-blocking and failures are silently discarded. No PII is collected.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client sends anonymous telemetry events to PostHog. Zero value is not usable; call Init to create a client.
func Init ¶
Init creates a telemetry client and starts the background sender. Pass the initech version string. Returns a no-op client if apiKey is the placeholder (telemetry not configured for this build).
Click to show internal directories.
Click to hide internal directories.