mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-20 18:25:55 +10:00
[강운덕] [LUCYSUS-1744] Tomcat의 Span생성시 annotation에서 http url정보를 제거한 span에 직접 rpc 필드로 넣는게 더 좋을것으로 보임.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@1333 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ public class StandardHostValveInvokeInterceptor implements StaticAroundIntercept
|
||||
int port = request.getServerPort();
|
||||
trace.recordEndPoint(request.getServerName() + ((port > 0) ? ":" + port : ""));
|
||||
trace.recordRemoteAddr(remoteAddr);
|
||||
trace.recordAttribute(AnnotationKey.HTTP_URL, request.getRequestURI());
|
||||
|
||||
} catch (Exception e) {
|
||||
if (logger.isLoggable(Level.WARNING)) {
|
||||
logger.log(Level.WARNING, "Tomcat StandardHostValve trace start fail. Caused:" + e.getMessage(), e);
|
||||
|
||||
Reference in New Issue
Block a user