wu-sheng commented on a change in pull request #771: Add [Agent] ServiceComb
Plugin #437
URL:
https://github.com/apache/incubator-skywalking/pull/771#discussion_r167423041
##########
File path:
apm-sniffer/apm-sdk-plugin/servicecomb-plugin/servicecomb-java-chassis-0.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/servicecomb/TransportClientHandlerInterceptor.java
##########
@@ -43,10 +43,14 @@
public void beforeMethod(EnhancedInstance objInst, Method method, Object[]
allArguments,
Class<?>[] argumentsTypes, MethodInterceptResult result) throws
Throwable {
Invocation invocation = (Invocation)allArguments[0];
+ if (null == invocation.getOperationMeta() || null ==
invocation.getEndpoint()) {
Review comment:
You should adjust stop span ,too.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services