class CAdvisorMonitoringManager implements UsageMonitoringManager {

    @Override
    public List<MonitoringStats> getStatsForNode(final String nodeName, final LocalDateTime from,
                                                 final LocalDateTime to) {
        final LocalDateTime start = Optional.ofNullable(from).orElse(LocalDateTime.MIN);
        final LocalDateTime end = Optional.ofNullable(to).orElse(LocalDateTime.MAX);
        return getStats(nodeName, start, end);
    }

    @Autowired public  CAdvisorMonitoringManager(
            NodesManager nodesManager,
            MessageHelper messageHelper,
            JsonMapper objectMapper,
            KubernetesManager kubernetesManager,
            @Value("${cluster.cadvisor.timeout:5}") int timeout,
            @Value("${cluster.cadvisor.port:4194}") int cAdvisorPort,
            @Value("${cluster.cadvisor.disable.proxy:false}") boolean disableProxyForCadvisor);

}