[유치수] [NOBTS] don't collect http client protocol version.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@1098 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Chisu Yu
2013-01-14 07:37:51 +00:00
parent 5eedd95712
commit 73ae0a77fe
2 changed files with 2 additions and 2 deletions
@@ -63,7 +63,7 @@ public class Execute2MethodInterceptor implements StaticAroundInterceptor, ByteC
trace.recordRpcName(ServiceType.HTTP_CLIENT, request.getProtocolVersion().toString(), "CLIENT");
int port = host.getPort();
trace.recordEndPoint(request.getProtocolVersion() + ":" + host.getHostName() + ((port > 0) ? ":" + port : ""));
trace.recordEndPoint(host.getHostName() + ((port > 0) ? ":" + port : ""));
trace.recordAttribute(AnnotationNames.HTTP_URL, request.getRequestLine().getUri());
}
@@ -65,7 +65,7 @@ public class ExecuteMethodInterceptor implements StaticAroundInterceptor, ByteCo
trace.recordRpcName(ServiceType.HTTP_CLIENT, request.getProtocolVersion().toString(), "CLIENT");
int port = host.getPort();
trace.recordEndPoint(request.getProtocolVersion() + ":" + host.getHostName() + ((port > 0) ? ":" + port : ""));
trace.recordEndPoint(host.getHostName() + ((port > 0) ? ":" + port : ""));
trace.recordAttribute(AnnotationNames.HTTP_URL, request.getRequestLine().getUri());
}