[英]what is the fastest way to get performance metrics of all spring services?
獲得所有Spring服務的性能指標的最快方法是什么?
你可以用火腿和應用JamonPerformanceMonitorInterceptor
您服務。
為什么不試試PerformanceMonitorInterceptor呢? 您不必以任何方式編寫任何內容,只需將其配置為建議所有服務方法調用。
您可能需要根據性能指標量化您希望從應用程序中獲得的內容。 首先來看看Beet,一個基於Spring的應用程序的性能和監視工具:
這里還有一篇文章描述了如何使用Beet來收集性能指標(例如方法調用計時):
http://www.gridshore.nl/2009/09/01/using-beet-to-monitor-your-spring-framework-application/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.