spring-projects / spring-projects/spring-data-commons

Create infrastructure to record repository invocation metrics using Micrometer

Open
#2,735 1 comment 0 reactions 1 assignee View on GitHub

@mp911de is already working on this.

Since Oct 26, 2023.

type: enhancement
Dominant language
Java
Stars
838
Forks
730
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.