skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

[Bug] servicecomb plugin trace break

Open Chenfx-git opened this issue 3 years ago • 0 comments

Search before asking

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

Apache SkyWalking Component

Java Agent (apache/skywalking-java)

What happened

[servicecomb] TransportClientHandlerInterceptor not effective when servicecomb consumer use httpclient,resttemplate,okhttp, etc. instead of cseRestTemplate, trace message was not put in invocation context. So servicecomb producer can not get trace message from invocation context in class producerOperationHandlerInterceptor.

What you expected to happen

image image

How to reproduce

servicecomb consumer use httpclient,resttemplate,okhttp, etc. instead of cseRestTemplate.

Anything else

No response

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

Chenfx-git avatar Feb 21 '23 02:02 Chenfx-git