trace remote shell process starts

This commit is contained in:
Adam Perry
2026-07-09 01:25:03 +00:00
parent aaa30f79c2
commit 124d40f563
2 changed files with 22 additions and 0 deletions
@@ -405,6 +405,17 @@ impl UnifiedExecProcessManager {
}
}
#[tracing::instrument(
name = "codex.core.unified_exec.exec_command",
level = "info",
skip_all,
fields(
otel.name = "codex.core.unified_exec.exec_command",
otel.kind = "internal",
codex.crate = "codex_core",
codex.boundary = "exec_command",
)
)]
pub(crate) async fn exec_command(
&self,
request: ExecCommandRequest,
+11
View File
@@ -645,6 +645,17 @@ impl ExecServerClient {
self.call(FS_COPY_METHOD, &params).await
}
#[tracing::instrument(
name = "codex.exec_server.client.process.start",
level = "info",
skip_all,
fields(
otel.name = "codex.exec_server.client.process.start",
otel.kind = "internal",
codex.crate = "codex_exec_server",
codex.boundary = "client_process_start",
)
)]
pub(crate) async fn start_process(
&self,
params: ExecParams,