In 8.x of MWS, we introduced a lightweight performance service solution based on 7.x that was suitable for production. Attached to this thread is a backport of the majority of that functionality for 7.x (7.1.2 and 7.1.3).
It allows you to monitor via JMX all of the performance tokens that are generated by default from MWS with Visual VM or JConsole.
It also includes the source code for the wm_jmxsupport.war that registers custom ManagedBeans with the PlatformMBeanServer so you can add your own MBeans if you want as well.
If you want to add your own Performance Tokens, have a look at the communities for the tutorial that describes how to do that.
I’ve added v2 of this sample because of a change in some of the MWS fixes to the ConnectionPool class. V2 should be compatible with and without those fixes.
JMX Perf Service 7.x.zip (126 KB)
BaseMBean.java (8.13 KB)
JMX Perf Service 7.x - v2.zip.zip (146 KB)