immutable metricFactory
remove logger