pub fn query_span(query: &str) -> SpanExpand description
Span wrapping a single execute_query call. Stamps the current
connection id, transaction xid (0 when autocommit), tenant, and
authenticated user so every downstream event (filter eval, scan,
CDC emit, error) inherits correlation context.
Keep the string cheap — we only store the length, not the query body, to avoid PII leakage into logs.