pub async fn instrumented_query<F, T, E>(
operation: &str,
table: Option<&str>,
f: F,
) -> Result<T, E>Expand description
Execute a database operation with tracing instrumentation. This creates a span and records the duration as a metric.