-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for HTTPX instrumentation #461
Merged
lzchen
merged 23 commits into
open-telemetry:main
from
jomasti:feature/httpx-instrumentation
Jun 8, 2021
Merged
Add support for HTTPX instrumentation #461
lzchen
merged 23 commits into
open-telemetry:main
from
jomasti:feature/httpx-instrumentation
Jun 8, 2021
Commits on Jun 1, 2021
-
Add support for HTTPX instrumentation
This builds off of the initial idea in [this issue][1] of using the transport API in `httpx`. This allows for using [custom transports][2]. One issue with this current implementation is that there are few more [changes coming][3] in 0.18.0 that this will probably want to use. So maybe it will make sense to finalize this on that version before releasing it. Want to get some eyes on this sooner. Resolves #263 [1]: encode/httpx#1264 (comment) [2]: https://www.python-httpx.org/advanced/#custom-transports [3]: encode/httpx#1522
Configuration menu - View commit details
-
Copy full SHA for 539b46b - Browse repository at this point
Copy the full SHA 539b46bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93c0f2f - Browse repository at this point
Copy the full SHA 93c0f2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c00450e - Browse repository at this point
Copy the full SHA c00450eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff314c1 - Browse repository at this point
Copy the full SHA ff314c1View commit details -
This is to avoid calling `get_tracer` every time.
Configuration menu - View commit details
-
Copy full SHA for 650bfb7 - Browse repository at this point
Copy the full SHA 650bfb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ff4cee - Browse repository at this point
Copy the full SHA 8ff4ceeView commit details -
Use httpx Request and Response classes
Simplifies the usage of request/response hooks for consumers with expected objects
Configuration menu - View commit details
-
Copy full SHA for 0eac3d0 - Browse repository at this point
Copy the full SHA 0eac3d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d18be7 - Browse repository at this point
Copy the full SHA 7d18be7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 603ad00 - Browse repository at this point
Copy the full SHA 603ad00View commit details -
Wrap client
send
instead of__init__
Allows for instrumenting and uninstrumenting existing client instances
Configuration menu - View commit details
-
Copy full SHA for 3d83fb5 - Browse repository at this point
Copy the full SHA 3d83fb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e51f1c - Browse repository at this point
Copy the full SHA 3e51f1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19fc979 - Browse repository at this point
Copy the full SHA 19fc979View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a6caed - Browse repository at this point
Copy the full SHA 9a6caedView commit details -
Configuration menu - View commit details
-
Copy full SHA for f27dd97 - Browse repository at this point
Copy the full SHA f27dd97View commit details -
Update request and response hooks
Back to only providing the raw arguments and return values instead of using httpx Request and Response objects to avoid any additional overhead or unexpected side effects.
Configuration menu - View commit details
-
Copy full SHA for 50843a4 - Browse repository at this point
Copy the full SHA 50843a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5547d1f - Browse repository at this point
Copy the full SHA 5547d1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9761617 - Browse repository at this point
Copy the full SHA 9761617View commit details -
Configuration menu - View commit details
-
Copy full SHA for 940097c - Browse repository at this point
Copy the full SHA 940097cView commit details
Commits on Jun 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8427e31 - Browse repository at this point
Copy the full SHA 8427e31View commit details -
Configuration menu - View commit details
-
Copy full SHA for d23e247 - Browse repository at this point
Copy the full SHA d23e247View commit details
Commits on Jun 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4ec1fc4 - Browse repository at this point
Copy the full SHA 4ec1fc4View commit details
Commits on Jun 7, 2021
-
Merge branch 'main' into feature/httpx-instrumentation
alrex committedJun 7, 2021 Configuration menu - View commit details
-
Copy full SHA for dcf9ada - Browse repository at this point
Copy the full SHA dcf9adaView commit details
Commits on Jun 8, 2021
-
- Move changelog entry - Fix license copyright - Add Python 3.9 classifier
Configuration menu - View commit details
-
Copy full SHA for c8d0805 - Browse repository at this point
Copy the full SHA c8d0805View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.