Support metrics configuration

Support for metrics configuration