pub fn record_database_span(
name: &str,
statement: &str,
db_system: Option<&str>,
started_at: SystemTime,
duration_ms: f64,
)Expand description
record_span for a query you timed yourself, carrying its SQL as database_span does.