[유치수] [NOBTS] add terminal span

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@947 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Chisu Yu
2012-11-29 08:59:10 +00:00
parent d6ffaa2ed0
commit df0eac5118
17 changed files with 620 additions and 324 deletions
@@ -53,13 +53,13 @@ public class FlowChartController {
Set<TraceId> traceIds = flow.selectTraceIdsFromApplicationTraceIndex(applicationName, from, to);
watch.stop();
logger.info("time:{} {}", watch.getLastTaskTimeMillis(), traceIds.size());
logger.info("Fetch traceIds elapsed : {}ms, {} traces", watch.getLastTaskTimeMillis(), traceIds.size());
watch.start("selectServerCallTree");
ServerCallTree callTree = flow.selectServerCallTree(traceIds);
ServerCallTree callTree = flow.selectServerCallTree(traceIds, applicationName, from, to);
watch.stop();
logger.info("time:{}", watch.getLastTaskTimeMillis());
logger.info("Fetch calltree time : {}ms", watch.getLastTaskTimeMillis());
model.addAttribute("nodes", callTree.getNodes());
model.addAttribute("links", callTree.getLinks());