-
Notifications
You must be signed in to change notification settings - Fork 3.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
Could not load jaeger tracer configuration #480
Comments
Possibly it is, but I don't get why it is happening only on loki pods. |
I don't see any env vars in the helm chart did you add this one yourself ? JAEGER_AGENT_PORT=udp://100.67.30.30:5775 Reading Loki main.go you need |
Nope, this is my settings for loki.
Where did you find that main.go file, please? |
@voslartomas hi, please try refer to this PR setting, wait for your feedback. |
@daixiang0 Hello, thanks for PR. Not sure how to test it out while using terraform, because grafana has this chart URL https://grafana.github.io/loki/charts, any way to use your branch in this way? |
@voslartomas You can checkout @daixiang0's branch and run |
This is not a problem of this chart, it is actually dependency https://github.com/jaegertracing/jaeger-client-go that fails: If you install jaeger chart with name jaeger, environment variable JAEGER_AGENT_PORT will be automatically created by Kubernetes (as string) and jaeger-client-go expects integer (just the port number, not url) under the same name so it is going to fail. The easiest way to fix the problem would be to install jaeger under some different name, for example: helm install incubator/jaeger --name jaeger-tracing |
@acim I did not use the jaeger helm chart but I face the same problem:
I do not specify the environment variable
Can you explain why Kubernetes would automatically set the |
Try to change the name of the service from jaeger to something else, let's say jaeger-tracing. You should probably change deployment name as well. And here is about Kubernetes variables: https://kubernetes.io/docs/concepts/containers/container-environment-variables/ You may also want to check this: |
@acim Wow I did not know this. In my case I had a service called
Thanks a lot. |
This is a somewhat poor workaround -- is there a way to simply tell Loki's prometheus not to look at JAEGER_AGENT_PORT ? |
Describe the bug
Installed loki-stack, everything seems fine, but if we install jaeger afterwards and restart loki pod, it will say: cannot parse env var JAEGER_AGENT_PORT=udp://100.67.30.30:5775
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect to be able to run loki and jaeger alongside each other.
Environment:
Screenshots, promtail config, or terminal output
The text was updated successfully, but these errors were encountered: