private void saveMetrics() {
        this.saveMetrics(metrics, storageDirectory);
    }
Saves the metrics to a file for it to be reloaded when the crawler restarts

@param metricsRegistry
@param directoryPath
@throws IOException
ache/src/main/java/achecrawler/util/MetricsManager.java