What are the configurations needed for enabling the distributed tracing with spring boot 3?

42 views Asked by At

I added following dependencies

  • micrometer-tracing-bridge-brave

Added configuration in application.properties

management.tracing.sampling.probability=1.0

logging.pattern.level=%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]

But trace and span id’s are coming blank

I am expecting log message to populate values for trace id and span id but it’s blank

0

There are 0 answers