github / github/copilot-cli

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

Aberta
#4,169 1 comentário 0 reações 0 responsáveis Ver no GitHub
area:configuration area:non-interactive
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece reproduzindo `copilot -p "test"` com a telemetria forçada como ativada nas configurações gerenciadas e, em seguida, compare sua inicialização de telemetria com o caminho de chat do IntelliJ CLI-harness. Rastreie a configuração do OTEL para ambos os gatilhos e verifique se a telemetria é emitida em cada cenário quando o override está habilitado.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
shell
Domínio
cli, observability
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Ativa
Clareza
Razoavelmente clara
Facilidade para iniciantes
55/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.