github / github/copilot-cli

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

Đang mở
#4,169 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:configuration area:non-interactive
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện `copilot -p "test"` với telemetry bị buộc bật trong managed settings, sau đó so sánh quá trình khởi tạo telemetry của nó với chat path của IntelliJ CLI-harness. Truy vết thiết lập OTEL cho cả hai trigger và xác minh rằng telemetry được phát ra trong từng kịch bản khi override được bật.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli, observability
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.