Skip to content

Codex

Installation and Configuration

Plugin Installation

  1. Log in to the platform.

  2. Click [Agent Monitoring] to enter the [Overview] page, then click [Connect Agent].

  3. Select [Codex].

  4. Enter the instance name.

  5. Copy the code block in [Access Code] and run it on the corresponding Codex server or in the Codex chat window.

  6. Restart the Codex desktop client or Codex CLI.

  7. Start a session in Codex. After the session ends, log in to the platform to view the data.

Traces

Trace Structure

One Codex turn generates a trace tree:

invoke_agent
├── llm
│   ├── tool:exec_command
│   │   └── skill:plugin-creator
│   └── assistant
└── llm
    └── assistant

Metrics

  • Metric set agent_runtime
Metric Type Unit Source Description
gen_ai_workflow_duration Histogram s invoke_agent span duration Codex turn duration.
gen_ai_agent_operation_count Sum - llm, skill:*, tool:* spans Count of Agent-side operations.
gen_ai_agent_operation_duration Histogram ms llm, skill:*, tool:* span duration Duration statistics for Agent-side operations.
gen_ai_client_token_usage Histogram {token} gen_ai_usage_input_tokens / gen_ai_usage_output_tokens of the llm span Input and output token usage for model calls.

Feedback

Is this page helpful? ×