mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-25 04:35:59 +10:00
[강운덕] [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:
@@ -25,6 +25,8 @@ public class SubSpanList implements Thriftable {
|
||||
SubSpan first = subSpanList.get(0);
|
||||
Span parentSpan = first.getParentSpan();
|
||||
tSubSpanList.setAgentId(Agent.getInstance().getAgentId());
|
||||
tSubSpanList.setAgentIdentifier(Agent.getInstance().getIdentifier());
|
||||
|
||||
UUID id = parentSpan.getTraceID().getId();
|
||||
tSubSpanList.setMostTraceId(id.getMostSignificantBits());
|
||||
tSubSpanList.setLeastTraceId(id.getLeastSignificantBits());
|
||||
@@ -43,6 +45,7 @@ public class SubSpanList implements Thriftable {
|
||||
com.profiler.common.dto.thrift.SubSpan tSubSpan = new com.profiler.common.dto.thrift.SubSpan();
|
||||
|
||||
tSubSpan.setAgentId(Agent.getInstance().getAgentId());
|
||||
tSubSpan.setAgentIdentifier(Agent.getInstance().getIdentifier());
|
||||
|
||||
long parentSpanStartTime = subSpan.getParentSpan().getStartTime();
|
||||
tSubSpan.setStartElapsed((int) (subSpan.getStartTime() - parentSpanStartTime));
|
||||
|
||||
Reference in New Issue
Block a user