Skip to content

docs(tracing): show one OpenTelemetry setup for Responses and Codex - #6107

Merged
markstuart-oai merged 58 commits into
feat/simple-codexfrom
docs/operation-tracing
Nov 23, 2026
Merged

markstuart-oai merged 58 commits into
feat/simple-codexfrom
docs/operation-tracing

Conversation

@markstuart-oai

@markstuart-oai markstuart-oai commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

A worker can switch between Responses and embedded Codex without changing its OpenTelemetry setup. The guide walks through a console trace, a collector export, and a Python tool with its own child span. It shows how to find retry events on a logical model call.

The default SDK processor can receive file contents even when OpenTelemetry sends only metadata. The guide distinguishes trace capture from Runner text redaction and includes an offline redaction example. It also covers the callback required after a restart, the order for upgrading session readers and writers, and the limits of native approval recovery.

Availability

The published v1.0.0-alpha.1 wheel predates these features. The installation instructions now require a compatible tagged SDK release. Readers verify the wheel against the checksum for the exact filename in that release. Commit a7f7ac6f removes the option to install an unapproved CI artifact. The SDK wheel includes two existing patches for embedded Codex. Runner redaction and fallback reply protection run in Python.

Verification

  • Ran 14 console, OTLP/HTTP and retry cases against local model and collector endpoints, using both providers. Verified the answer, span parents, retry event and payloads. Ran the offline redaction example.
  • Built the site with make build-docs. Checked the English guides, the generated reference and navigation in English, Japanese, Korean and Chinese.
  • Reviewed the instructions against the SDK and ran the format, lint, type and test checks. 13,649 tests passed and 52 were skipped.

This PR changes only the guides, processor reference and navigation.

@markstuart-oai
markstuart-oai changed the base branch from feature/codex-operation-tracing to feature/logical-model-call-events November 21, 2026 15:32
@markstuart-oai
markstuart-oai changed the base branch from feature/logical-model-call-events to feat/simple-codex November 22, 2026 16:35
@markstuart-oai
markstuart-oai marked this pull request as ready for review November 23, 2026 06:02
@markstuart-oai
markstuart-oai requested review from a team, rm-openai and seratch as code owners November 23, 2026 06:02
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T06:12:28.075940Z a7f7ac6 New commits
🔒 Security Review ✅ Completed 2026-11-23T06:13:07.787410Z a7f7ac6 New commits

Security findings

Advisory findings (1)

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛡️ Codex Security Review · Automatically triggered

Here are some automated security review suggestions for this pull request.

Reviewed commit: 387fa8d488

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Comment thread docs/models/codex.md Resolved

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved after comprehensive static review with an independent reviewer. Checked all four documentation/navigation changes against the implementation: OpenTelemetry registration and provider cleanup, span hierarchy and retry events, content-mode limits, redaction and saved-state constraints, and native approval recovery safeguards. The release instructions correctly distinguish the published alpha.1 capabilities from features requiring a later tagged prerelease and require release assets plus checksum verification. No actionable findings.

Hosted CI completed: 16 passed, 3 skipped. Examples were inspected statically; no candidate code or local tests executed.

@markstuart-oai
markstuart-oai merged commit aa60a36 into feat/simple-codex Nov 23, 2026
21 checks passed
@markstuart-oai
markstuart-oai deleted the docs/operation-tracing branch November 23, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants