what is the fastest way to get performance metrics of all spring services?
Asked
Active
Viewed 1,530 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.
![](../../users/profiles/70604.webp)
Pascal Thivent
- 535,937
- 127
- 1,027
- 1,106
-
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.
![](../../users/profiles/37213.webp)
duffymo
- 293,097
- 41
- 348
- 541
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/
![](../../users/profiles/82865.webp)
Jon
- 55,763
- 30
- 120
- 149
-
Beet is indeed interesting. However, official Spring 3.0 support has yet to be released. – Pascal Thivent Jun 28 '10 at 01:15