0.12.1
OpenTelemetry Trace Collection
Added configurable OpenTelemetry trace export. The Copilot CLI's built-in OTel instrumentation exports spans following the GenAI semantic conventions -- model calls with token counts, tool execution timing, and session lifecycle -- to any OTLP HTTP endpoint. See the SDK OTel documentation for details on the underlying instrumentation.
Features
- Telemetry config -- new
telemetrysection inconfig.jsonwithotlpEndpoint,sourceName,captureContent, andauthEnvfields. (#151) - Auth support --
authEnvresolves credentials from workspace.envfiles, scoped to the CLI subprocess only (not leaked to hooks or other child processes). - Documentation -- new
telemetrytopic in thefetch_copilot_bridge_documentationtool with config reference, auth setup, and trace details. - Config reload detection -- telemetry changes are flagged as restart-required during
/reload config.
Compatible Collectors
Tested with OpenObserve. Also compatible with Jaeger, Grafana Tempo, and any OTLP HTTP endpoint.