Exposed the support for collecting custom metrics to the UI