Skip to content

Conversation

@HoneyryderChuck
Copy link
Contributor

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 webmock integration with it is no longer made possible.

@HoneyryderChuck HoneyryderChuck changed the title Fix httpx instrumentation fix: httpx instrumentation trace context propagation Mar 26, 2025
Copy link
Contributor

@kaylareopelle kaylareopelle left a 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
        ^^^^^^^^^^^^^^^^^^^^^^^^

ci link

@HoneyryderChuck
Copy link
Contributor Author

@kaylareopelle added missing docs.

Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kaylareopelle
Copy link
Contributor

Hi @HoneyryderChuck, I'm not able to merge this PR at the moment because it hangs on Checking for the ability to merge automatically...
Screenshot 2025-04-21 at 12 09 38 PM

Do you have the ability to update your branch to sync with main?

@arielvalentin
Copy link
Contributor

@HoneyryderChuck I seem to be having trouble syncing your branch with main. Would you mind rebasing?

@HoneyryderChuck
Copy link
Contributor Author

rebased

@arielvalentin arielvalentin enabled auto-merge (squash) April 26, 2025 01:29
@arielvalentin arielvalentin merged commit fed9a0f into open-telemetry:main Apr 26, 2025
61 checks passed
@HoneyryderChuck HoneyryderChuck deleted the pr-1404-3 branch April 26, 2025 02:19
yiyuan-he pushed a commit to yiyuan-he/opentelemetry-ruby-contrib that referenced this pull request Apr 30, 2025
…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]>
yiyuan-he pushed a commit to yiyuan-he/opentelemetry-ruby-contrib that referenced this pull request May 14, 2025
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants