-
Notifications
You must be signed in to change notification settings - Fork 600
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
E2E Tracing test - Strong trace assertions #1972
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Harwayne The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold I am monkey patching vendored code, I need to do that properly before submission. |
@@ -261,6 +261,11 @@ func startSpanInternal(name string, hasParent bool, parent SpanContext, remotePa | ||
return span | ||
} | ||
|
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.
Remove trailing whitespace:
The following is the coverage report on pkg/.
|
/hold cancel |
--- a/vendor/go.opencensus.io/trace/trace.go | ||
+++ b/vendor/go.opencensus.io/trace/trace.go | ||
@@ -261,6 +261,11 @@ func startSpanInternal(name string, hasParent bool, parent SpanContext, remotePa | ||
return span |
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.
is that until some update?
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.
Nope. I just couldn't find a better way to do it. There probably is one, but I wasn't able to find it.
In theory, we will move to some OpenTelemetry libraries when they go 1.0, at which point I hope we don't need a similar hack :)
@@ -33,3 +33,9 @@ rm -rf $(find vendor/ -name 'BUILD.bazel') | |||
update_licenses third_party/VENDOR-LICENSE \ | |||
$(find . -name "*.go" | grep -v vendor | xargs grep "package main" | cut -d: -f1 | xargs -n1 dirname | uniq) | |||
|
|||
# HACK HACK HACK |
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.
:-)
"go.uber.org/zap" | ||
"knative.dev/eventing/pkg/broker" | ||
"knative.dev/eventing/pkg/tracing" |
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.
pkgtracing ? (to be consistent)
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.
nevermind :-)
I see eventing (I feel eventingtracing
is odd)
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.
/resolved
/lgtm |
Helps with #1765
Fixes #1951
Proposed Changes
TestChannelTracingWIthReply
E2E test.Release Note