Implement EnableMetricsCollection

Fixes TOOLS-225