chore: metrics tool call (#8975)

This commit is contained in:
jif-oai
2026-01-09 13:28:43 +00:00
committed by GitHub
parent e2e3f4490e
commit 7e5b3e069e

View File

@@ -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",