Removing yaml-based metrics configuration.