-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
jaeger-endpoint feature for non-agent trace collectors #6884
Conversation
Hi @timmysilv. Thanks for your PR. I'm waiting for a kubernetes 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. 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. |
I spent a bit of time looking into this but I'm pretty sure this call to |
/ok-to-test |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ElvinEfendi, timmysilv 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 |
https://github.com/jaegertracing/jaeger-client-cpp supports both the compact jaeger.thrift format over UDP (meant for local tracing agents) as well as the binary jaeger.thrift format over HTTP, meant for collector deployments. This PR adds support for providing a collector endpoint when no tracing agents are deployed. I'll rebase and update #6872 accordingly (this should probably be merged first, but it doesn't really matter as long as the second one is updated).
What this PR does / why we need it:
Some cluster deployments may not have tracing agents on every host. If your infrastructure only has collectors listening over TCP, ingress-nginx cannot currently export compatible traces. This changes enables TCP endpoint support. As mentioned in the documentation change, when both are provided, this endpoint takes priority (that decision is in the jaeger client, not in ingress-nginx).
Types of changes
Which issue/s this PR fixes
How Has This Been Tested?
I have added e2e and unit test cases to show that tracing is enabled as expected. I also ran this code locally and verified that /etc/nginx/opentracing.json was updated accordingly (and that the collector I have running received traces over TCP as expected).
Checklist: