Step 1 - Create my own metrics (mybeans.DataSourceMetrics) 2 - Register the bean in conf/spring/resources.groovy 3 - Active actuator in application.yml 4 - Acess a url http://localhost:8080/actuator/metrics