codex/codex-rs/code-mode-host
Adam Perry @ OpenAI 9969043b95 Extract OTEL trace WebSocket into a reusable crate (#42102)
## What changed

- Add `codex-otel-trace-websocket` with a `TraceWebSocket` API that owns the
  loopback OTLP receiver and WebSocket listener.
- Bind both listeners during startup, expose the exporter and bound listener
  addresses, and surface listener failures through a single lifecycle method.
- Update `codex-code-mode-host` to use the new crate and shut down the bridge
  after flushing its trace provider.

GitOrigin-RevId: ec5ca4c4369b6b3b1232875c2699730eb748ab1c
History 2026-09-01 17:17:45 +00:00
..
src Extract OTEL trace WebSocket into a reusable crate (#42102) 2026-09-01 17:17:45 +00:00
tests Report code mode host request durations (#41452) 2026-08-29 02:52:58 +00:00
BUILD.bazel code-mode standalone: extract protocol and add host crate (#27724) 2026-06-11 22:37:26 -07:00
Cargo.toml Extract OTEL trace WebSocket into a reusable crate (#42102) 2026-09-01 17:17:45 +00:00