Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

12.2 KB
Raw Blame
{
 "runtime": "Codex app-server (terminal CLI)",
 "version": "0.164.0",
 "originator": "codex-tui",
 "conversation": "019a17e0-efe2-7ae3-b558-d333b8e7ce96",
 "logs": {
  "resourceLogs": [
   {
    "resource": {
     "attributes": [
      {"key": "service.name", "value": {"stringValue": "codex-app-server"}},
      {"key": "service.version", "value": {"stringValue": "0.164.0"}},
      {"key": "env", "value": {"stringValue": "dev"}},
      {"key": "host.name", "value": {"stringValue": "mac-studio.local"}},
      {"key": "telemetry.sdk.language", "value": {"stringValue": "rust"}},
      {"key": "telemetry.sdk.name", "value": {"stringValue": "opentelemetry"}},
      {"key": "telemetry.sdk.version", "value": {"stringValue": "0.31.0"}}
     ]
    },
    "scopeLogs": [
     {
      "scope": {
       "name": "codex_otel.log_only"
      },
      "logRecords": [
       {
        "timeUnixNano": "1793286245102000000",
        "observedTimeUnixNano": "1793286245102000000",
        "severityNumber": 9,
        "severityText": "INFO",
        "eventName": "event otel/src/events/session_telemetry.rs:690",
        "attributes": [
         {"key": "event.name", "value": {"stringValue": "codex.conversation_starts"}},
         {"key": "provider_name", "value": {"stringValue": "OpenAI"}},
         {"key": "auth.env_openai_api_key_present", "value": {"boolValue": false}},
         {"key": "auth.env_codex_api_key_present", "value": {"boolValue": false}},
         {"key": "auth.env_codex_api_key_enabled", "value": {"boolValue": false}},
         {"key": "auth.env_provider_key_present", "value": {"boolValue": false}},
         {"key": "auth.env_refresh_token_url_override_present", "value": {"boolValue": false}},
         {"key": "reasoning_effort", "value": {"stringValue": "medium"}},
         {"key": "reasoning_summary", "value": {"stringValue": "auto"}},
         {"key": "context_window", "value": {"intValue": "272000"}},
         {"key": "auto_compact_token_limit", "value": {"intValue": "244800"}},
         {"key": "approval_policy", "value": {"stringValue": "on-request"}},
         {"key": "sandbox_policy", "value": {"stringValue": "workspace-write"}},
         {"key": "mcp_servers", "value": {"stringValue": ""}},
         {"key": "event.timestamp", "value": {"stringValue": "2026-10-29T15:04:05.102Z"}},
         {"key": "conversation.id", "value": {"stringValue": "019a17e0-efe2-7ae3-b558-d333b8e7ce96"}},
         {"key": "app.version", "value": {"stringValue": "0.164.0"}},
         {"key": "auth_mode", "value": {"stringValue": "Chatgpt"}},
         {"key": "originator", "value": {"stringValue": "codex-tui"}},
         {"key": "user.account_id", "value": {"stringValue": "8f1c2a6e-3b7d-4f0a-9c5e-2d4b6a8e0f13"}},
         {"key": "user.email", "value": {"stringValue": "[email protected]"}},
         {"key": "terminal.type", "value": {"stringValue": "codex-tui/0.164.0 (Mac OS 15.6.1; arm64) iTerm.app/3.6.5"}},
         {"key": "model", "value": {"stringValue": "gpt-5.5"}},
         {"key": "slug", "value": {"stringValue": "gpt-5.5"}}
        ]
       },
       {
        "timeUnixNano": "1793286247417000000",
        "observedTimeUnixNano": "1793286247417000000",
        "severityNumber": 9,
        "severityText": "INFO",
        "eventName": "event otel/src/events/session_telemetry.rs:1179",
        "attributes": [
         {"key": "event.name", "value": {"stringValue": "codex.user_prompt"}},
         {"key": "prompt_length", "value": {"stringValue": "27"}},
         {"key": "prompt", "value": {"stringValue": "list the files in this repo"}},
         {"key": "event.timestamp", "value": {"stringValue": "2026-10-29T15:04:07.417Z"}},
         {"key": "conversation.id", "value": {"stringValue": "019a17e0-efe2-7ae3-b558-d333b8e7ce96"}},
         {"key": "app.version", "value": {"stringValue": "0.164.0"}},
         {"key": "auth_mode", "value": {"stringValue": "Chatgpt"}},
         {"key": "originator", "value": {"stringValue": "codex-tui"}},
         {"key": "user.account_id", "value": {"stringValue": "8f1c2a6e-3b7d-4f0a-9c5e-2d4b6a8e0f13"}},
         {"key": "user.email", "value": {"stringValue": "[email protected]"}},
         {"key": "terminal.type", "value": {"stringValue": "codex-tui/0.164.0 (Mac OS 15.6.1; arm64) iTerm.app/3.6.5"}},
         {"key": "model", "value": {"stringValue": "gpt-5.5"}},
         {"key": "slug", "value": {"stringValue": "gpt-5.5"}}
        ]
       }
      ]
     }
    ]
   }
  ]
 },
 "traces": {
  "resourceSpans": [
   {
    "resource": {
     "attributes": [
      {"key": "service.name", "value": {"stringValue": "codex-app-server"}},
      {"key": "service.version", "value": {"stringValue": "0.164.0"}},
      {"key": "env", "value": {"stringValue": "dev"}},
      {"key": "telemetry.sdk.language", "value": {"stringValue": "rust"}},
      {"key": "telemetry.sdk.name", "value": {"stringValue": "opentelemetry"}},
      {"key": "telemetry.sdk.version", "value": {"stringValue": "0.31.0"}}
     ]
    },
    "scopeSpans": [
     {
      "scope": {
       "name": "codex-app-server"
      },
      "spans": [
       {
        "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
        "spanId": "00f067aa0ba902b7",
        "name": "session_task.turn",
        "kind": 1,
        "startTimeUnixNano": "1793286247417000000",
        "endTimeUnixNano": "1793286255837000000",
        "attributes": [
         {"key": "code.file.path", "value": {"stringValue": "core/src/tasks/mod.rs"}},
         {"key": "code.module.name", "value": {"stringValue": "codex_core::tasks"}},
         {"key": "code.line.number", "value": {"intValue": "369"}},
         {"key": "thread.id", "value": {"intValue": "23"}},
         {"key": "thread.name", "value": {"stringValue": "tokio-runtime-worker"}},
         {"key": "target", "value": {"stringValue": "codex_core::tasks"}},
         {"key": "thread.id", "value": {"stringValue": "019a17e0-efe2-7ae3-b558-d333b8e7ce96"}},
         {"key": "turn.id", "value": {"stringValue": "1"}},
         {"key": "model", "value": {"stringValue": "gpt-5.5"}},
         {"key": "codex.turn.reasoning_effort", "value": {"stringValue": "medium"}},
         {"key": "codex.turn.token_usage.input_tokens", "value": {"intValue": "13347"}},
         {"key": "codex.turn.token_usage.cached_input_tokens", "value": {"intValue": "9984"}},
         {"key": "codex.turn.token_usage.cache_write_input_tokens", "value": {"intValue": "0"}},
         {"key": "codex.turn.token_usage.non_cached_input_tokens", "value": {"intValue": "3363"}},
         {"key": "codex.turn.token_usage.output_tokens", "value": {"intValue": "512"}},
         {"key": "codex.turn.token_usage.reasoning_output_tokens", "value": {"intValue": "64"}},
         {"key": "codex.turn.token_usage.total_tokens", "value": {"intValue": "13859"}},
         {"key": "busy_ns", "value": {"intValue": "41250000"}},
         {"key": "idle_ns", "value": {"intValue": "8378750000"}}
        ],
        "status": {}
       }
      ]
     }
    ]
   }
  ]
 },
 "metrics": {
  "resourceMetrics": [
   {
    "resource": {
     "attributes": [
      {"key": "service.name", "value": {"stringValue": "codex-app-server"}},
      {"key": "service.version", "value": {"stringValue": "0.164.0"}},
      {"key": "env", "value": {"stringValue": "dev"}},
      {"key": "telemetry.sdk.language", "value": {"stringValue": "rust"}},
      {"key": "telemetry.sdk.name", "value": {"stringValue": "opentelemetry"}},
      {"key": "telemetry.sdk.version", "value": {"stringValue": "0.31.0"}}
     ]
    },
    "scopeMetrics": [
     {
      "scope": {
       "name": "codex"
      },
      "metrics": [
       {
        "name": "codex.turn.token_usage",
        "histogram": {
         "aggregationTemporality": 1,
         "dataPoints": [
          {
           "attributes": [
            {"key": "token_type", "value": {"stringValue": "total"}},
            {"key": "tmp_mem_enabled", "value": {"stringValue": "false"}},
            {"key": "auth_mode", "value": {"stringValue": "Chatgpt"}},
            {"key": "session_source", "value": {"stringValue": "cli"}},
            {"key": "originator", "value": {"stringValue": "codex-tui"}},
            {"key": "model", "value": {"stringValue": "gpt-5.5"}},
            {"key": "app.version", "value": {"stringValue": "0.164.0"}}
           ],
           "startTimeUnixNano": "1793286247417000000",
           "timeUnixNano": "1793286257417000000",
           "count": "1",
           "sum": 13859.0,
           "min": 13859.0,
           "max": 13859.0
          },
          {
           "attributes": [
            {"key": "token_type", "value": {"stringValue": "input"}},
            {"key": "tmp_mem_enabled", "value": {"stringValue": "false"}},
            {"key": "auth_mode", "value": {"stringValue": "Chatgpt"}},
            {"key": "session_source", "value": {"stringValue": "cli"}},
            {"key": "originator", "value": {"stringValue": "codex-tui"}},
            {"key": "model", "value": {"stringValue": "gpt-5.5"}},
            {"key": "app.version", "value": {"stringValue": "0.164.0"}}
           ],
           "startTimeUnixNano": "1793286247417000000",
           "timeUnixNano": "1793286257417000000",
           "count": "1",
           "sum": 13347.0,
           "min": 13347.0,
           "max": 13347.0
          },
          {
           "attributes": [
            {"key": "token_type", "value": {"stringValue": "cached_input"}},
            {"key": "tmp_mem_enabled", "value": {"stringValue": "false"}},
            {"key": "auth_mode", "value": {"stringValue": "Chatgpt"}},
            {"key": "session_source", "value": {"stringValue": "cli"}},
            {"key": "originator", "value": {"stringValue": "codex-tui"}},
            {"key": "model", "value": {"stringValue": "gpt-5.5"}},
            {"key": "app.version", "value": {"stringValue": "0.164.0"}}
           ],
           "startTimeUnixNano": "1793286247417000000",
           "timeUnixNano": "1793286257417000000",
           "count": "1",
           "sum": 9984.0,
           "min": 9984.0,
           "max": 9984.0
          },
          {
           "attributes": [
            {"key": "token_type", "value": {"stringValue": "cache_write_input"}},
            {"key": "tmp_mem_enabled", "value": {"stringValue": "false"}},
            {"key": "auth_mode", "value": {"stringValue": "Chatgpt"}},
            {"key": "session_source", "value": {"stringValue": "cli"}},
            {"key": "originator", "value": {"stringValue": "codex-tui"}},
            {"key": "model", "value": {"stringValue": "gpt-5.5"}},
            {"key": "app.version", "value": {"stringValue": "0.164.0"}}
           ],
           "startTimeUnixNano": "1793286247417000000",
           "timeUnixNano": "1793286257417000000",
           "count": "1",
           "sum": 0.0,
           "min": 0.0,
           "max": 0.0
          },
          {
           "attributes": [
            {"key": "token_type", "value": {"stringValue": "output"}},
            {"key": "tmp_mem_enabled", "value": {"stringValue": "false"}},
            {"key": "auth_mode", "value": {"stringValue": "Chatgpt"}},
            {"key": "session_source", "value": {"stringValue": "cli"}},
            {"key": "originator", "value": {"stringValue": "codex-tui"}},
            {"key": "model", "value": {"stringValue": "gpt-5.5"}},
            {"key": "app.version", "value": {"stringValue": "0.164.0"}}
           ],
           "startTimeUnixNano": "1793286247417000000",
           "timeUnixNano": "1793286257417000000",
           "count": "1",
           "sum": 512.0,
           "min": 512.0,
           "max": 512.0
          },
          {
           "attributes": [
            {"key": "token_type", "value": {"stringValue": "reasoning_output"}},
            {"key": "tmp_mem_enabled", "value": {"stringValue": "false"}},
            {"key": "auth_mode", "value": {"stringValue": "Chatgpt"}},
            {"key": "session_source", "value": {"stringValue": "cli"}},
            {"key": "originator", "value": {"stringValue": "codex-tui"}},
            {"key": "model", "value": {"stringValue": "gpt-5.5"}},
            {"key": "app.version", "value": {"stringValue": "0.164.0"}}
           ],
           "startTimeUnixNano": "1793286247417000000",
           "timeUnixNano": "1793286257417000000",
           "count": "1",
           "sum": 64.0,
           "min": 64.0,
           "max": 64.0
          }
         ]
        }
       }
      ]
     }
    ]
   }
  ]
 }
}