Adds span tracing to the database.rs file
Depends on D11826
cargo check
I don't think we need it here. It's an inner helper function
review feedback