[rja-xxx][fix] metrics for groovy template service and abstractrepo