mbrobbel commented on issue #2804:
URL: https://github.com/apache/arrow-adbc/issues/2804#issuecomment-2866565283
For the non-async trait we can probably just provide wrappers for the core
traits in the `adbc_core` that add tracing?
For example:
```rust
struct TracedConnection<C: adbc_core::Connection>{
inner: C,
...
}
impl adbc_core::Connection for TracedConnection {
#[tracing::instrument(...)]
fn commit(&mut self) -> Result<()> {
self.inner.commit()
}
...
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]