Lightweight coding agent that runs in your terminal
Rust
chore: drop metrics exporter config (#8892)
jif-oaie21ce6c5deff
diff --git a/codex-rs/core/src/config/mod.rs b/codex-rs/core/src/config/mod.rsindex 21139b47d4..f5d6a8ffd6 100644--- a/codex-rs/core/src/config/mod.rs+++ b/codex-rs/core/src/config/mod.rs@@ -1439,13 +1439,12 @@ impl Config {.unwrap_or(DEFAULT_OTEL_ENVIRONMENT.to_string());let exporter = t.exporter.unwrap_or(OtelExporterKind::None);let trace_exporter = t.trace_exporter.unwrap_or_else(|| exporter.clone());- let metrics_exporter = t.metrics_exporter.unwrap_or(OtelExporterKind::Statsig);OtelConfig {log_user_prompt,environment,exporter,trace_exporter,- metrics_exporter,+ metrics_exporter: OtelExporterKind::Statsig,}},};diff --git a/codex-rs/core/src/config/types.rs b/codex-rs/core/src/config/types.rsindex 191b44c780..f0d31f7c93 100644--- a/codex-rs/core/src/config/types.rs+++ b/codex-rs/core/src/config/types.rs@@ -338,11 +338,6 @@ pub struct OtelConfigToml {/// Optional trace exporterpub trace_exporter: Option<OtelExporterKind>,-- /// Optional metrics exporter- ///- /// Defaults to `statsig` outside of tests.- pub metrics_exporter: Option<OtelExporterKind>,}/// Effective OTEL settings after defaults are applied.