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.
|
||||
|
||||
@@ -35,8 +35,6 @@ async fn sqlite_sink_filters_noisy_targets_without_dropping_useful_diagnostics()
|
||||
tracing::warn!(target: "sqlx::pool::acquire", "dropped-slow-acquire-warning");
|
||||
tracing::warn!(target: "sqlx::other", "dropped-sqlx-warning");
|
||||
tracing::info!(target: "sqlx_application", "retained-unrelated-target");
|
||||
tracing::debug!(target: "opentelemetry-otlp", "dropped-otlp-export");
|
||||
tracing::error!(target: "opentelemetry-http", "dropped-http-export");
|
||||
tracing::trace!(target: "h2::proto::streams", "dropped-http2-trace");
|
||||
tracing::debug!(target: "tonic::transport::channel", "dropped-grpc-transport-debug");
|
||||
tracing::debug!(target: "tower::buffer::worker", "dropped-grpc-buffer-debug");
|
||||
|
||||
@@ -147,7 +147,7 @@ pub struct ThreadMetadata {
|
||||
pub source: String,
|
||||
/// Persisted thread history contract selected when this thread was created.
|
||||
pub history_mode: ThreadHistoryMode,
|
||||
/// Optional analytics source classification for this thread.
|
||||
/// Optional source classification for this thread.
|
||||
pub thread_source: Option<ThreadSource>,
|
||||
/// Optional random unique nickname assigned to an AgentControl-spawned sub-agent.
|
||||
pub agent_nickname: Option<String>,
|
||||
@@ -222,7 +222,7 @@ pub struct ThreadMetadataBuilder {
|
||||
pub source: SessionSource,
|
||||
/// Persisted thread history contract selected when this thread was created.
|
||||
pub history_mode: ThreadHistoryMode,
|
||||
/// Optional analytics source classification for this thread.
|
||||
/// Optional source classification for this thread.
|
||||
pub thread_source: Option<ThreadSource>,
|
||||
/// Optional random unique nickname assigned to the session.
|
||||
pub agent_nickname: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user