mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-19 17:56:41 +10:00
[강운덕] [LUCYSUS-1744] 한개의 트랜잭션이 진행중인 상태일 경우 개별 transaction을 조회 했을때 부분 조회가 정확하게 동작하도록 개선함.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@2647 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -4,7 +4,6 @@ import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
|
||||
@@ -108,8 +107,9 @@ public class SpanServiceTest {
|
||||
private void doRead(TSpan span) {
|
||||
com.nhn.pinpoint.common.util.TransactionId id = TransactionIdUtils.parseTransactionId(span.getTransactionId());
|
||||
TransactionId traceId = new TransactionId(id.getAgentId(), id.getAgentStartTime(), id.getTransactionSequence());
|
||||
|
||||
List<SpanAlign> sort = spanService.selectSpan(traceId);
|
||||
// selectedHint를 좀더 정확히 수정할것.
|
||||
SpanResult spanResult = spanService.selectSpan(traceId, System.currentTimeMillis());
|
||||
List<SpanAlign> sort = spanResult.getSpanAlign();
|
||||
for (SpanAlign spanAlign : sort) {
|
||||
logger.info("depth:{} {}", spanAlign.getDepth(), spanAlign.getSpanBo());
|
||||
}
|
||||
@@ -124,7 +124,6 @@ public class SpanServiceTest {
|
||||
|
||||
private TSpan createRootSpan() {
|
||||
// 별도 생성기로 뽑을것.
|
||||
UUID uuid = UUID.randomUUID();
|
||||
List<TAnnotation> ano = Collections.emptyList();
|
||||
long time = System.currentTimeMillis();
|
||||
int andIncrement = id.getAndIncrement();
|
||||
|
||||
Reference in New Issue
Block a user