-
Couldn't load subscription status.
- Fork 41.6k
Description
With spring boot 2.x below mentioned dependency is required for Sleuth to send spans to Zipkin or a Zipkin compliant tracing distribution system.
implementation 'org.springframework.cloud:spring-cloud-sleuth-zipkin'
But with spring boot 3.x this ZipkinAutoConfiguration is deafult present in org.springframework.boot.actuate.autoconfigure and gets enabled when
management.tracing.enabled = trueSo MS start sending the spans.
In our case we rely on istio for this task and our micro-services are not supposed to send any data to zipkin server.
But with upgrade to springboot 3 this feature gets enabled as default and we get an error in our logs stating unabled to connect with zipkin server as we have not configure our MS to do this task.
I check there is no property to control the enablement of this behaviour.
So is there any plan to provide any properties like below to control this behavior.
management.tracing.zipkin.enabled = true/falseAnd as a workaround should we write noopZipkinSpanHandler ?