Skip to content

Commit

Permalink
Update query-engine/query-engine-c-abi/src/engine.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Orlenko <[email protected]>
  • Loading branch information
SevInf and aqrln authored Apr 12, 2024
1 parent facdb56 commit 9e61f64
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions query-engine/query-engine-c-abi/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,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 {
Expand Down

0 comments on commit 9e61f64

Please sign in to comment.