fix operation name that span created by spring plugin is not correct

This commit is contained in:
ascrutae 2017-08-19 18:06:09 +08:00
parent e782a5871c
commit ffed1e928f
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ public class ControllerServiceMethodInterceptor implements InstanceMethodsAround
requestURL = "";
}
pathMappingCache.addPathMapping(method, requestURL);
requestURL = pathMappingCache.findPathMapping(method);
}
HttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest();