GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Added OpenTelemetry W3C Trace Context by SomilJain0112 · Pull Request #16168 · knative/serving Conversation
|
|
Welcome @SomilJain0112! It looks like this is your first PR to knative/serving 🎉 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hi @SomilJain0112. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/ok-to-test |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #16168 +/- ## ========================================== - Coverage 80.08% 80.02% -0.07% ========================================== Files 214 215 +1 Lines 16940 13290 -3650 ========================================== - Hits 13566 10635 -2931 + Misses 3015 2295 -720 - Partials 359 360 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| return b3TraceID | ||
| } | ||
|
|
||
| if b3TraceID := h.Get("X-B3-Traceid"); b3TraceID != "" { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Do we need this fallback? I thought Get should look up a canonical version of the key.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| // It supports both W3C Trace Context (traceparent) and B3 (X-B3-TraceId) formats. | ||
| func ExtractTraceID(h http.Header) string { | ||
| if traceparent := h.Get("traceparent"); traceparent != "" { | ||
| parts := strings.Split(traceparent, "-") |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
nit: could use strings.SplitN with N == 3
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
We should also update this test serving/test/e2e/logging_test.go Line 51 in 736b4c4
That was the original reason for the issue |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Somil Jain <[email protected]>
|
Hii @dprotaso , |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/hold for release we'll revist this after we cut 1.20 today |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@SomilJain0112 thanks for the change /lgtm |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/hold cancel |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, SomilJain0112 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
change X-B3-Traceid to OTel
There was an error while loading. Please reload this page.