-
Notifications
You must be signed in to change notification settings - Fork 35
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
Support -H, -B, --jaeger for headers and baggage #121
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
8dab554
Add support for -H, -B, --jaeger headers, baggage, and jaeger
kriskowal d575f11
Clarify changelog
kriskowal 84cc0de
Thread tracer through transports
kriskowal 6226778
Make explicit tracer required to construct a transport
kriskowal d6d5515
Factor out getTracer
kriskowal 8336d81
Separate routing work
kriskowal 466559e
Threaded tracer through http
kriskowal e927a7c
Add integration test for baggage and headers over TChannel
kriskowal 4598a67
Typo fix
kriskowal 843a936
Reenable trace enabled tests
kriskowal 9f9245f
Fix import grouping
kriskowal 9b85a05
Use light options pattern for newServer test helper
kriskowal 8b3169b
Use light options pattern for newServer test helper
kriskowal 34b480b
Nits
kriskowal a11503b
Add tests for overridden headers
kriskowal 7cea315
Explain the shallow copy of the request object in tchannel
kriskowal d2515f2
Address nits
kriskowal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
Address nits
- Loading branch information
commit d2515f2f969b087d2bcb7f077e0e52e5deff312c
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
nit: can we instead have a single
veriyHeaders(headers map[string]string) error
method, and pass in thectx.Headers()
orreqMeta.Headers()
? That way we can avoid the duplication hereThere 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.
YARPC does not expose Headers().Items().
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.
Ahh, I forgot that yarpc headers are not an actual map, this is fine then.