use of com.navercorp.pinpoint.web.vo.stat.chart.StatChart in project pinpoint by naver.
the class ActiveTraceChartService method selectAgentChartList.
@Override
public List<StatChart> selectAgentChartList(String agentId, TimeWindow timeWindow) {
StatChart agentStatChart = selectAgentChart(agentId, timeWindow);
List<StatChart> result = new ArrayList<>(1);
result.add(agentStatChart);
return result;
}
use of com.navercorp.pinpoint.web.vo.stat.chart.StatChart in project pinpoint by naver.
the class DataSourceChartService method selectAgentChartList.
@Override
public List<StatChart> selectAgentChartList(String agentId, TimeWindow timeWindow) {
Objects.requireNonNull(agentId, "agentId");
Objects.requireNonNull(timeWindow, "timeWindow");
List<SampledDataSourceList> sampledAgentStatList = this.sampledDataSourceDao.getSampledAgentStatList(agentId, timeWindow);
if (CollectionUtils.isEmpty(sampledAgentStatList)) {
List<StatChart> result = new ArrayList<>(1);
result.add(new DataSourceChart(timeWindow, Collections.emptyList(), serviceTypeRegistryService));
return result;
} else {
List<StatChart> result = new ArrayList<>(sampledAgentStatList.size());
for (SampledDataSourceList sampledDataSourceList : sampledAgentStatList) {
result.add(new DataSourceChart(timeWindow, sampledDataSourceList.getSampledDataSourceList(), serviceTypeRegistryService));
}
return result;
}
}
use of com.navercorp.pinpoint.web.vo.stat.chart.StatChart in project pinpoint by naver.
the class TotalThreadCountChartService method selectAgentChartList.
@Override
public List<StatChart> selectAgentChartList(String agentId, TimeWindow timeWindow) {
StatChart agentStatChart = selectAgentChart(agentId, timeWindow);
List<StatChart> result = new ArrayList<>(1);
result.add(agentStatChart);
return result;
}
use of com.navercorp.pinpoint.web.vo.stat.chart.StatChart in project pinpoint by naver.
the class TransactionChartService method selectAgentChartList.
@Override
public List<StatChart> selectAgentChartList(String agentId, TimeWindow timeWindow) {
StatChart agentStatChart = selectAgentChart(agentId, timeWindow);
List<StatChart> result = new ArrayList<>(1);
result.add(agentStatChart);
return result;
}
use of com.navercorp.pinpoint.web.vo.stat.chart.StatChart in project pinpoint by naver.
the class DirectBufferChartService method selectAgentChartList.
@Override
public List<StatChart> selectAgentChartList(String agentId, TimeWindow timeWindow) {
StatChart agentStatChart = selectAgentChart(agentId, timeWindow);
List<StatChart> result = new ArrayList<>(1);
result.add(agentStatChart);
return result;
}
Aggregations