diff --git a/query-engine/query-engine-node-api/src/engine.rs b/query-engine/query-engine-node-api/src/engine.rs index 23782af1776a..2cb7a8dbb406 100644 --- a/query-engine/query-engine-node-api/src/engine.rs +++ b/query-engine/query-engine-node-api/src/engine.rs @@ -20,7 +20,7 @@ use std::{ sync::Arc, }; use tokio::sync::RwLock; -use tracing::{field, instrument::WithSubscriber, Instrument, Span}; +use tracing::{field, instrument::WithSubscriber, Instrument}; use tracing_subscriber::filter::LevelFilter; use user_facing_errors::Error; @@ -385,12 +385,7 @@ impl QueryEngine { let query = RequestBody::try_from_str(&body, engine.engine_protocol())?; - let span = if tx_id.is_none() { - tracing::info_span!("prisma:engine", user_facing = true) - } else { - Span::none() - }; - + let span = tracing::info_span!("prisma:engine", user_facing = true); let trace_id = telemetry::helpers::set_parent_context_from_json_str(&span, &trace); async move {