github / github/copilot-cli

`copilot -p` does not emit OTEL telemetry even with server-managed settings overrides

オープン
#4,169 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:configuration area:non-interactive
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

Describe the bug

Running copilot cli with -p doesn't emit telemetry with server-managed settings:

{
  "telemetry": {
    "enabled": true,
    ...
  }
}

This could also contribute to sessions running under the CLI in the chat window do not show telemetry in IntelliJ:

Image

We need both of these scenarios covered with telemetry.

Affected version

1.0.71

Steps to reproduce the behavior

copilot -p "test"

or in IntelliJ select CLI as the harness and use the chat normally

Expected behavior

OTEL telemetry gets emitted no matter how copilot is triggered when OTEL is forced on in managed settings.

Additional context

No response

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、管理対象設定でテレメトリを強制的に有効にした状態で copilot -p "test" を再現し、次に、そのテレメトリ初期化を IntelliJ CLI-harness のチャットパスと比較します。両方のトリガーについて OTEL のセットアップを追跡し、override が有効な場合に各シナリオでテレメトリが出力されることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli, observability
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。