Gateway compatible with downstream loss (#3445)
This commit is contained in:
parent
96b2baaddb
commit
b5b088acc0
|
|
@ -58,7 +58,11 @@ public class AbstractServerResponseMethodInterceptor implements InstanceMethodsA
|
|||
}
|
||||
Tags.STATUS_CODE.set(span, Integer.toString(status.value()));
|
||||
}
|
||||
ContextManager.stopSpan(span);
|
||||
if (ContextManager.isActive()) {
|
||||
ContextManager.stopSpan(span);
|
||||
} else {
|
||||
span.asyncFinish();
|
||||
}
|
||||
((EnhancedInstance) allArguments[0]).setSkyWalkingDynamicField(null);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue