mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-22 11:16:25 +10:00
[유치수] [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:
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user