Skip to content

0.12.1

Choose a tag to compare

@ChrisRomp ChrisRomp released this 26 Mar 16:23
· 94 commits to main since this release
07f4795

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 telemetry section in config.json with otlpEndpoint, sourceName, captureContent, and authEnv fields. (#151)
  • Auth support -- authEnv resolves credentials from workspace .env files, scoped to the CLI subprocess only (not leaked to hooks or other child processes).
  • Documentation -- new telemetry topic in the fetch_copilot_bridge_documentation tool 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.