[강운덕] [LUCYSUS-1744] http::1.1 이런식으로 안나오도록 destination 에 대한 스펙을 다시 생각하여 구현함. 데이터가 중복되어 있어 추가 정리가 필요하고 좀더 정규화가 필요함.

-추가 제거 되어야 될 데이터 : serverName, subspan의 endpoint

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@1261 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2013-02-27 10:04:56 +00:00
parent 012aaf38fe
commit c569b8a601
21 changed files with 149 additions and 44 deletions
@@ -6,6 +6,7 @@ import com.profiler.common.util.ParsingResult;
import com.profiler.interceptor.MethodDescriptor;
import com.profiler.logging.LoggingUtils;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -315,6 +316,28 @@ public final class Trace {
}
public void recordDestinationId(final String destinationId) {
// TODO API 단일화 필요.
StackFrame currentStackFrame = getCurrentStackFrame();
if (currentStackFrame instanceof SubStackFrame) {
SubSpan subSpan = ((SubStackFrame) currentStackFrame).getSubSpan();
subSpan.setDestionationId(destinationId);
}
}
public void recordDestinationAddress(List<String> address) {
// TODO API 단일화 필요.
StackFrame currentStackFrame = getCurrentStackFrame();
if (currentStackFrame instanceof SubStackFrame) {
SubSpan subSpan = ((SubStackFrame) currentStackFrame).getSubSpan();
subSpan.setDestinationAddress();
}
}
public void recordDestinationAddressList(List<String> addressList) {
//To change body of created methods use File | Settings | File Templates.
}
public void recordEndPoint(final String endPoint) {
// TODO API 단일화 필요.
StackFrame currentStackFrame = getCurrentStackFrame();
@@ -364,4 +387,6 @@ public final class Trace {
this.traceContext = traceContext;
}
}