From 3459c6ce6c24a05a7a4dfff8a6e442b266e1df2f Mon Sep 17 00:00:00 2001 From: Alexey Orlenko Date: Fri, 15 Nov 2024 12:31:41 +0100 Subject: [PATCH] Revert "fix: temporarily rename `prisma:engine:query` back to `prisma:engine` (#5038)" This reverts commit 605197351a3c8bdd595af2d2a9bc3025bca48ea2. Closes: https://github.com/prisma/team-orm/issues/1379 --- query-engine/query-engine-c-abi/src/engine.rs | 2 +- query-engine/query-engine-node-api/src/engine.rs | 2 +- query-engine/query-engine-wasm/src/wasm/engine.rs | 2 +- query-engine/query-engine/src/server/mod.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/query-engine/query-engine-c-abi/src/engine.rs b/query-engine/query-engine-c-abi/src/engine.rs index 2c2b1729754..e0dff1ca1da 100644 --- a/query-engine/query-engine-c-abi/src/engine.rs +++ b/query-engine/query-engine-c-abi/src/engine.rs @@ -296,7 +296,7 @@ impl QueryEngine { let query = RequestBody::try_from_str(&body, engine.engine_protocol())?; - let span = tracing::info_span!("prisma:engine", user_facing = true); + let span = tracing::info_span!("prisma:engine:query", user_facing = true); let parent_context = telemetry::helpers::restore_remote_context_from_json_str(&trace); let traceparent = TraceParent::from_remote_context(&parent_context); span.set_parent(parent_context); diff --git a/query-engine/query-engine-node-api/src/engine.rs b/query-engine/query-engine-node-api/src/engine.rs index 5f21245e4d9..7e9515e4d22 100644 --- a/query-engine/query-engine-node-api/src/engine.rs +++ b/query-engine/query-engine-node-api/src/engine.rs @@ -313,7 +313,7 @@ impl QueryEngine { let query = RequestBody::try_from_str(&body, engine.engine_protocol())?; - let span = tracing::info_span!("prisma:engine", user_facing = true); + let span = tracing::info_span!("prisma:engine:query", user_facing = true); let parent_context = telemetry::helpers::restore_remote_context_from_json_str(&trace); let traceparent = TraceParent::from_remote_context(&parent_context); span.set_parent(parent_context); diff --git a/query-engine/query-engine-wasm/src/wasm/engine.rs b/query-engine/query-engine-wasm/src/wasm/engine.rs index 6334aa74d5d..837160e1bb0 100644 --- a/query-engine/query-engine-wasm/src/wasm/engine.rs +++ b/query-engine/query-engine-wasm/src/wasm/engine.rs @@ -193,7 +193,7 @@ impl QueryEngine { let query = RequestBody::try_from_str(&body, engine.engine_protocol())?; async move { - let span = tracing::info_span!("prisma:engine", user_facing = true); + let span = tracing::info_span!("prisma:engine:query", user_facing = true); let parent_context = telemetry::helpers::restore_remote_context_from_json_str(&trace); let traceparent = TraceParent::from_remote_context(&parent_context); span.set_parent(parent_context); diff --git a/query-engine/query-engine/src/server/mod.rs b/query-engine/query-engine/src/server/mod.rs index 699d4d78d11..e3950996233 100644 --- a/query-engine/query-engine/src/server/mod.rs +++ b/query-engine/query-engine/src/server/mod.rs @@ -113,7 +113,7 @@ async fn request_handler(cx: Arc, req: Request) -> Result