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

Add Passthrough example #1912

Merged
merged 5 commits into from
May 18, 2021
Merged

Add Passthrough example #1912

merged 5 commits into from
May 18, 2021

Conversation

dashpole
Copy link
Contributor

Fixes #1908

I'd love to be able to use otelhttp to do this demo, but I don't think we should reference instrumentation from examples here. Instead, i've added a "poor man's" version of otelhttp.

Copy link
Member

@Aneurysm9 Aneurysm9 left a comment

Choose a reason for hiding this comment

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

example/passthrough/passthrough should be added to .gitignore and the history of this PR rewritten to scrub it from memory!

CHANGELOG.md Outdated Show resolved Hide resolved
example/passthrough/README.md Outdated Show resolved Hide resolved
example/passthrough/handler/handler.go Outdated Show resolved Hide resolved
@dashpole dashpole force-pushed the passthrough branch 2 times, most recently from 9a2c429 to 3041b0b Compare May 13, 2021 13:07
@dashpole
Copy link
Contributor Author

example/passthrough/passthrough should be added to .gitignore and the history of this PR rewritten to scrub it from memory!

Done

example/passthrough/handler/handler.go Outdated Show resolved Hide resolved
example/passthrough/README.md Outdated Show resolved Hide resolved
@MrAlias MrAlias added the documentation Provides helpful information label May 13, 2021
Copy link
Member

@pellared pellared left a comment

Choose a reason for hiding this comment

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

only nit comments

example/passthrough/handler/handler.go Outdated Show resolved Hide resolved
example/passthrough/README.md Outdated Show resolved Hide resolved
example/passthrough/README.md Outdated Show resolved Hide resolved
@MrAlias MrAlias closed this May 18, 2021
@MrAlias MrAlias reopened this May 18, 2021
@MrAlias MrAlias merged commit d3b1280 into open-telemetry:main May 18, 2021
@Aneurysm9 Aneurysm9 mentioned this pull request Jun 17, 2021
@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
documentation Provides helpful information
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document the "Passthrough" use-case
4 participants