public MetricRegistry getMetricsRegistry() {
        return metrics;
    }
Loads metrics from the file at the directory path

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