Scylla JMX proxy
dd2d50a45c
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> |
||
---|---|---|
src/main/java | ||
pom.xml | ||
README.md |
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)