mirror of
https://github.com/openai/codex.git
synced 2026-11-24 15:21:20 +00:00
Tag Codex home size metrics with compression state (#42043)
## What changed Add a `compression_enabled` attribute to each `codex.app_server.codex_home.size_bytes` sample. The value reflects whether `LocalThreadStoreCompression` is enabled in the effective startup configuration. GitOrigin-RevId: c087d36b4e578245aee6cfe5257075dfd3bdd025
This commit is contained in:
1 parent
9d0eae74cd
commit
90ae0c4ef9
2 files changed
+14
-8
No files matched your search
@@ -823,11 +823,7 @@ pub async fn run_main_with_transport_options(
|
||||
|
||||
// Only the standalone server measures its local home, not embedded/cloud runtimes.
|
||||
if let Some(metrics) = otel.as_ref().and_then(codex_otel::OtelProvider::metrics) {
|
||||
codex_home_metrics::spawn(
|
||||
config.codex_home.to_path_buf(),
|
||||
metrics.clone(),
|
||||
transport_shutdown_token.clone(),
|
||||
);
|
||||
codex_home_metrics::spawn(&config, metrics.clone(), transport_shutdown_token.clone());
|
||||
}
|
||||
|
||||
let otel_reloader_handle = otel_reloader::spawn(
|
||||
|
||||
Reference in new issue
Block a user