java-spring-jaeger
java-spring-jaeger copied to clipboard
Using env variable OPENTRACING_JAEGER_HTTP_SENDER_URL not working
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.
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/