`copilot -p` does not emit OTEL telemetry even with server-managed settings overrides
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
### 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_
Guía de contribución
Línea de trabajo
Comienza reproduciendo `copilot -p "test"` con la telemetría activada de forma forzada en la configuración administrada y, después, compara su inicialización de telemetría con la ruta de chat del IntelliJ CLI-harness. Sigue la configuración de OTEL para ambos desencadenantes y verifica que se emita telemetría en cada escenario cuando el override esté habilitado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- cli, observability
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100