Skip to content

Create infrastructure to record repository invocation metrics using Micrometer #2735

@mp911de

Description

@mp911de

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions