use of com.navercorp.pinpoint.web.service.map.FilteredMap in project pinpoint by naver.
the class FilteredMapServiceImpl method selectApplicationMap.
public ApplicationMap selectApplicationMap(FilteredMapServiceOption option) {
final List<List<SpanBo>> filterList = selectFilteredSpan(option.getTransactionIdList(), option.getFilter(), option.getColumnGetCount());
FilteredMapBuilder filteredMapBuilder = new FilteredMapBuilder(applicationFactory, registry, option.getOriginalRange(), option.getVersion());
filteredMapBuilder.serverMapDataFilter(serverMapDataFilter);
filteredMapBuilder.addTransactions(filterList);
FilteredMap filteredMap = filteredMapBuilder.build();
ApplicationMap map = createMap(option, filteredMap);
return map;
}
use of com.navercorp.pinpoint.web.service.map.FilteredMap in project pinpoint by naver.
the class FilteredMapServiceImpl method selectApplicationMapWithScatterData.
public ApplicationMap selectApplicationMapWithScatterData(FilteredMapServiceOption option) {
StopWatch watch = new StopWatch();
watch.start();
final List<List<SpanBo>> filterList = selectFilteredSpan(option.getTransactionIdList(), option.getFilter(), option.getColumnGetCount());
FilteredMapBuilder filteredMapBuilder = new FilteredMapBuilder(applicationFactory, registry, option.getOriginalRange(), option.getVersion());
filteredMapBuilder.serverMapDataFilter(serverMapDataFilter);
filteredMapBuilder.addTransactions(filterList);
FilteredMap filteredMap = filteredMapBuilder.build();
ApplicationMap map = createMap(option, filteredMap);
Map<Application, ScatterData> applicationScatterData = filteredMap.getApplicationScatterData(option.getOriginalRange().getFrom(), option.getOriginalRange().getTo(), option.getxGroupUnit(), option.getyGroupUnit());
ApplicationMapWithScatterData applicationMapWithScatterData = new ApplicationMapWithScatterData(map, applicationScatterData);
watch.stop();
logger.debug("Select filtered application map elapsed. {}ms", watch.getTotalTimeMillis());
return applicationMapWithScatterData;
}
Aggregations