You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "Chenfx-git (via GitHub)" <gi...@apache.org> on 2023/02/20 13:56:54 UTC

[GitHub] [skywalking-java] Chenfx-git commented on a diff in pull request #460: Fix servicecomb plugin trace break

Chenfx-git commented on code in PR #460:
URL: https://github.com/apache/skywalking-java/pull/460#discussion_r1111991291


##########
apm-sniffer/apm-sdk-plugin/servicecomb-plugin/servicecomb-java-chassis-2.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/servicecomb/v2/ProducerOperationHandlerInterceptor.java:
##########
@@ -52,6 +52,13 @@ public void beforeMethod(EnhancedInstance objInst, Method method, Object[] allAr
         SpanLayer.asRPCFramework(span);
     }
 
+    private String getHeadValue(Invocation invocation, String key) {
+        if (invocation.getContext().containsKey("sw8")) {

Review Comment:
   How can i know trace message in http header or servicecomb context? How many kind of key in skywalking like sw8



-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

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