Add process-scoped SQLite telemetry

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
jif-oai
2026-05-11 14:36:31 +01:00
parent 7e15e6db9e
commit 2d5a5a1248
22 changed files with 556 additions and 128 deletions

View File

@@ -478,6 +478,8 @@ pub async fn run_main(cli: Cli, arg0_paths: Arg0DispatchPaths) -> anyhow::Result
None
}
};
codex_core::otel_init::record_process_start(otel.as_ref(), "codex_exec");
codex_core::otel_init::install_sqlite_telemetry(otel.as_ref(), "codex_exec");
let otel_logger_layer = otel.as_ref().and_then(|o| o.logger_layer());