class MetricsCollector implements Runnable, Closeable {

    @Override
    public void close() throws IOException {
        LOGGER.info("Stopping metrics collector.");
        close(scheduler);
        close(executor);
    }

    @Autowired public  MetricsCollector(DataManager dataManager, JsonDB jsonDB, KubernetesClient kubernetes);

}