Skip to content

Avoid noisy OTEL diagnostics in codex exec#21107

Merged
cpaasch-oai merged 1 commit into
mainfrom
cpaasch/pr/otel
May 6, 2026
Merged

Avoid noisy OTEL diagnostics in codex exec#21107
cpaasch-oai merged 1 commit into
mainfrom
cpaasch/pr/otel

Conversation

@cpaasch-oai

Copy link
Copy Markdown
Contributor

codex exec should not print OpenTelemetry exporter self-diagnostics to
stderr by default. Suppress the SDK and OTLP exporter targets unless callers
explicitly opt in with RUST_LOG.

Also stop defaulting the trace exporter to the log exporter, since OTLP HTTP
endpoints are signal-specific and a logs endpoint is not valid for spans.

Co-authored-by: Codex noreply@openai.com

@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@cpaasch-oai

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

`codex exec` should not print OpenTelemetry exporter self-diagnostics to
stderr by default. Suppress the SDK and OTLP exporter targets unless callers
explicitly opt in with `RUST_LOG`.

Also stop defaulting the trace exporter to the log exporter, since OTLP HTTP
endpoints are signal-specific and a logs endpoint is not valid for spans.

Co-authored-by: Codex <noreply@openai.com>
github-actions Bot added a commit that referenced this pull request May 5, 2026
@cpaasch-oai cpaasch-oai marked this pull request as ready for review May 5, 2026 03:25
@cpaasch-oai cpaasch-oai requested a review from a team as a code owner May 5, 2026 03:25
@cpaasch-oai cpaasch-oai enabled auto-merge (squash) May 6, 2026 18:57
@cpaasch-oai cpaasch-oai merged commit f906304 into main May 6, 2026
37 of 38 checks passed
@cpaasch-oai cpaasch-oai deleted the cpaasch/pr/otel branch May 6, 2026 19:49
@github-actions github-actions Bot locked and limited conversation to collaborators May 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants