`copilot -p` does not emit OTEL telemetry even with server-managed settings overrides
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 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:
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_
贡献指南
调研方向
首先,在托管设置中强制开启 telemetry 的情况下复现 `copilot -p "test"`,然后将其 telemetry 初始化与 IntelliJ CLI-harness 的聊天路径进行比较。跟踪两个触发器的 OTEL 设置,并验证在启用 override 时每种场景都会发出 telemetry。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli, observability
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100