`copilot -p` does not emit OTEL telemetry even with server-managed settings overrides
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
### 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_
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire `copilot -p "test"` avec la télémétrie forcée à être activée dans les paramètres gérés, puis comparez son initialisation de la télémétrie avec le chemin de chat IntelliJ CLI-harness. Suivez la configuration OTEL pour les deux déclencheurs et vérifiez que la télémétrie est émise dans chaque scénario lorsque l’override est activé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- cli, observability
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 55/100