Skip to content

how can trace action in parallelStream or parallel #6746

@xu1009

Description

@xu1009

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionEnd user question and discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions