Getting started¶
codexlb2otel must be able to read a codex-lb conversation-archive directory and write its checkpoint. Start with output disabled or pointed at test destinations; archive records can contain complete prompts, messages, tool arguments, and command output.
Build from source¶
The Go version is declared in go.mod:
Copy the example configuration and change the archive paths:
For the first run, disable loki, otlp.metrics, otlp.traces, and agento11y. The health listener remains available on loopback:
The binary also provides its own container health probe:
Run the published container¶
Tagged releases and the rolling main image are published to GHCR:
The image is distroless and runs as a non-root user. Mount:
- the archive directory at the path configured by
archive.dir; - a readable configuration file at
/etc/codexlb2otel/config.yaml; and - a writable persistent directory containing
archive.checkpoint.
The repository's docker-compose.yml shows the complete mount and health-check shape. Its host paths and numeric user are deployment examples, not portable defaults: choose paths and a UID that can read your own archive without loosening the archive's permissions.
Enable one sink at a time¶
- Enable OTLP metrics and confirm series arrive.
- Review Security, choose
loki.record_types, then enable Loki. - Treat traces and Agent Observability as separate optional sinks for deployments that explicitly need them and have the required scopes. Camden keeps traces disabled by its settled deployment decision. Agent Observability remains disabled because native per-profile Codex integration owns that observation path. Source-level trace-link tests do not imply live signal delivery.
See Configuration for secret indirection and Troubleshooting for empty-output and delivery failures.
For the host-specific Compose layout, enabled Postgres join, drift probe, and post-deploy Grafana verification, follow the Camden deployment contract. The published configuration does not imply that Camden has traces or Agent Observability enabled.