mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-28 22:26:47 +10:00
[유치수] [NOBTS] modify http client server interceptor
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@796 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ public class ExecuteMethodInterceptor implements StaticAroundInterceptor {
|
||||
|
||||
Trace.recordRpcName(request.getProtocolVersion().toString(), "CLIENT");
|
||||
Trace.recordEndPoint(request.getProtocolVersion().toString() + ":" + host.getHostName() + ":" + host.getPort());
|
||||
Trace.recordAttibute("http.url", request.toString());
|
||||
Trace.recordAttibute("http.url", request.getRequestLine().getUri());
|
||||
Trace.record(Annotation.ClientSend);
|
||||
} finally {
|
||||
Trace.traceBlockEnd();
|
||||
|
||||
+4
-1
@@ -51,7 +51,10 @@ public class StandardHostValveInvokeInterceptor implements StaticAroundIntercept
|
||||
|
||||
Trace.recordRpcName("TOMCAT", requestURL);
|
||||
Trace.recordEndPoint(request.getProtocol() + ":" + request.getLocalName() + ":" + request.getLocalPort());
|
||||
Trace.recordAttibute("http.params", parameters);
|
||||
Trace.recordAttibute("http.url", request.getRequestURI());
|
||||
if (!org.apache.commons.lang.StringUtils.isEmpty(parameters)) {
|
||||
Trace.recordAttibute("http.params", parameters);
|
||||
}
|
||||
Trace.record(Annotation.ServerRecv);
|
||||
|
||||
StopWatch.start("StandardHostValveInvokeInterceptor-starttime");
|
||||
|
||||
Reference in New Issue
Block a user