What's wrong with this entry?
Anonymous. No account, no email.
What: Dual telemetry system that sends all events to both Statsig and Segment analytics platforms
How to use:
# Telemetry is enabled by default and respects existing opt-out mechanisms
export DISABLE_TELEMETRY=1 # Disables both Statsig and Segment
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 # Also disables both
Details:
- All existing telemetry events (tool usage, file operations, security checks, etc.) now tracked to Segment in addition to Statsig
- Uses anonymous IDs by default (
claudecode.v1.{uuid}), adds user IDs when authenticated with Claude.ai - Feature-gated behind
tengu_log_segment_eventsStatsig flag for controlled rollout - Events batched (15 per flush) and auto-flushed every 10 seconds
- Graceful shutdown ensures no data loss on exit
- Evidence:
j1()at line 475648,Os2()at line 475587,Ms2at line 475622