-
Notifications
You must be signed in to change notification settings - Fork 38
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
Export traces for eventshub in failed tests #368
Export traces for eventshub in failed tests #368
Conversation
@mgencur: The label(s) In response to this:
Instructions 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/test-infra repository. |
0ac74d3
to
b4d723b
Compare
b4d723b
to
1a6d3cd
Compare
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.
Thanks!
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mgencur, pierDipi 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 |
It is stuck at
we need something like this for this repository as well: knative/test-infra#3463 |
This PR knative-extensions/reconciler-test#368 is stuck for downstream tests
This PR knative-extensions/reconciler-test#368 is stuck for downstream tests
Changes
tracing.WithGatherer(t)
that can be registered with the Environment when traces are supposed to be gatheredenv.Finish()
phase of the Environment.Example log from a failed test that shows gathering the traces:
This feature requires knative/pkg#2475 to be implemented because the eventshub sender Pod is shutdown immediately after the last event is sent. It means some traces might not be exported to Zipkin in time. The workaround for now is to send at least 2 events with a couple of seconds delay and adjust the test to count with extra events. I have a solution for this issue locally and will be sending a PR to knative/pkg shortly.
/kind enhancement
Fixes #367
Release Note
Docs