-
Notifications
You must be signed in to change notification settings - Fork 544
Add baggage header support to http binding #3723
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
Conversation
Signed-off-by: Cassandra Coyle <[email protected]>
| } | ||
| if baggage, ok := req.Metadata[BaggageHeaderKey]; ok && baggage != "" { | ||
| if _, ok := request.Header[http.CanonicalHeaderKey(BaggageHeaderKey)]; ok { | ||
| h.logger.Warn("Tracing is enabled. A custom Baggage request header cannot be specified and is ignored.") |
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.
Should this not break out of the outer if?
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.
The current implementation aligns with how traceparent and tracestate headers work (if you look above).
Signed-off-by: Cassandra Coyle <[email protected]>
Signed-off-by: Cassandra Coyle <[email protected]>
Signed-off-by: Cassandra Coyle <[email protected]>
Signed-off-by: Cassandra Coyle <[email protected]>
Signed-off-by: Cassandra Coyle <[email protected]>
Signed-off-by: Cassandra Coyle <[email protected]>
|
@holopin-bot @cicoyle Thank you! Here's a digital badge as a small token of appreciation. |
|
Congratulations @cicoyle, the maintainer of this repository has issued you a badge! Here it is: https://holopin.io/claim/cmbs0eq4p161707l9ialzyagh This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. |
Part of the solution for this issue