Amnon Heiman
e2cdc95b81
APIHistogram: Moving the histogram data collection to the API
This patch replace the Histogram data and statistic calculation from the JMX proxy to the API. This way the count, sum, min, max variance and square sum are calculated always on the server. When an update is perform, the API would return the statistic with a sample of the last n elements as a sample. This implementation insure that the counters are correct. The implementation also allows to set the minimal update interval. The implementation adds a mutable getter for each of the parameters so they could be set to their new value. Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
Urchin JMX Interface
This is the JMX interface for urchin.
Compile
To compile do:
mvn install
Run
The maven will copy relevant jars to your local directory and would set the classpath accordingly.
java -jar target/urchin-mbean-1.0.jar
Setting IP and Port
By default the the JMX would connect to a node on the localhost on port 10000.
The jmx API uses the system properties to set the IP address and Port. To change the ip address use the apiaddress property (e.g. -Dapiaddress=1.1.1.1) To change the port use the apiport (e.g. -Dapiport=10001)
Description
Languages
Java
92.4%
Python
4.5%
Shell
3.1%