Skip to content

Apache Cassandra

Monitor Cassandra 3.11 and above using Node Tools command line utilities.

2 min read Updated SS

Supported Components and Versions#

LAYER COMPONENT VERSION
DB Server Cassandra 3.11 and above

Monitoring Strategies for Components#

Cassandra is monitored using Node Tools command line tools. Out-of-the-box producer scripts from HEAL use these tools to generate metrics, which are then pushed to HEAL’s Ingestion API layer.

KPIs collected#

Component Name kpi_name kpi_identifier KpiDescription Units
Cassandra Throughput Write cassandra-throughput-write##@@##OneMinuteRate The rate at which data is being written. Seconds
Cassandra Throughput Read cassandra-throughput-read##@@##OneMinuteRate The rate at which data is being read. Seconds
Cassandra Write Latency cassandra-write-latency##@@##Count the time it takes to write data to the storage device. Microseconds
Cassandra Read Latency cassandra-read-latency##@@##Count The amount of time it takes to read data from a data source. Microseconds
Cassandra Key cache hits cassandra-Key-cache-hits##@@##Count The total number of times a requested key is found in the cache and returned. Seconds
Cassandra Key cache requests cassandra-key-cache-requests##@@##Count The total number of times a key is requested from the cache. Seconds
Cassandra Storage Exception cassandra-storage-exception##@@##Count Requests for which Cassandra encountered an (often nonfatal) error Count
Cassandra Timeout Read Exception cassandra-timeout-read-exception##@@##Count Requests not acknowledged within configurable read timeout window Count
Cassandra Timeout Write Exception cassandra-timeout-write-exception##@@##Count Requests not acknowledged within configurable write timeout window Count
Cassandra Unavailable Read Exception cassandra-unavailable-timeout-read-exception##@@##Count Requests for which the required number of nodes was unavailable for read Count
Cassandra Unavailable Write Exception cassandra-unavailable-timeout-write-exception##@@##Count Requests for which the required number of nodes was unavailable for write Count
Cassandra Load cassandra-load##@@##Count 'Disk space used on a node, in bytes' Bytes
Cassandra Total disk space used cassandra-total-disk-space-used##@@##Value 'Disk space used by a column family, in bytes' Bytes
Cassandra Completed compaction tasks cassandra-completed-compaction-tasks##@@##Value The number of completed compaction tasks in a database. Count
Cassandra Pending compaction tasks cassandra-pending-compaction-tasks##@@##Value Total compaction tasks in queue Count
Cassandra ParNew count cassandra-parnew-count##@@##CollectionCount Number of young-generation collections Count
Cassandra ParNew time cassandra-parnew-time##@@##CollectionTime 'Elapsed time of young-generation collections, in milliseconds' Milliseconds
Cassandra ConcurrentMarkSweep Count cassandra-concurrentmarksweep##@@##CollectionCount The number of concurrent mark and sweep garbage collection cycles performed. Count
Cassandra ConcurrentMarkSweep time cassandra-concurrentmarksweep##@@##CollectionTime 'Elapsed time of old-generation collections, in milliseconds' Milliseconds
Cassandra CounterMutationStageValue cassandra-countermutationstage##@@##Value The number of tasks in a queue at any given moment is described by the metric pending tasks Count
Cassandra MutationStageValue cassandra-mutationstage##@@##Value The number of tasks in a queue at any given moment is described by the metric pending tasks Count
Cassandra ReadRepairStage cassandra-readrepairstage##@@##Value The number of tasks in a queue at any given moment is described by the metric pending tasks Count
Cassandra ReadStage cassandra-readstage##@@##Value The number of tasks in a queue at any given moment is described by the metric pending tasks Count
Cassandra RequestResponseStage cassandra-requestresponsestage##@@##Value The number of tasks in a queue at any given moment is described by the metric pending tasks Count
Cassandra CounterMutationStage cassandra-countermutationstage##@@##Count 'Once the queue of pending tasks fills up, Cassandra will register additional incoming tasks as currently blocked, although those tasks may eventually be accepted and executed' Count
Cassandra MutationStage cassandra-mutationstage##@@##Count 'Once the queue of pending tasks fills up, Cassandra will register additional incoming tasks as currently blocked, although those tasks may eventually be accepted and executed' Count
Cassandra ReadRepairStage cassandra-readrepairrtage##@@##Count 'Once the queue of pending tasks fills up, Cassandra will register additional incoming tasks as currently blocked, although those tasks may eventually be accepted and executed' Count
Cassandra ReadStage cassandra-readstage##@@##Count 'Once the queue of pending tasks fills up, Cassandra will register additional incoming tasks as currently blocked, although those tasks may eventually be accepted and executed' Count
Cassandra RequestResponseStage cassandra-requestresponsestage##@@##Count 'Once the queue of pending tasks fills up, Cassandra will register additional incoming tasks as currently blocked, although those tasks may eventually be accepted and executed' Count
Cassandra Component Properties Component_Properties The properties of a component such as its version and configuration. Text
Cassandra File Watch FILE_WATCH Monitors file changes in a directory or a specific file. Text