Mule Statistics via JMX
Following my previous article on JMX and security, I’d like to talk about one other question that I’m often asked: Where are all the statistics?
Setting up a normal JMX agent in Mule does not seem to provide too many statistics and this can be confusing as one of the advantages of being able to instrument an application using JMX is that you can retrieve statistical data.
The Mule JMX agent does not automatically do this; statistic collection is disabled because of the potential negative effect this can have on your application (a case of Shroedinger’s Mule, perhaps?)
You can easily enable this though by configuring the JMX agent as follows:
<management:jmx-server enableStatistics="false"/>
If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: JMX, monitoring, statistics