aKode fase 2c: eliminato il codice di invio dati (crate analytics, otel-trace-websocket, sentry, esportatori OTLP); /feedback salva solo in locale; chiavi legacy [analytics]/[otel] accettate e ignorate; test di analytics/OTLP/upload rimossi
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
This commit is contained in:
@@ -67,8 +67,6 @@ pub fn default_filter() -> Targets {
|
||||
// Avoid constructing backend diagnostics when no other layer needs them.
|
||||
.with_targets(SQLX_LOG_TARGETS.map(|target| (format!("{target}::"), LevelFilter::OFF)))
|
||||
.with_target("codex_rmcp_client", LevelFilter::INFO)
|
||||
.with_target("opentelemetry-otlp", LevelFilter::OFF)
|
||||
.with_target("opentelemetry-http", LevelFilter::OFF)
|
||||
.with_target("tonic::transport", LevelFilter::WARN)
|
||||
.with_target("tower::buffer", LevelFilter::WARN)
|
||||
.with_target("codex_otel.log_only", LevelFilter::OFF)
|
||||
@@ -299,10 +297,7 @@ where
|
||||
// `tracing-log` checks filters with the original log target before
|
||||
// dispatching an event whose tracing target is `log`, so the outer
|
||||
// target filter cannot reliably reject these bridged events.
|
||||
// OTLP exporters and their HTTP adapters log every export. Recording
|
||||
// those events would create another SQLite-write metric and keep the
|
||||
// exporter active indefinitely, including when its queue is full.
|
||||
if matches!(target, "log" | "opentelemetry-otlp" | "opentelemetry-http") {
|
||||
if target == "log" {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -319,7 +314,7 @@ where
|
||||
|
||||
let mut visitor = MessageVisitor::default();
|
||||
event.record(&mut visitor);
|
||||
// OTLP gRPC connections run on their own task, so an unsolicited PING
|
||||
// gRPC connections run on their own task, so an unsolicited PING
|
||||
// ACK can emit this benign warning after every otherwise successful
|
||||
// export. Drop only that warning before queue/drop accounting; other
|
||||
// HTTP/2 diagnostics must remain available to unrelated clients.
|
||||
|
||||
Reference in New Issue
Block a user