spring-projects/spring-boot

Consider creating observations in MetricsRepositoryMethodInvocationListener

Opened this issue · 0 comments

It's surprisingly hard to get observations from Spring Data repository invocations. Annotating the repository interface with @Observed doesn't work. We create metrics in MetricsRepositoryMethodInvocationListener, maybe we can use this to also create observations?