Capturing Cassandra metrics

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.
  1. 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.
  2. From your console, run JMXTerm by entering the following command:java -jar jmxterm-1.0.0-uber.jar
  3. Open a connection to Cassandra JMX by entering the following command:open 127.0.0.1:7199
  4. Set the correct bean by entering the following command: bean org.apache.cassandra.metrics:type=ClientRequest,scope=RangeSlice,name=Latency
  5. Get statistic by entering the following command: get Max