Skip to content

[Bug] webflux trace is seperated,there are mutilple traces but actual is only one trace #12817

@wild46cat

Description

@wild46cat

Search before asking

  • I had searched in the issues and found no similar issues.

Apache SkyWalking Component

OAP server (apache/skywalking)

What happened

when I use skywaling to trace webflux ,I found that if the return type is Mono ,then the trace is broken.
like this:
image

as the screenShot shows that:
what I need is opeartion from web request to redis,is only one trace.

this is my code:
@GetMapping("/getValue")
public Mono getValue() {
return redisTemplate.opsForValue().get("test").doOnSuccess(result -> System.out.println("Data read from Redis: " + result));
}

What you expected to happen

What I expected is that it could be only one trace, not seperate.
only show the webflux request is best (I know I could remove the plugin mvc-annotation in plugins folder).

How to reproduce

every time.

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsquestionEnd user question and discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions