Added metrics with spring