mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
chore: metrics tool call (#8975)
This commit is contained in:
committed by
GitHub
Unverified
parent
e2e3f4490e
commit
7e5b3e069e
@@ -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