代码之家  ›  专栏  ›  技术社区  ›  egervari

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

  •  3
  • egervari  · 技术社区  · 16 年前

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

    3 回复  |  直到 16 年前
        1
  •  6
  •   Pascal Thivent    16 年前
        2
  •  2
  •   duffymo    16 年前

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

        3
  •  1
  •   Jonathan Holloway    16 年前

    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/

    这里还有一篇文章描述了如何使用BEET收集性能指标(例如方法调用时间):

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