-
Notifications
You must be signed in to change notification settings - Fork 226
fix: httpx instrumentation trace context propagation #1456
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
Conversation
d70801e to
c60c8af
Compare
kaylareopelle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for these updates, @HoneyryderChuck! It looks like Rubocop wants documentation for a few of the modules:
lib/opentelemetry/instrumentation/httpx/plugin.rb:104:9: C: Style/Documentation: Missing top-level documentation comment for module OpenTelemetry::Instrumentation::HTTPX::Plugin::RequestMethods.
module RequestMethods
^^^^^^^^^^^^^^^^^^^^^
lib/opentelemetry/instrumentation/httpx/plugin.rb:112:9: C: Style/Documentation: Missing top-level documentation comment for module OpenTelemetry::Instrumentation::HTTPX::Plugin::ConnectionMethods.
module ConnectionMethods
^^^^^^^^^^^^^^^^^^^^^^^^
instrumentation/httpx/lib/opentelemetry/instrumentation/httpx/version.rb
Outdated
Show resolved
Hide resolved
c60c8af to
d0daeab
Compare
|
@kaylareopelle added missing docs. |
instrumentation/httpx/lib/opentelemetry/instrumentation/httpx/plugin.rb
Outdated
Show resolved
Hide resolved
kaylareopelle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
|
Hi @HoneyryderChuck, I'm not able to merge this PR at the moment because it hangs on Do you have the ability to update your branch to sync with |
|
@HoneyryderChuck I seem to be having trouble syncing your branch with main. Would you mind rebasing? |
bb666ec to
18bf33f
Compare
|
rebased |
fixes the trace context propagation
18bf33f to
c401864
Compare
…1456) * fix: Follow latest datadog plugin fixes the trace context propagation * chore: do not test anymore against httpx 0.x * chore: correct error description --------- Co-authored-by: Oliver Morgan <[email protected]> Co-authored-by: Ariel Valentin <[email protected]>
…1456) * fix: Follow latest datadog plugin fixes the trace context propagation * chore: do not test anymore against httpx 0.x * chore: correct error description --------- Co-authored-by: Oliver Morgan <[email protected]> Co-authored-by: Ariel Valentin <[email protected]>

This PR should supersede #1404 . It fixes distributed tracing propagation (the aim of the original MR). It also drops support for httpx < 1.x; it may still work with it, but the
webmockintegration with it is no longer made possible.