class MonitoringESDao {

    public Map<String, Double> loadMetrics(final ELKUsageMetric metric, final Collection<String> resourceIds,
                                           final LocalDateTime from, final LocalDateTime to) {
        if (CollectionUtils.isEmpty(resourceIds)) {
            return Collections.emptyMap();
        }
        return AbstractMetricRequester.getRequester(metric, client).performRequest(resourceIds, from, to);
    }

    @Autowired public  MonitoringESDao(RestHighLevelClient client, RestClient lowLevelClient);

}