pub fn create_query_span(query_id: &str, query_text: &str) -> SpanExpand description
Create a tracing span for query execution.
Automatically enters a span and returns it for use with .in_scope().
ยงExample
use fraiseql_core::runtime::query_tracing::create_query_span;
let span = create_query_span("query_123", "{ user { id } }");
let _enter = span.enter();
// Tracing will be recorded within this scope