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>