環境変数

BETA_TRACING_ENDPOINT

詳細なベータ版トレーシング情報の送信先となる、専用のエンドポイントURLを指定します。

使い方・用途

  • 標準のテレメトリとは別に、ベータ機能のスパンを特定の解析用サーバーに集約したい場合に使用します。
  • ENABLE_BETA_TRACING_DETAILEDが有効な場合にのみ機能し、特定のフックスパンの出力先を決定します。
英語原文(公式ドキュメントより)

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.