Added metrics registration as external