Java REST WebService resource access statistics

I have implemented a REST web service written in Java and I am about to add statistics collection functionality. If it were a few years ago, I would write some method call interceptors, increment some counters, expose them through JMX, and pipe all these things to RRDTool or Cacti.

I don't know, and I was unable to find something related to this task, but maybe there are some frameworks that already do this, or at least simplify the process? For example, I could measure the time it took to execute a custom query, but it’s much more difficult to analyze which query parameters a method uses more / faster.

Ideally, I'm looking for some build of annotation based analytics. Then I could annotate the methods with which I collect the call statistics, and then later I could open the statistics on some web page and see a very detailed report.

Does something exist currently like this?

+3
java web-statistics


source to share


No one has answered this question yet

Check out similar questions:

6170
Is Java "pass-by-reference" or "pass-by-value"?
3799
How do I read / convert an InputStream to a string in Java?
3324
How to generate random integers in a specific range in Java?
3073
How to efficiently iterate over each entry in a Java map?
3044
Making a memory leak with Java
2956
What is the difference between public, secure, batch and private in Java?
2936
When to use LinkedList over ArrayList in Java?
2853
How can I convert String to int in Java?
2248
Is a finally block always executable in Java?
2171
How to determine if an array contains a specific value in Java?



All Articles
Loading...
X
Show
Funny
Dev
Pics