Closed gerloh closed 4 years ago
Hi,
Would you like to send a PR with your suggestion?
Isn't it better to just disable the Jager or opentracing-spring-cloud artifacts in spring configuration?
IIRC if the jaeger is disabled the noop tracer might be used by default. I am not sure though.
Isn't it better to just disable the Jager or opentracing-spring-cloud artifacts in spring configuration?
IIRC if the jaeger is disabled the noop tracer might be used by default. I am not sure though.
Probably, but readme suggested that's not a solution ?
https://github.com/opentracing-contrib/java-spring-jaeger#completely-disable-tracing
PR merged
The suggested implementation for disabeling in the readme uses a
ConstSampler
and aInMemoryReporter
. This is still tracing but not sampling (sending) the traces. Why notNoopTracerImpl
by opentracing instead ? Also theInMemoryReporter
has a memory leak ? It is only gathering spans in an arraylist, never releases them ... https://github.com/opentracing-contrib/java-spring-jaeger#completely-disable-tracing