[유치수] [NOBTS] add Endpoint to span.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@715 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Chisu Yu
2012-09-27 01:55:46 +00:00
parent 5507c0dd0d
commit 6698362a03
7 changed files with 14 additions and 11 deletions
+2 -1
View File
@@ -132,7 +132,8 @@ public class Span {
span.setServiceName(serviceName);
span.setSpanID(traceID.getSpanId());
span.setParentSpanId(traceID.getParentSpanId());
span.setEndPoint(endPoint.toThrift());
List<com.profiler.common.dto.thrift.Annotation> annotationList = new ArrayList<com.profiler.common.dto.thrift.Annotation>(annotations.size());
for (HippoAnnotation a : annotations) {
annotationList.add(a.toThrift());