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

Create basic othttp.Transport for simple client instrumentation #678

Merged
merged 4 commits into from
Apr 29, 2020

Conversation

Aneurysm9
Copy link
Member

This provides a basic http.RoundTripper wrapper that starts a Span, propagates its context via the outbound request headers, and ends it when the response body has been consumed or closed.

Fixes #637.

plugin/othttp/common.go Show resolved Hide resolved
plugin/othttp/config.go Outdated Show resolved Hide resolved
plugin/othttp/transport_test.go Show resolved Hide resolved
plugin/othttp/transport.go Outdated Show resolved Hide resolved
@jmacd
Copy link
Contributor

jmacd commented Apr 29, 2020

Thanks @Aneurysm9

@jmacd jmacd merged commit 973b386 into open-telemetry:master Apr 29, 2020
@Aneurysm9 Aneurysm9 deleted the http_transport branch April 29, 2020 21:56
@pellared pellared added this to the untracked milestone Nov 8, 2024
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