What is the fastest way to get the performance metrics of all spring services?

What is the fastest way to get performance metrics for all spring services?

+3
source share
3 answers

You can use JAMon and apply JamonPerformanceMonitorInterceptorin your services.

+6
source

Why not just try PerformanceMonitorInterceptor ? You do not need to write anything, just configure it to report all calls to the service method.

+2
source

You probably need to pinpoint exactly what you want to get from your application, in terms of performance metrics. To get started, take a look at Beet, a performance and monitoring tool for Spring applications:

http://beet.sourceforge.net/

There is also an article here, not a description of how to use Beet to collect performance metrics (for example, method call timeouts):

http://www.gridshore.nl/2009/09/01/using-beet-to-monitor-your-spring-framework-application/

+1
source

Source: https://habr.com/ru/post/1752018/