Skip to content
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

Ensure net http client code also works with the RoundTripper interface #529

Merged
merged 8 commits into from
Dec 4, 2023

Conversation

grcevski
Copy link
Contributor

@grcevski grcevski commented Dec 1, 2023

With this PR I'm adding support for tracking HTTP client requests which use the RoundTripper interface. The client.Do probe will not catch these events, but there's a lower level rountrip method on Transport, which handles all HTTP client calls.

I'm also adding a new integration test which covers the now fixed issue for duplicate server requests and missing response codes (for #472), as well as this RoundTripper client call.

@grcevski grcevski requested a review from a team as a code owner December 1, 2023 21:03
Copy link

linux-foundation-easycla bot commented Dec 1, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

internal/pkg/instrumentation/bpf/net/http/client/probe.go Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
@grcevski
Copy link
Contributor Author

grcevski commented Dec 2, 2023

Thanks @RonFed, I made the requested changes and fixed up the lint issues.

@grcevski grcevski requested a review from RonFed December 2, 2023 21:00
CHANGELOG.md Outdated Show resolved Hide resolved
@MikeGoldsmith MikeGoldsmith merged commit dd90376 into open-telemetry:main Dec 4, 2023
15 checks passed
@MrAlias MrAlias added this to the v0.9.0-alpha milestone Dec 12, 2023
@MrAlias MrAlias mentioned this pull request Dec 12, 2023
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.

None yet

5 participants