環境変数
ENABLE_BETA_TRACING_DETAILED
特定のフックスパンを含む、より詳細なベータ版トレーシングを有効にします。
使い方・用途
- 標準的なトレーシングよりもさらに深い内部構造(フック実行など)の観測が必要な場合に、専用のエンドポイント設定と併せて使用します。
- 対話型セッションでは組織の許可(allowlist)が必要であり、特定の高度なデバッグシナリオでのみ利用される機能です。
英語原文(公式ドキュメントより)
This span is emitted only when detailed beta tracing is active, which requires ENABLE_BETA_TRACING_DETAILED=1 and BETA_TRACING_ENDPOINT in addition to the trace exporter configuration above. In interactive CLI sessions, this also requires your organization to be allowlisted for the feature. Agent SDK and non-interactive -p sessions are not gated. It is not emitted when only CLAUDE_CODE_ENHANCED_TELEMETRY_BETA is set.