cld.sanchez
unread,Feb 22, 2012, 10:27:42 AM2/22/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to javasimon
Hello, I'm trying to take statistics snapshots every x minutes and
write them in a log. The idea is to get something similar to the
result of the perf4j log parser. This is an example log:
Simon key=/server/url1.do, hits=1.0, avg=20.0, total=20.0, min=20.0,
max=20.0, first=Wed Feb 22 09:23:57 EST 2012, last=Wed Feb 22 09:23:57
EST 2012
Simon key=/server/url2.do, hits=5.0, avg=10.0, total=50.0, min=5.0,
max=15.0, first=Wed Feb 22 09:23:17 EST 2012, last=Wed Feb 22 09:25:57
EST 2012
I want to known if there is a way to do this. I have configured the
simon web filter, the jdbc driver and I have intercepted some methods
using spring and every works fine. On the other hand I have a process
that run every x minutes (this process have to log the monitor of the
last x minutes).
But I don't known how to take snapshots (i.e summaries of the last x
minutes)
Thanks, Claudio.