-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Opt-in OTel logging for agent responses #22230
Copy link
Copy link
Open
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIappIssues related to the Codex desktop appIssues related to the Codex desktop appconfigIssues involving config.toml, config keys, config merging, or config updatesIssues involving config.toml, config keys, config merging, or config updatesenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIappIssues related to the Codex desktop appIssues related to the Codex desktop appconfigIssues involving config.toml, config keys, config merging, or config updatesIssues involving config.toml, config keys, config merging, or config updatesenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
What variant of Codex are you using?
CLI, App
What feature would you like to see?
Codex OpenTelemetry exports should support an explicit opt-in option to log the agent/assistant response content for a turn.
This feature is needed for monitoring and evaluating agent behavior, especially regarding adherence to
SKILL.mddirectives.Suggested behavior
Add a config option such as:
or an environment/config equivalent.
When enabled, Codex should emit a log event for the final assistant message, for example:
A documented truncation limit would be acceptable.
Additional information
This feature is available in Claude Code's OTel implementation