---
title: "Cassandra"
description: ""
url: "https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/cassandra/index.html"
---
## Overview

Cassandra monitoring is a Gateway configuration file that enables monitoring of Cassandra through a set of samplers with customised JMX plug-in settings.

Apache Cassandra is a free and open-source distributed NoSQL database management system that provides scalability and high-availability.

Some of Cassandra's key attributes are:

- **Fault tolerant** - Data is automatically replicated to multiple nodes for fault-tolerance.
- **Decentralized** - There are no single points of failure.
- **Elastic** - Read and write throughput increase linearly as new machines are added, with no downtime or interruption to applications.

It is important to monitor Cassandra performance to identify database slowdowns, interruptions, and take quick and appropriate actions to correct them.

## Intended audience

This guide is intended for users who are setting up, configuring, troubleshooting and maintaining this integration. This is also intended for users who will be using Active Console to monitor data from Cassandra. Once the integration is set up, the samplers providing the dataviews become available to that Gateway.

As a user, you should be familiar with SQL Server or any other database, and with the administration of the Cassandra services.

## Prerequisites

 
 The following requirements must be met before the installation and setup of the template:


 - A machine running the Netprobe must have access to the host where the Cassandra instance is installed and the port Cassandra is listening to.
 - A JMX-enabled Cassandra cluster.
 - Netprobe version 4.6 or higher.
 - Gateway version 4.8 or higher.
 - Cassandra version 3.11.1.


## Installation procedure

 Ensure that you have read and can follow the system requirements prior to installation and setup of this integration template.

