mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
feat: tool call duration metric (#9364)
This commit is contained in:
@@ -446,6 +446,11 @@ impl OtelManager {
|
||||
1,
|
||||
&[("tool", tool_name), ("success", success_str)],
|
||||
);
|
||||
self.record_duration(
|
||||
"codex.tool.call.duration_ms",
|
||||
duration,
|
||||
&[("tool", tool_name), ("success", success_str)],
|
||||
);
|
||||
tracing::event!(
|
||||
tracing::Level::INFO,
|
||||
event.name = "codex.tool_result",
|
||||
|
||||
Reference in New Issue
Block a user