CQCL / diesel-tracing

Connection telemetry middleware for diesel and tracing
MIT License
17 stars 15 forks source link

Hook into diesel's upcoming instrumentation module #25

Open johnchildren opened 8 months ago

johnchildren commented 8 months ago

https://github.com/diesel-rs/diesel/commits/master/diesel/src/connection/instrumentation.rs

I think using this module rather than wrapping connections could be a lot nicer, it will be a big breaking API change for this crate however.

lsunsi commented 6 months ago

I second this and I'm one anxious about this new diesel feature! It'd be fun to see what it'd look like for this crate.

johnchildren commented 1 month ago

I've added a very barebones implementation here: https://github.com/CQCL/diesel-tracing/pull/37

A few more things I want to do before I merge and release it though I think, which I've detailed in the description.