Closed jgoeres closed 4 years ago
Actually, the issue https://github.com/opentracing-contrib/java-specialagent/issues/589 only affects Java 9 or later, but I tried to keep versions consistent across our stack (and most services are Java 11 or later). After switching this microservice (which is still running on Java 8) to specialagent 1.7.4, it seems to work - I can see traces in Jaeger, but interestingly the log still shows
<<<<<<<<<<<<<<<<<<<< Loading Tracer Plugin >>>>>>>>>>>>>>>>>>>>>
Tracer was not specified with "sa.tracer" system property
I am trying to get started with tracing and I am focusing on a springboot-based microservice for now.
After I ran into https://github.com/opentracing-contrib/java-specialagent/issues/589 I downgraded to version 1.6.1 of the specialagent and tried to get it running. I first overlooked that where 1.7.x requires the tracer to use to be configured with
1.6.x requires
I am setting the latter system property, but still the log gives me:
This is my commandline (slightly obfuscated):
As you can see, I just set both the old and the new system property to select the tracer to use. Further, I decided to disable all integrations and only selectively enable those that I need to keep startup overhead small - I hope that it works like that. This is running on Azul OpenJDK in an Alpine Linux container:
Any idea what I am missing here?
THX
J