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.
func (*Client) DeviceID ¶ added in v1.18.3
DeviceID returns the stable device identifier used as PostHog distinct_id.
Click to show internal directories.
Click to hide internal directories.