Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.36 Home All releases olderv2.0.35 v2.0.37newer
Claude Code v2.0.36

OpenTelemetry 1P Events

What: First-party event logging using OpenTelemetry protocol Details:

  • Exports events to Anthropic's event logging endpoint: {ANTHROPIC_BASE_URL}/api/event_logging/batch
  • New exporter class IB0 at line 477676 handles batching and export
  • Transforms logs into ClaudeCodeInternalEvent format with environment context
  • Logger initialization in or2() at line 477773 with automatic shutdown handling
  • Controlled by feature gate tengu_log_1p_events (gate check in rr2() at line 477755)
  • Events include session context, environment details, and custom metadata
  • Evidence: IB0 class at lines 477676-477751, initialization or2() at line 477773, event emission ZB0() at line 477761

See this entry in the whole of v2.0.36 →