Skip to content

Commit

Permalink
Modify style
Browse files Browse the repository at this point in the history
  • Loading branch information
lytscu committed Jan 4, 2018
1 parent e052b85 commit 8f42bb3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ public class SuccessInterceptor implements InstanceMethodsAroundInterceptor {
@Override public void beforeMethod(EnhancedInstance objInst, Method method, Object[] allArguments,
Class<?>[] argumentsTypes, MethodInterceptResult result) throws Throwable {
SessionRequest request = (SessionRequest)allArguments[0];
String remoteAddress = request.getRemoteAddress().toString().substring(1);
AbstractSpan localSpan = ContextManager.createLocalSpan("execute asynchronous request thread" );
AbstractSpan localSpan = ContextManager.createLocalSpan("execute asynchronous request thread");
localSpan.setComponent(ComponentsDefine.HTTP_ASYNC_CLIENT).setLayer(SpanLayer.HTTP);
Object cacheValue = ((EnhancedInstance)request).getSkyWalkingDynamicField();
ContextManager.continued((ContextSnapshot)cacheValue);
Expand Down

0 comments on commit 8f42bb3

Please sign in to comment.