VS Code および CLI 向けの企業管理型 OpenTelemetry エクスポート機能
GitHub が、組織管理者が GitHub Copilot のテレメトリデータ送信先を指定し、開発者ごとの環境変数設定不要で承認済みコレクタへデータを流せる機能を VS Code と CLI に導入した。
組織は現在、GitHub Copilot が OpenTelemetry (OTel) データを送信する場所を強制できるようになりました。これにより、各開発者が OTEL_* 環境変数を設定しなくても、テレメトリデータが承認されたコレクタへ流れるようになります。この設定は、エンタープライズ管理設定内の telemetry ブロックを通じて配信され、VS Code 内の Copilot Chat 拡張機能と、Copilot CLI を支えるエージェントホストプロセスの両方に適用されます。
管理者は以下の項目を制御できます:
OTLP エクスポートエンドポイントおよび転送プロトコル (otlp-http または otlp-grpc)。
OTel サービス名およびリソース属性。
コレクタ用の認証トークンなどのエクスポートヘッダー。
プロンプト、レスポンス、ツールコンテンツのキャプチャの有無、および開発者がこれを設定変更できるかどうか。
管理値は常に優先され、環境変数やユーザー設定よりも上位に位置します。これらの設定は、ネイティブ MDM (Windows レジストリまたは macOS の管理設定)、サインインした GitHub アカウントから解決されるサーバー管理設定、またはファイルベースの managed-settings.json のいずれかのサポートされたチャネルを通じて配信してください。
セキュリティのため、管理されたエクスポートヘッダーは Copilot Chat 拡張機能の OTLP エクスポート器にのみ適用され、環境変数を経由して渡されることはありません。そのため、認証トークンなどの値が、エージェントホストによって起動されるツールサブプロセスに漏洩することはありません。
これはエンタープライズ管理設定を基盤としており、VS Code および Copilot CLI 全体で利用可能な増加しつつある Copilot ガバナンス制御のセットに参加するものです。
詳しくは、OpenTelemetry を使用したテレメトリエクスポートの設定と、OpenTelemetry を使用したモニターエージェントの使用状況の監視をご覧ください。
GitHub コミュニティ内のディスカッションに参加してください。
この投稿「Enterprise-managed OpenTelemetry export for VS Code and CLI」は、最初に The GitHub Blog で公開されました。
原文を表示
Organizations can now mandate where GitHub Copilot sends OpenTelemetry (OTel) data, so telemetry flows to an approved collector without each developer setting OTEL_* environment variables. The configuration is delivered through the telemetry block in enterprise-managed settings and applies to both the Copilot Chat extension in VS Code and the agent host process that powers Copilot CLI.
Administrators can control:
The OTLP export endpoint and transport protocol (otlp-http or otlp-grpc).
The OTel service name and resource attributes.
Exporter headers, such as an authentication token for the collector.
Whether prompt, response, and tool content is captured, and whether developers can change that.
A managed value always wins, taking precedence over environment variables and user settings. Deliver these settings through any of the supported channels: native MDM (Windows Registry or macOS managed preferences), server-managed settings resolved from the signed-in GitHub account, or a file-based managed-settings.json.
For security, managed exporter headers are applied only to the Copilot Chat extension’s OTLP exporter and are never passed through environment variables, so a value such as an authentication token can’t leak into the tool subprocesses that the agent host spawns.
This builds on enterprise managed settings and joins the growing set of Copilot governance controls available across VS Code and Copilot CLI.
To learn more, see Configure telemetry export with OpenTelemetry and Monitor agent usage with OpenTelemetry.
Join the discussion within GitHub Community.
The post Enterprise-managed OpenTelemetry export for VS Code and CLI appeared first on The GitHub Blog.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み