0

Starting with Spring-boot 3.0.4, support for distributed tracing has been migrated to Spring-boot from spring-cloud-sleuth. I have created a spring-boot micro-service that is supposed to post the traces to Zipkin. By default, spring-boot uses http://localhost:9411 as the Zipkin endpoint URL.I want to change it using spring-boot properties (and not JVM arguments). I have tried adding properties like otel.exporter.otlp.traces.endpoint,spring.otel.exporter.zipkin.endpoint,otel.exporter.zipkin.endpoint,spring.otel.exporter.otlp.traces.endpoint but even after setting any one of these properties, the application is still trying to send the traces to the default address. What property should I use to change this default address?

Sumit Desai
  • 1,542
  • 9
  • 22

0 Answers0