We have an application at work that we'd like to monitor for performance. Actually, what we want to monitor is not our app's performance, but things like response time for external web services we invoke.
Years ago, using ATG Dynamo, you could instrument your code with something like...
Performance.monitorStart("my.operation");
try {
// code goes here
}
finally {
Performance.monitorEnd("my.operation");
}
; this generated a nice report of the time spent in diverse operations, in a friendlier way than hprof. Ideally, the time should be persisted (db or otherwise).
I recall seeing somewhere (here? Dzone? TSS?) about a new library that does this, but googling reveals nothing.
Thoughts?
Alex