{"modulePath":"github.com/chainloop-dev/chainloop","version":"v1.138.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package posthog\n\n## Variables\n\n```go\nvar ErrInvalidConfig = errors.New(\"invalid configuration, API Key and endpoint URL are required\")\n```\n\n## Types\n\n```go\ntype Tracker struct {\n\t// contains filtered or unexported fields\n}\n```\nTracker is an implementation of the telemetry.Client interface for PostHog.\n\n```go\nfunc NewClient(apiKey string, endpointURL string) (*Tracker, error)\n```\nNewClient creates a new PosthogTracker instance.\n\n```go\nfunc (p *Tracker) TrackEvent(_ context.Context, eventName string, id string, tags telemetry.Tags) error\n```\nTrackEvent sends an event to the PostHog server.\n\n","path":"github.com/chainloop-dev/chainloop/app/cli/internal/telemetry/posthog","name":"posthog","synopsis":"","isRedistributable":true}
