Added support metric collector in custom schema