spring-boot-metrics Automatically add metrics to your project. Use the codahale Metrics project for registration. It will detect and automatically register metrics for different type of resources like DataSources, @Components, JVM wide metrics etc.