Viewing metrics

The MBeans tab contains all the packages exposed by Cassandra, along with some Java-related packages exposed by default for any Java process. You can navigate to any of the nested methods to get a value of an attribute. In the following screenshot, the DownEndpoint metric can be viewed through org.apache.Cassandra.net | FailureDetector | Attributes | DownEndpointCount, which gives a count of the number of nodes that are down. Which is your favorite metric in Cassandra?

Figure 7.3: Viewing DownEndpointCount metrics on JConsole

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.