Separates control of OTEL telemetry and anonymous PostHog telemetry: - CONTINUE_CLI_ENABLE_TELEMETRY: Controls OTEL telemetry (requires OTEL config) - CONTINUE_ALLOW_ANONYMOUS_TELEMETRY: Controls anonymous PostHog telemetry This allows users to independently control: 1. OTEL metrics (opt-in via config + env var) 2. Anonymous telemetry (opt-out via env var) Changes: - Added CONTINUE_ALLOW_ANONYMOUS_TELEMETRY env var - Updated posthogService to use new env var - Kept CONTINUE_CLI_ENABLE_TELEMETRY for OTEL control - Updated documentation for both telemetry types - Updated all tests to reflect the change Generated with [Continue](https://continue.dev) Co-authored-by: tingwai <tingwai@continue.dev>
10 lines
424 B
Markdown
10 lines
424 B
Markdown
# Continue anonymous Posthog telemetry
|
|
|
|
## Behavior
|
|
|
|
- Used by Continue for product metrics (not used by customers)
|
|
- uses public posthog key in repo
|
|
- CONTINUE_ALLOW_ANONYMOUS_TELEMETRY can be set to 0 to disable
|
|
- non-anonymous and private data like code is never sent to posthog
|
|
- Event user ids are the Continue user id is signed in, or a unique machine id if not
|
|
- Current events are slash command usage and chat calls
|