You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/04/13 13:02:22 UTC

[GitHub] [skywalking] xu1009 opened a new issue #6746: how can trace action in parallelStream or parallel

xu1009 opened a new issue #6746:
URL: https://github.com/apache/skywalking/issues/6746


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [1 ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   
   when use parallelStream or paralle  cross thread in project, how should do to tarce  action
   
   like this,
   
         IntStream.range(1, 10).parallel().forEach(it -> {
                  httpclient.post(xxx);
           });
   
   when i use custom thread pool, skywalking can use  @TraceCrossThread to trace,  but use parallelStream or paralle,can trace?
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #6746: how can trace action in parallelStream or parallel

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #6746:
URL: https://github.com/apache/skywalking/issues/6746


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #6746: how can trace action in parallelStream or parallel

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6746:
URL: https://github.com/apache/skywalking/issues/6746#issuecomment-819123615


   > when i use custom thread pool, skywalking can use @TraceCrossThread to trace, but use parallelStream or paralle,can trace?
   
   We are clear in the plugin development document about how we do for async mode. Read it, we don't explain the duplicated things.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org