I would like to do the same in Prisma Client Rust, I'm currently passing a generic Future that returns prisma result like this, so I could not get anything but .await
I would like to know if I can get query string, query method, operation, model name, crate version, as well as database name and database username or other tracing information from Prisma Client Rust, it would be great if someone could suggest me a better way to implement this function, like actix-web-opentelemetry crate which adds .trace_request() function to actix web client, thanks.
in Prisma Client Go, i'm able to do this
and call something like
to achieve this tracing result:![image](https://github.com/Brendonovich/prisma-client-rust/assets/29559559/8b252084-f40a-47ca-b948-5057e672c891)
I would like to do the same in Prisma Client Rust, I'm currently passing a generic Future that returns prisma result like this, so I could not get anything but
.await
and call
I would like to know if I can get query string, query method, operation, model name, crate version, as well as database name and database username or other tracing information from Prisma Client Rust, it would be great if someone could suggest me a better way to implement this function, like actix-web-opentelemetry crate which adds
.trace_request()
function to actix web client, thanks.