Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
httpx: rewrite patching to use wrapt instead of subclassing client (o…
…pen-telemetry#2909) httpx: rewrote patching to use wrapt instead of subclassing client Porting of httpx instrumentation to patch async transport methods instead of substituting the client. That is because the current approach will instrument httpx by instantianting another client with a custom transport class and this will race with code already subclassing. This one uses wrapt to patch the default httpx transport classes. --------- Co-authored-by: Emídio Neto <[email protected]>
- Loading branch information