Troubleshoot issues and monitor performance of the Cassandra cluster by gathering
detailed metrics.
The following task provides an example for capturing
max
range slice latency. For a list of Cassandra metrics, see the Apache
documentation.
-
On the Decision Data Store node, download the JMXTerm executable
JAR
file by entering the following command: wget
https://github.com/jiaqi/jmxterm/releases/download/v1.0.0/jmxterm-1.0.0-uber.jar
For more information, see the JMXTerm documentation.
-
From your console, run JMXTerm by entering the following
command:java -jar jmxterm-1.0.0-uber.jar
-
Open a connection to Cassandra
JMX
by entering the following command:open
127.0.0.1:7199
-
Set the
correct
bean by entering the following command: bean
org.apache.cassandra.metrics:type=ClientRequest,scope=RangeSlice,name=Latency
-
Get
statistic by entering the following command: get
Max