We should migrate Spring Boot's MetricsRepositoryMethodInvocationListener into Spring Data Commons to provide a direct utility for repository metrics invocation. Spring Data depends since version 3.0 optionally on Micrometer so we have the right level of dependency access.
We should migrate Spring Boot's
MetricsRepositoryMethodInvocationListener
into Spring Data Commons to provide a direct utility for repository metrics invocation. Spring Data depends since version 3.0 optionally on Micrometer so we have the right level of dependency access.See also https://github.com/spring-projects/spring-boot/blob/c93e248c46c2c4a7cef5596b23e54c715c52a204/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/data/MetricsRepositoryMethodInvocationListener.java