Created
February 24, 2018 04:12
-
-
Save trmsmy/322beeb245183466b1c2b4181c7e77a4 to your computer and use it in GitHub Desktop.
Spring Sleuth - trace ID is not passed to subsequent calls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-02-23 23:10:18.365 DEBUG [config-service,,,] 8212 --- [nio-8888-exec-1] o.s.c.sleuth.instrument.web.TraceFilter : Received a request to uri [/service2] that should not be sampled [true] | |
2018-02-23 23:10:18.369 DEBUG [config-service,,,] 8212 --- [nio-8888-exec-1] o.s.c.sleuth.instrument.web.TraceFilter : Found a parent span b927ff4389efc6c0/b927ff4389efc6c0 in the request | |
2018-02-23 23:10:18.369 DEBUG [config-service,,,] 8212 --- [nio-8888-exec-1] o.s.c.sleuth.instrument.web.TraceFilter : Parent span is NoopSpan{context=b927ff4389efc6c0/b927ff4389efc6c0} | |
2018-02-23 23:10:18.398 DEBUG [config-service,b927ff4389efc6c0,b927ff4389efc6c0,false] 8212 --- [nio-8888-exec-1] o.s.c.s.i.web.TraceHandlerInterceptor : Handling span NoopSpan{context=b927ff4389efc6c0/b927ff4389efc6c0} | |
2018-02-23 23:10:18.399 DEBUG [config-service,b927ff4389efc6c0,b927ff4389efc6c0,false] 8212 --- [nio-8888-exec-1] o.s.c.s.i.web.TraceHandlerInterceptor : Adding a method tag with value [echo] to a span NoopSpan{context=b927ff4389efc6c0/b927ff4389efc6c0} | |
2018-02-23 23:10:18.399 DEBUG [config-service,b927ff4389efc6c0,b927ff4389efc6c0,false] 8212 --- [nio-8888-exec-1] o.s.c.s.i.web.TraceHandlerInterceptor : Adding a class tag with value [BandendRestService] to a span NoopSpan{context=b927ff4389efc6c0/b927ff4389efc6c0} | |
2018-02-23 23:10:18.411 INFO [config-service,b927ff4389efc6c0,b927ff4389efc6c0,false] 8212 --- [nio-8888-exec-1] c.t.s.cloud.config.BandendRestService : In Service 2, about to wait for set deplay=0 | |
2018-02-23 23:10:18.440 DEBUG [config-service,b927ff4389efc6c0,b927ff4389efc6c0,false] 8212 --- [nio-8888-exec-1] o.s.c.sleuth.instrument.web.TraceFilter : Will close span NoopSpan{context=b927ff4389efc6c0/b927ff4389efc6c0} since response was unsuccessful for the root span | |
2018-02-23 23:10:18.463 DEBUG [config-service,,,] 8212 --- [nio-8888-exec-2] o.s.c.sleuth.instrument.web.TraceFilter : Received a request to uri [/service3] that should not be sampled [true] | |
2018-02-23 23:10:18.463 DEBUG [config-service,,,] 8212 --- [nio-8888-exec-2] o.s.c.sleuth.instrument.web.TraceFilter : Found a parent span b68c248375f91efd/b68c248375f91efd in the request | |
2018-02-23 23:10:18.464 DEBUG [config-service,,,] 8212 --- [nio-8888-exec-2] o.s.c.sleuth.instrument.web.TraceFilter : Parent span is NoopSpan{context=b68c248375f91efd/b68c248375f91efd} | |
2018-02-23 23:10:18.466 DEBUG [config-service,b68c248375f91efd,b68c248375f91efd,false] 8212 --- [nio-8888-exec-2] o.s.c.s.i.web.TraceHandlerInterceptor : Handling span NoopSpan{context=b68c248375f91efd/b68c248375f91efd} | |
2018-02-23 23:10:18.467 DEBUG [config-service,b68c248375f91efd,b68c248375f91efd,false] 8212 --- [nio-8888-exec-2] o.s.c.s.i.web.TraceHandlerInterceptor : Adding a method tag with value [echo2] to a span NoopSpan{context=b68c248375f91efd/b68c248375f91efd} | |
2018-02-23 23:10:18.467 DEBUG [config-service,b68c248375f91efd,b68c248375f91efd,false] 8212 --- [nio-8888-exec-2] o.s.c.s.i.web.TraceHandlerInterceptor : Adding a class tag with value [BandendRestService] to a span NoopSpan{context=b68c248375f91efd/b68c248375f91efd} | |
2018-02-23 23:10:18.467 INFO [config-service,b68c248375f91efd,b68c248375f91efd,false] 8212 --- [nio-8888-exec-2] c.t.s.cloud.config.BandendRestService : In Service 3, about to wait for set deplay=0 | |
2018-02-23 23:10:18.472 DEBUG [config-service,b68c248375f91efd,b68c248375f91efd,false] 8212 --- [nio-8888-exec-2] o.s.c.sleuth.instrument.web.TraceFilter : Will close span NoopSpan{context=b68c248375f91efd/b68c248375f91efd} since response was unsuccessful for the root span |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-02-23 23:10:17.879 INFO [spring-cloud-rest,,,] 8247 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring FrameworkServlet 'dispatcherServlet' | |
2018-02-23 23:10:17.879 INFO [spring-cloud-rest,,,] 8247 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started | |
2018-02-23 23:10:17.923 INFO [spring-cloud-rest,,,] 8247 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 44 ms | |
2018-02-23 23:10:17.931 DEBUG [spring-cloud-rest,,,] 8247 --- [nio-8080-exec-1] o.s.c.sleuth.instrument.web.TraceFilter : Received a request to uri [/echo] that should not be sampled [false] | |
2018-02-23 23:10:17.939 DEBUG [spring-cloud-rest,,,] 8247 --- [nio-8080-exec-1] o.s.c.sleuth.instrument.web.TraceFilter : Found a parent span 9526c74229ff5755/9526c74229ff5755 in the request | |
2018-02-23 23:10:17.939 DEBUG [spring-cloud-rest,,,] 8247 --- [nio-8080-exec-1] o.s.c.sleuth.instrument.web.TraceFilter : Parent span is NoopSpan{context=9526c74229ff5755/9526c74229ff5755} | |
2018-02-23 23:10:17.973 DEBUG [spring-cloud-rest,9526c74229ff5755,9526c74229ff5755,false] 8247 --- [nio-8080-exec-1] o.s.c.s.i.web.TraceHandlerInterceptor : Handling span NoopSpan{context=9526c74229ff5755/9526c74229ff5755} | |
2018-02-23 23:10:17.974 DEBUG [spring-cloud-rest,9526c74229ff5755,9526c74229ff5755,false] 8247 --- [nio-8080-exec-1] o.s.c.s.i.web.TraceHandlerInterceptor : Adding a method tag with value [echo] to a span NoopSpan{context=9526c74229ff5755/9526c74229ff5755} | |
2018-02-23 23:10:17.974 DEBUG [spring-cloud-rest,9526c74229ff5755,9526c74229ff5755,false] 8247 --- [nio-8080-exec-1] o.s.c.s.i.web.TraceHandlerInterceptor : Adding a class tag with value [GreeterRestService] to a span NoopSpan{context=9526c74229ff5755/9526c74229ff5755} | |
2018-02-23 23:10:17.985 INFO [spring-cloud-rest,9526c74229ff5755,9526c74229ff5755,false] 8247 --- [nio-8080-exec-1] c.t.s.cloud.rest.GreeterRestService : Reached Greeter Service in [Service1], About to call Service2 | |
2018-02-23 23:10:18.446 INFO [spring-cloud-rest,9526c74229ff5755,9526c74229ff5755,false] 8247 --- [nio-8080-exec-1] c.t.s.cloud.rest.GreeterRestService : Got response from Service2 [Hi Tamil(0)], About to call Service3 | |
2018-02-23 23:10:18.551 DEBUG [spring-cloud-rest,9526c74229ff5755,9526c74229ff5755,false] 8247 --- [nio-8080-exec-1] o.s.c.sleuth.instrument.web.TraceFilter : Will close span NoopSpan{context=9526c74229ff5755/9526c74229ff5755} since response was unsuccessful for the root span | |
2018-02-23 23:10:19.197 DEBUG [spring-cloud-rest,,,] 8247 --- [nio-8080-exec-2] o.s.c.sleuth.instrument.web.TraceFilter : Received a request to uri [/favicon.ico] that should not be sampled [true] | |
2018-02-23 23:10:19.199 DEBUG [spring-cloud-rest,,,] 8247 --- [nio-8080-exec-2] o.s.c.sleuth.instrument.web.TraceFilter : Found a parent span 60ec9847855a3a3c/60ec9847855a3a3c in the request | |
2018-02-23 23:10:19.199 DEBUG [spring-cloud-rest,,,] 8247 --- [nio-8080-exec-2] o.s.c.sleuth.instrument.web.TraceFilter : Parent span is NoopSpan{context=60ec9847855a3a3c/60ec9847855a3a3c} | |
2018-02-23 23:10:19.241 DEBUG [spring-cloud-rest,60ec9847855a3a3c,60ec9847855a3a3c,false] 8247 --- [nio-8080-exec-2] o.s.c.sleuth.instrument.web.TraceFilter : Closing the span NoopSpan{context=60ec9847855a3a3c/60ec9847855a3a3c} since the response was successful |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got the same issue...