```
                           My codes logic looks like:

                                   UserRequest
                                   |       /|\ 
                                   |        |
                                  \|/       |
                                NettyServerIOThread  
                                   |       /|\
                 createEntrySpan   |        |  stopEntrySpan    
                     (/api/ping)   |        |   
                                   |        |
                 captureSnapshot   |        |        
                                  \|/       |
                                NettyClientIOThread  
                                   |       /|\
                   createLocalSpan |        |  stopLocalSpan      
  (netty-http-client/send-request) |        |
                                   |        |
                 continuedSnapshot |        |
                                   |        |       
                    createExitSpan |        |  stopExitSpan
                       (/api/ping) |        |
                                  \|/       |
                                 Ping/PongService
```

> 1. createEntrySpan(/api/ping) , captureSnapshot, stopEntrySpan  in a thread.
> 2. createLocalSpan(netty-http-client/send-request), continuedSnapshot, 
> createExitSpan(/api/ping), stopExitSpan, stopLocalSpan in another thread.

I think the continuedSnapshot is worked
the below png is after comment `ContextManager.continued(contextSnapshot);` the 
localspan(netty-http-client/send-request) and entryspan(/api/ping) have 
different trace id,
maybe i describe not correct, they are not called 
`localspan(netty-http-client/send-request)`,`entryspan(/api/ping)` in trace list
<img width="970" alt="screen shot 2018-09-27 at 09 53 48" 
src="https://user-images.githubusercontent.com/6299773/46118988-972d7d80-c23b-11e8-96b8-67c4d731f847.png";>
and trace is not complete, only one span, it looks like 

<img width="1244" alt="screen shot 2018-09-27 at 10 00 23" 
src="https://user-images.githubusercontent.com/6299773/46119245-b1b42680-c23c-11e8-91d1-e8c645e6440f.png";>





[ Full content available at: 
https://github.com/apache/incubator-skywalking/issues/1707 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to