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

发布于 2024-09-07 09:59:07 字数 35 浏览 1 评论 0原文

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

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

浅忆 2024-09-14 09:59:07

您可以使用 JAMon 并应用 JamonPerformanceMonitorInterceptor 在您的服务上。

You could use JAMon and apply the JamonPerformanceMonitorInterceptor on your services.

风苍溪 2024-09-14 09:59:07

为什么不尝试 PerformanceMonitorInterceptor ?您不必以这种方式编写任何内容,只需将其配置为建议所有服务方法调用即可。

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.

寂寞美少年 2024-09-14 09:59:07

您可能需要根据性能指标准确量化您希望从应用程序中获得什么。首先看一下 Beet,一个基于 Spring 的应用程序的性能和监控工具:

http://beet.sourceforge .net/

这里还有一篇文章介绍了如何使用 Beet 收集性能指标(例如方法调用计时):

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

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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文