Refactor Metrics integration in order to support Spring