what is the fastest way to get performance metrics of all spring services?
Asked
Active
Viewed 1,596 times
3
-
2Give us more detail. What kind of performance metrics? Which spring services? What platform / web container? – Stephen C Jun 28 '10 at 00:54
3 Answers
6
You could use JAMon and apply the JamonPerformanceMonitorInterceptor
on your services.

Pascal Thivent
- 562,542
- 136
- 1,062
- 1,124
-
2You could use JavaSimon instead which is being actively maintained and has a similar AOP Spring interceptor. JAMon seems to have gone fallow. – Melloware Mar 23 '11 at 18:37
2
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.

duffymo
- 305,152
- 44
- 369
- 561
1
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:
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/

Jonathan Holloway
- 62,090
- 32
- 125
- 150
-
Beet is indeed interesting. However, official Spring 3.0 support has yet to be released. – Pascal Thivent Jun 28 '10 at 01:15