From 3e1a99d73a1323540734ba8888d77385d7d735ed Mon Sep 17 00:00:00 2001 From: Miguel Fernandez Date: Fri, 16 Dec 2022 13:18:54 +0100 Subject: [PATCH] Export all traces happening in the request, not only quaint ones --- query-engine/query-engine/src/capture_tracer.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/query-engine/query-engine/src/capture_tracer.rs b/query-engine/query-engine/src/capture_tracer.rs index 40fd6914350e..4ee582f32d96 100644 --- a/query-engine/query-engine/src/capture_tracer.rs +++ b/query-engine/query-engine/src/capture_tracer.rs @@ -125,9 +125,6 @@ impl TraceCapturer { #[async_trait] impl SpanExporter for TraceCapturer { async fn export(&mut self, batch: Vec) -> ExportResult { - // we are only exporting logs in here - let batch = batch.into_iter().filter(|span| span.name == "quaint:query"); - let mut traces = self.traces.lock().await; for span in batch { let trace_id = span.span_context.trace_id();