Merge pull request #364 from ascrutae/zhangxin/fix/spring-plugin-issue

fix operation name that span created by spring plugin is not correct
This commit is contained in:
吴晟 Wu Sheng 2017-08-19 18:33:50 +08:00 committed by GitHub
commit 2de7fefddc
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();