mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
chore: metrics tool call (#8975)
This commit is contained in:
@@ -447,7 +447,11 @@ impl OtelManager {
|
||||
output: &str,
|
||||
) {
|
||||
let success_str = if success { "true" } else { "false" };
|
||||
|
||||
self.counter(
|
||||
"codex.tool.call",
|
||||
1,
|
||||
&[("tool", tool_name), ("success", success_str)],
|
||||
);
|
||||
tracing::event!(
|
||||
tracing::Level::INFO,
|
||||
event.name = "codex.tool_result",
|
||||
|
||||
Reference in New Issue
Block a user