[강운덕] [LUCYSUS-1744] api metadata를 별도 전송하고 metadata의 상수값을 전달하는 로직 개발.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@1163 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2013-02-08 05:57:31 +00:00
parent b29d780efa
commit a1ab73c998
17 changed files with 88 additions and 61 deletions
@@ -131,7 +131,7 @@ public class SubSpan implements Thriftable {
}
public String toString() {
StringBuilder sb = new StringBuilder();
StringBuilder sb = new StringBuilder(256);
sb.append("{");
sb.append("\n\t Depth = ").append(depth);
@@ -172,6 +172,8 @@ public class SubSpan implements Thriftable {
// 다른 span의 sub로 들어가지 않을 경우
if (!child) {
subSpan.setAgentId(Agent.getInstance().getAgentId());
subSpan.setAgentIdentifier(Agent.getInstance().getIdentifier());
TraceID parentSpanTraceID = parentSpan.getTraceID();
subSpan.setMostTraceId(parentSpanTraceID.getId().getMostSignificantBits());
subSpan.setLeastTraceId(parentSpanTraceID.getId().getLeastSignificantBits());