I am trying to run a Spring Boot application and trace its execution with the support of Sleuth. The log shows the service name, but nothing for the trace id or the span id. All I get is [myservice,,,].
What am I missing?
Here are some lines from the log.
2017-04-30 14:41:38.750 INFO [myservice,,,] 7 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@5e57643e: startup date [Sun Apr 30 14:41:38 GMT 2017]; root of context hierarchy
2017-04-30 14:41:39.264 INFO [myservice,,,] 7 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
...
Thanks
Like Darren mentioned this is perfectly normal. What would you want to trace here? A trace is started by an rpc call or sth like that. Please read the docs where you can read about what distributed tracing is and you can watch my video where I explain how to use Sleuth
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With