Spring integration for Metrics