1. Download the integration package `geneos-integration-cassandra-<version>.zip` from the [Downloads](https://resources.itrsgroup.com/downloads) site.
2. Open Gateway Setup Editor.
3. In the **Navigation** panel, click **Includes** to create a new file.
4. Enter the location of the file to include in the **Location** field. In this example, it is the `include/CassandraMonitoring.xml`.
5. Update the **Priority** field. This can be any value except `1`. If you input a priority of `1`, the Gateway Setup Editor returns an error.
6. Expand the file location in the **Includes** section.
7. Select **Click to load**.
8. Click **Yes** to load the new Cassandra include file.

    ![](https://docscdn.itrsgroup.com/geneos/images/integrations/cassandra-ug-load-integration-file.png)

10. Click **Managed entities** in the Navigation panel.
11. Add the **Cassandra** type to the Managed Entity section that you will use to monitor Cassandra.
12. Click **Validate current document** ![](https://docscdn.itrsgroup.com/geneos/images/Icons/validate22x22.png "icon") to check your configuration.
13. Click **Save current document** ![](https://docscdn.itrsgroup.com/geneos/images/Icons/save16x16.png "icon") to apply the changes.

    ![](https://docscdn.itrsgroup.com/geneos/images/integrations/cassandra-ug-add-managed-entity.png)

### Set up the samplers

These are the pre-configured samplers available to use in `CassandraMonitoring.xml`.

Configure the required fields by referring to the table below:

### Set up the variables

The `CassandraMonitoring.xml` template provides the variables that are set in the **Environments** section:

<div class="table-container">
<table class="legacy-table" style="width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');margin-left: 0;margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                        <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                        <thead>
                            <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Samplers</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Cassandra-GC</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Cassandra-Throughput</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Cassandra-Latency</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Cassandra-DiskUsage</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Cassandra-Errors</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Cassandra-Tasks</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1"> </td>
                            </tr>
                        </tbody>
                    </table>
                    
</div><div class="table-container">
<table class="legacy-table" style="width: 100%;margin-left: 0;margin-right: auto;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');" class="TableStyle-ref_2_col_table" cellspacing="0">
                        <col class="TableStyle-ref_2_col_table-Column-Column1" style="width: 400px;"/>
                        <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                        <thead>
                            <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Variable</th>
                                <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CASSANDRA_JMX_PORT</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                        Cassandra host name.
                                        <div> </div><div>Default: localhost</div></td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CASSANDRA_JMX_HOST</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                       Cassandra JMX port.
                                        <div> </div><div>Default: 7199</div></td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CASSANDRA_MONITORING_GROUP_NAME</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Sampler group name. <div> </div><div>Default: Cassandra</div></td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"> </td>
                                <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1"> </td>
                            </tr>
                        </tbody>
                    </table>
                
</div>

### Set up the rules

The `CassandraMonitoring-SampleRules.xml` template also provides a separate sample rules that you can use to configure the Gateway Setup Editor.

Your configuration rules must be set in the **Includes** section. In the Navigation panel, click **Rules**.

The table below shows the included rule setup in the configuration file:

<div class="table-container">
<table class="legacy-table" style="width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');margin-left: 0;margin-right: auto;" class="TableStyle-ref_2_col_table" cellspacing="0">
                        <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                        <col class="TableStyle-ref_2_col_table-Column-Column1"/>
                        <thead>
                            <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1">Sample Rules</th>
                                <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1">Description</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Errors - Read Unavailable</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                    <p>Sets the severity to critical if the number of read unavailable exceptions exceeds CASSANDRA_ERRORS_READ_UNAVAILABLE_THERESHOLD. </p>
                                    <p>Default: Threshold is set to 0</p>
                                </td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Errors - Write Unavailable</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                    <p>Sets the severity to critical if the number of write unavailable exceptions exceeds CASSANDRA_ERRORS_WRITE_UNAVAILABLE_THERESHOL.</p>
                                    <p>Default: Threshold is set to 0</p>
                                </td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Disk Usage - High Load</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Sets the severity to critical if the storage load exceeds CASSANDRA_DISK_USAGE_HIGH_LOAD_THRESHOLD. The threshold must be set for the rule to take effect. There is no default value provided.</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Throughput - High Read Throughput</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Sets the severity to critical if the read throughput of the last minute exceeds
CASSANDRA_THROUGHPUT_HIGH_READ_THRESHOLD. The threshold must be set for the rule to take effect. There is no default value provided.</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Throughput - High Write Throughput</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Sets the severity to critical if the write throughput of the last minute exceeds CASSANDRA_THROUGHPUT_HIGH_WRITE_THRESHOLD. The threshold must be set for the rule to take effect. There is no default value provided.</td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">GC - ParNew - High Last GC Duration </td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                    <p>Sets the severity to critical is the last ParNew GC duration exceeds CASSANDRA_GC_LONG_PARNEW_GC_DURATION_THRESHOLD. </p>
                                    <p>Default: Threshold is set to 300 milliseconds .</p>
                                </td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">GC - CMS - High Last GC Duration</td>
                                <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">
                                    <p>Sets the severity to critical if the last CMS GC duration exceeds CASSANDRA_GC_LONG_CMS_GC_DURATION_THRESHOLD.</p>
                                    <p>Default: Threshold is set to 300 milliseconds</p>
                                </td>
                            </tr>
                            <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"> </td>
                                <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1"> </td>
                            </tr>
                        </tbody>
                    </table>
                
</div>

## Metrics and dataviews

### Cassandra disk usage

This dataview displays the disk usage-related metrics. Monitoring these node-level metrics are critical to determine if additional nodes are needed:

[![](https://docscdn.itrsgroup.com/geneos/images/integrations/cassandra-tr-diskusage-dataview.png)](https://docscdn.itrsgroup.com/geneos/images/integrations/cassandra-tr-diskusage-dataview.png)

<div class="table-container">
<table class="legacy-table"   style="margin-left: 0;margin-right: auto;width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');" cellspacing="0">
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <thead>
                                <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                    <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1"><strong>Row</strong>
                                    </th>
                                    <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1"><strong>Description</strong>
                                    </th>
                                </tr>
                            </thead>
                            <tbody valign="top">
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Compaction CompletedTasks</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of completed compactions since the server (re)start.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Compation PendingTasks</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Estimated number of compactions remaining to perform.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Storage Load</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">The size, in bytes, of the on disk data size this node manages.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"> </td>
                                    <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1"> </td>
                                </tr>
                            </tbody>
                        </table>
                        
</div>

#### MBeans for Cassandra-DiskUsage

- org.apache.cassandra.metrics:type=Compaction,name=CompletedTasks
- org.apache.cassandra.metrics:type=Compaction,name=PendingTasks
- org.apache.cassandra.metrics:type=Storage,name=Load

### Cassandra errors

This dataview displays the count of specific errors and exceptions encountered by a Cassandra node. These metrics are helpful in identifying problematic nodes:

![](https://docscdn.itrsgroup.com/geneos/images/integrations/cassandra-tr-errors-dataview.png)

<div class="table-container">
<table class="legacy-table"   style="margin-left: 0;margin-right: auto;width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');" cellspacing="0">
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <thead>
                                <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                    <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1"><strong>Column</strong>
                                    </th>
                                    <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1"><strong>Description</strong>
                                    </th>
                                </tr>
                            </thead>
                            <tbody valign="top">
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">StorageExceptions</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of internal exceptions caught. Under normal exceptions, this should be zero.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ReadTimeouts</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of read timeouts encountered.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">WriteTimeouts</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of write timeouts encountered.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ReadUnavailables</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of read unavailable exceptions encountered.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">WriteUnavailables</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of write unavailable exceptions encountered.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"> </td>
                                    <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1"> </td>
                                </tr>
                            </tbody>
                        </table>
                        
</div>

#### MBeans for Cassandra-Errors

- org.apache.cassandra.metrics:type=Storage,name=Exceptions
- org.apache.cassandra.metrics:type=ClientRequest,scope=Read,name=Timeouts
- org.apache.cassandra.metrics:type=ClientRequest,scope=Write,name=Timeouts
- org.apache.cassandra.metrics:type=ClientRequest,scope=Read,name=Unavailables
- org.apache.cassandra.metrics:type=ClientRequest,scope=Write,name=Unavailables

### Cassandra GC

This dataview displays the selected JVM Garbage Collector metrics. Cassandra is a Java-based system so it relies on Java garbage collection (GC) processes to free up memory. Any significant increase in GC latency will impact Cassandra’s performance:

![](https://docscdn.itrsgroup.com/geneos/images/integrations/cassandra-tr-gc-dataview.png)

<div class="table-container">
<table class="legacy-table"   style="margin-left: 0;margin-right: auto;width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');" cellspacing="0">
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <thead>
                                <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                    <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1"><strong>Column</strong>
                                    </th>
                                    <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1"><strong>Description</strong>
                                    </th>
                                </tr>
                            </thead>
                            <tbody valign="top">
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ConcurrentMarkSweep CollectionCount</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Total number of CMS collections that have occurred.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ConcurrentMarkSweep CollectionTime</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Approximate accumulated CMS collection elapsed time in milliseconds.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ConcurrentMarkSweep LastGCDuration</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Elapsed time of the last CMS GC in milliseconds.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ParNew CollectionCount</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Total number of ParNew collections that have occurred.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ParNew CollectionTime</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Approximate accumulated ParNew collection elapsed time in milliseconds.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ParNew LastGCDuration</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Elapsed time of the last ParNew GC in milliseconds.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"> </td>
                                    <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1"> </td>
                                </tr>
                            </tbody>
                        </table>
                        
</div>

#### MBeans for Cassandra-GC

- java.lang:type=GarbageCollector,name=ConcurrentMarkSweep,\*
- java.lang:type=GarbageCollector,name=ParNew,\*

### Cassandra latency

This dataview displays the node-level latency metrics. It gives a view on Cassandra's performance and can identify potential, network issues, or bottlenecks:

![](https://docscdn.itrsgroup.com/geneos/images/integrations/cassandra-tr-latency-dataview.png)

<div class="table-container">
<table class="legacy-table"   style="margin-left: 0;margin-right: auto;width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');" cellspacing="0">
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <thead>
                                <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                    <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1"><strong>Column</strong>
                                    </th>
                                    <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1"><strong>Description</strong>
                                    </th>
                                </tr>
                            </thead>
                            <tbody valign="top">
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Operation</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Type of operation (Read or Write).</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Events</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of operation events.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">TotalLatency</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Accumulated latency in microseconds.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">AverageLatency</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Average latency in microseconds (TotalLatency divided by Events).</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"> </td>
                                    <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1"> </td>
                                </tr>
                            </tbody>
                        </table>
                        
</div>

#### MBeans for Cassandra-Latency

- org.apache.cassandra.metrics:type=ClientRequest,scope=Read,name=Latency
- org.apache.cassandra.metrics:type=ClientRequest,scope=Read,name=TotalLatency
- org.apache.cassandra.metrics:type=ClientRequest,scope=Write,name=Latency
- org.apache.cassandra.metrics:type=ClientRequest,scope=Write,name=TotalLatency

### Cassandra tasks

This dataview displays the count of pending and blocked tasks in various stages. It identifies bottlenecks and potential problems:

![](https://docscdn.itrsgroup.com/geneos/images/integrations/cassandra-tr-tasks-dataview.png)

<div class="table-container">
<table class="legacy-table"   style="margin-left: 0;margin-right: auto;width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');" cellspacing="0">
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <thead>
                                <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                    <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1"><strong>Column</strong>
                                    </th>
                                    <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1"><strong>Description</strong>
                                    </th>
                                </tr>
                            </thead>
                            <tbody valign="top">
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">Status</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Task status (Blocked or Pending).</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">CounterMutationStage</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of tasks in the Counter Mutation stage.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">MutationStage</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of tasks in the Mutation stage.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ReadRepairStage</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of tasks in the Read Repair stage.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ReadStage</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of tasks in the Read stage.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">RequestResponseStage</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Number of tasks in the Request Response stage.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"> </td>
                                    <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1"> </td>
                                </tr>
                            </tbody>
                        </table>
                        
</div>

#### MBeans for Cassandra-Tasks

- org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=CounterMutationStage,name=<CurrentlyBlockedTasks | PendingTasks>
- org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=MutationStage,name=<CurrentlyBlockedTasks | PendingTasks> PendingTasks>org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadRepairStage,name==<CurrentlyBlockedTasks | PendingTasks>
- org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadStage,name==<CurrentlyBlockedTasks | PendingTasks>
- org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=RequestResponseStage,name==<CurrentlyBlockedTasks | PendingTasks>

### Cassandra throughput

This dataview displays the node-level throughput metrics. It gives a high-level view on the node’s activity levels and is important in understanding how and how much the node is being used:

![](https://docscdn.itrsgroup.com/geneos/images/integrations/cassandra-tr-throughput-dataview.png)

<div class="table-container">
<table class="legacy-table"   style="margin-left: 0;margin-right: auto;width: 100%;mc-table-style: url('../Resources/TableStyles/ref_2_col_table.css');" cellspacing="0">
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <col style="width: 50%;" class="TableStyle-ref_2_col_table-Column-Column1"/>
                            <thead>
                                <tr class="TableStyle-ref_2_col_table-Head-Header1">
                                    <th class="TableStyle-ref_2_col_table-HeadE-Column1-Header1"><strong>Column</strong>
                                    </th>
                                    <th class="TableStyle-ref_2_col_table-HeadD-Column1-Header1"><strong>Description</strong>
                                    </th>
                                </tr>
                            </thead>
                            <tbody valign="top">
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">TimePeriod</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Time period (1 or 5 minutes).</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">ReadThroughput</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Read events per second during the last time period.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyE-Column1-Body1">WriteThroughput</td>
                                    <td class="TableStyle-ref_2_col_table-BodyD-Column1-Body1">Write events per second during the last time period.</td>
                                </tr>
                                <tr class="TableStyle-ref_2_col_table-Body-Body1">
                                    <td class="TableStyle-ref_2_col_table-BodyB-Column1-Body1"> </td>
                                    <td class="TableStyle-ref_2_col_table-BodyA-Column1-Body1"> </td>
                                </tr>
                            </tbody>
                        </table>
                        
</div>

#### MBeans for Cassandra-Throughput

- org.apache.cassandra.metrics:type=ClientRequest,scope=Read,name=Latency
- org.apache.cassandra.metrics:type=ClientRequest,scope=Write,name=Latency

