adding MetricsCollector