lquerel / gcp-bigquery-client

GCP BigQuery Client (Rust)
Apache License 2.0
97 stars 64 forks source link

Support profiling queries via tracing #32

Closed iskakaushik closed 2 years ago

iskakaushik commented 2 years ago

Adding support for tracing via https://docs.rs/tracing/latest/tracing/ would be useful. Given that most of the requests are going through reqwest, seems like https://github.com/TrueLayer/reqwest-middleware might be a good candidate.

Let me know if this is something that you think will be generally useful and I'm happy to submit a PR for this. This can be behind a cargo feature, maybe profile, that way it can be enabled only when profiling.

Thanks for the awesome crate.

iskakaushik commented 2 years ago

moved to discussions https://github.com/lquerel/gcp-bigquery-client/discussions/33