continue-custom/extensions/cli/spec/telemtry.md
Continue Agent 73057d374b Add CONTINUE_ALLOW_ANONYMOUS_TELEMETRY env var for anonymous telemetry control
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>
2025-10-07 20:03:22 +00:00

424 B

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