java-spring-jaeger icon indicating copy to clipboard operation
java-spring-jaeger copied to clipboard

Using env variable OPENTRACING_JAEGER_HTTP_SENDER_URL not working

Open satishnaidu opened this issue 3 years ago • 1 comments

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.

satishnaidu avatar May 27 '21 08:05 satishnaidu

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/

AhHa45 avatar Jul 21 '21 08:07 AhHa45