Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Added "codex." prefix to "conversation.turn.count" metric name (#9594)

Eric Traut16b9380e9947
diff --git a/codex-rs/core/src/codex.rs b/codex-rs/core/src/codex.rs
index f297d161e3..83fd5a98c0 100644
--- a/codex-rs/core/src/codex.rs
+++ b/codex-rs/core/src/codex.rs
@@ -2576,7 +2576,7 @@ mod handlers {
.filter(|item| is_user_turn_boundary(item))
.count();
sess.services.otel_manager.counter(
- "conversation.turn.count",
+ "codex.conversation.turn.count",
i64::try_from(turn_count).unwrap_or(0),
&[],
);