I am looking for a framework to enable statistics, meaning I need to see how many people is using/has used my java services at a given time, with metrics of how many operations, etc etc.
I'm also looking for a mechanism to limit the number of people that can access the system, meaning that only 100 users may concurrently use a service at a given time (or execute other performance tweaks)
The framework should be server independent, and hopefully, open source
I've found Spirng JMX, and nothing else. Are there other frameworks I should look up? How fitting is Spring JMX for this purposes?