Skip to content
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

Using env variable OPENTRACING_JAEGER_HTTP_SENDER_URL not working #130

Open
satishnaidu opened this issue May 27, 2021 · 1 comment
Open

Comments

@satishnaidu
Copy link

satishnaidu commented May 27, 2021

Hi Team,

I would like to use environment variables to externalize the jaeger configuration properties.

When I use the following config key in the application.properties, everything working fine
opentracing.jaeger.http-sender.url=http://localhost:14268/api/traces

But if I convert the above key to an environment variable like below its not working, OPENTRACING_JAEGER_HTTP_SENDER_URL=http://localhost:14268/api/traces

But if I use the OPENTRACING_JAEGER_SERVICE_NAME environment property, this value was taken properly.

Please let me know how to externalize the Jaeger properties as environmental variables.

@AhHa45
Copy link

AhHa45 commented Jul 21, 2021

check the docs...
"JAEGER_HTTP_SENDER_URL" is the env var you need w/o OPENTRACING_ prefixed

https://www.jaegertracing.io/docs/1.24/client-features/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants