Skip to content

Commit

Permalink
Export all traces happening in the request, not only quaint ones
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Dec 16, 2022
1 parent 83fa9b0 commit 3e1a99d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions query-engine/query-engine/src/capture_tracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ impl TraceCapturer {
#[async_trait]
impl SpanExporter for TraceCapturer {
async fn export(&mut self, batch: Vec<SpanData>) -> 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();
Expand Down

0 comments on commit 3e1a99d

Please sign in to comment.