the metrics factory