question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Timer instrumentation to Spring Data Interfaces

See original GitHub issue

It would be valuable to have timer instrumentation on all children of the Spring Data Repository interface. Metric name along the lines of of spring.data.repository with tags for method name (save, findOne, exists, etc.) and success/failure.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
huehnerladycommented, Aug 14, 2018

Hi, is there any progress on this? This issue is open for a while now and very interesting for us as we could get rid of some Workarounds

3reactions
gavlyukovskiycommented, Mar 31, 2018

We created similar to #500 interceptor especially for spring data use case, probably you can at least copy it to your project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Metrics
ExecutorService instrumentation results in a composite counter that tracks the number of submitted, active, and completed tasks. Additionally, a timer records ...
Read more >
@Timed Annotation Using Metrics and AspectJ | Baeldung
We look at how to add lightweight timing instrumentation to an app using a combination of Metrics and AspectJ, making it as simple...
Read more >
Monitoring in Spring Boot using Micrometer and Prometheus
Timers : Timers are intended for measuring short-duration latencies, and the frequency of such events. · Registry: A meter is an interface for ......
Read more >
Cobertura : how to cover spring-data @Repository interfaces
I don't mind switching to Jacoco, but I've read that it doesn't instrument interfaces either. How can following cases be covered ? The...
Read more >
Monitoring spring boot apps using micrometer metrics
If you use Spring Boot to write services, you automatically get metric instrumentation for many Spring Boot component libraries, including ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found