Scylla JMX proxy
Go to file
Amnon Heiman dd2d50a45c Overriden the Metric data collection
Three of the Metric in the yammer library are based on data that is
pushed to them: Counter, Histogram and Meter.

This patch modify the specific functionality by inherit the original
Meter, keeping its functionality and API, and modify the way the data is
collected.

For Counter: A call to count will be implementing by calling the API to
retreive a value.

For Meter: A call to count will be implementing by calling the API to
retreive a value, similiar to count, but the timer aspect of the Meter
remains the same.

For histogram: Histogram uses an internal sample container. To mimic the
behaviour, a call to any of the historgram get functionality will update
the sample container first. A timestamp of the last update limits the
number of updates that will be done by the histogram.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
2015-06-11 11:53:51 +03:00
src/main/java Overriden the Metric data collection 2015-06-11 11:53:51 +03:00
pom.xml Adding the yammer counter library to pom 2015-06-11 11:32:29 +03:00
README.md Adding the JMX README file 2015-05-17 12:58:59 +03:00

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)