简体   繁体   English

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

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

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

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

Why not just try the PerformanceMonitorInterceptor ? 为什么不试试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: 首先来看看Beet,一个基于Spring的应用程序的性能和监视工具:

http://beet.sourceforge.net/ 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): 这里还有一篇文章描述了如何使用Beet来收集性能指标(例如方法调用计时):

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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