Added support to inject a RequestMetricCollector