@Override
    public List<DataSource> dataSourceList() {

        final List<DataSourceMonitorWrapper> dataSourceMonitorList = dataSourceMonitorRegistryService.getPluginMonitorWrapperList();
        if (CollectionUtils.isEmpty(dataSourceMonitorList)) {
            return Collections.emptyList();
        }

        List<DataSource> dataSourceList = new ArrayList<>(dataSourceMonitorList.size());
        for (DataSourceMonitorWrapper dataSourceMonitor : dataSourceMonitorList) {
            DataSource dataSource = collectDataSource(dataSourceMonitor);
            dataSourceList.add(dataSource);
        }
        return dataSourceList;
    }
@author Taejin Koo
@author HyunGil Jeong
agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/monitor/metric/datasource/DefaultDataSourceMetric.java