-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
How to instrument NGINX with OpenTelemetry #11367
Comments
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The 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-sigs/prow repository. |
/remove-kind feature From the issue description you have provided, its not certain if you reported this issue in the context that is related to this ingress-nginx controller. You wrote that you tried https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/opentelemetry/ so you will deep dive into those specifics as copy/paste data that shows that this documented link is broken. Your description of creating a dockerfile and and a image from that dockerfile is not related to this project (1) So first please look at the new bug report template and answer those questions from the template by editing the issue description here. (2) Secondly deep dive into this document https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/opentelemetry/ and copy/paste all the information like configuration, state, logs, screenshots and describe your actions done to troubleshoot. That will give info to a reader here as to what is wrong with this project's code and releases. Once you have done the above, please re-open this issue. Normally many issues stay open without any actionable item in them and they are piling up here so harder to track of real actionable issues. I will close this issue for now so you can re-open after the required info is added. /triage needs-information |
@longwuyuan: Closing this issue. 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-sigs/prow repository. |
Want to enable the OpenTelemetry in ingress-nginx
How to instrument NGINX with OpenTelemetry
I followed the documentation (https://opentelemetry.io/blog/2022/instrument-nginx/) to integrate Jaeger tracing with Kubernetes ingress-nginx, but I'm encountering an error. Could you please help me resolve it?
Error
Steps as below
Install the module for NGINX
Start from an empty directory. Create a file called Dockerfile and copy the following content into it:
Next, create another file called opentelemetry_module.conf and copy the following content into it:
With the Dockerfile and NGINX config in place, build your docker image
and run the container using docker-compose up:
docker-compose up, nginx log as below
Additional Information
I have tried the multiple options as well such as https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/opentelemetry/
How to set up OpenTelemetry module
also tried https://docs.nginx.com/nginx/admin-guide/dynamic-modules/opentelemetry/
Expectation: Trace should be start from Nginx span.
The text was updated successfully, but these errors were encountered: