JMX monitoring/statistics in Akka application

5.5k views Asked by At

Are there any built in JMX exposed monitoring/statistics that can be enabled in Akka (Java), besides the Cluster MBean? I have looked at Typesafe Console, but since it requires a license to be used with collecting data from multiple nodes, I was hoping to be able to achieve the same with plain JMX. I have checked the Akka documentation without any luck on this topic.

2

There are 2 answers

9
sourcedelica On BEST ANSWER

No - the Cluster JMX support is it.

There are a couple of projects aimed at collecting data from Akka. Both are at very early stages at this point but the code could be a starting point for you.

Both are using AspectJ to get the data out of Akka.

Typesafe Console is free to use in non-Production environments, if that works for you.

0
Tolsi On

Try this. I did a pull request with the necessary functionality to Kamon. After the release of this version (after 0.5.1), all you will need to do to make jmx work - you need to add the module kamon-jmx to project and activate it autostart on configuration.