简体   繁体   中英

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

获得所有Spring服务的性能指标的最快方法是什么?

你可以用火腿和应用JamonPerformanceMonitorInterceptor您服务。

Why not just try the PerformanceMonitorInterceptor ? You don't have to write anything that way, just configure it to advise all your service method calls.

You'll prob need to quantify exactly what you want to get out of your application in terms fo performance metrics. For a start though take a look at Beet, a performance and monitoring tool for Spring based apps:

http://beet.sourceforge.net/

There's also an article here than describes how to use Beet to gather performance metrics (such as method call timings):

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM