-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
OpenTelemetry support #7621
OpenTelemetry support #7621
Conversation
Welcome @dmathieu! |
Hi @dmathieu. 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. |
wow! Thanks |
A question, from someone that does not know how OT works properly: If we add OT support, can we remove all the jaeger and opentracing and have just one additional library? Thanks for the PR! |
Yes. Opentracing is deprecated anyway. |
Amazing news. This should simplify some things A LOT! :) |
While this is still pending to merge, how can I do to manually deploy this in my Kubernetes cluster? |
You can't. This is still WIP. We should have the CPP plugin installed in the base image, but there are what seems to be timeouts preventing the image from being built/pushed. |
Is it still blocked due to the base image? |
Yes. This hasn't moved forward yet. |
buf.WriteString("opentelemetry_config /etc/nginx/opentelemetry.toml;\r\n") | ||
|
||
if cfg.OpenTelemetryOperationName != "" { | ||
buf.WriteString(fmt.Sprintf("opentelemetry_operation_name \"%s\";\n", cfg.OpenTelemetryOperationName)) |
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 first line uses \r\n
but the second line uses \n
. Should one be changed to match the other?
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.
Fixed, though the PR is still a draft and I'm trying to avoid a big bang PR. I am therefore opening several smaller ones, and this one probably shouldn't be reviewed so carefully (yet).
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.
I am therefore opening several smaller ones, and this one probably shouldn't be reviewed so carefully (yet).
That's a great idea!
Co-authored-by: Marshall Jones <[email protected]>
Co-authored-by: Marshall Jones <[email protected]>
Co-authored-by: Remy Suen <[email protected]>
Co-authored-by: Remy Suen <[email protected]>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dmathieu The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@dmathieu: PR needs rebase. 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. |
@dmathieu, are you looking for help on this PR? |
I have fallen a bit behind on what was happening with this work. And it seems other folks are more up to date than me. If somebody wants to take over, I would be happy with that. |
@rikatz: Closed this PR. 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. |
@rikatz do you have a link to the work that this was closed in favor of? |
@mjallday, I think you are looking for https://github.com/kubernetes/ingress-nginx/pulls/esigo |
What this PR does / why we need it:
This PR adds support for OpenTelemetry (using the official plugin), to send request traces to any otel collector.
This is still a draft, but I'm opening a PR anyway to start getting potential feedback.
The missing things are testing, as well as open-telemetry/opentelemetry-cpp-contrib#52 to avoid using my own fork.
Types of changes
Which issue/s this PR fixes
This has been proposed in #5883
How Has This Been Tested?
This is being tested through the E2E tests. Before moving this out of draft, I will be running it in a test cluster as well.
Checklist: