Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

Cassandra Metrics Reference

Apache Cassandra exposes 500+ metrics via JMX using the Dropwizard Metrics library. This reference provides comprehensive documentation of all metrics with recommended thresholds.

Cassandra metrics follow this naming pattern:

org.apache.cassandra.metrics:type={Type},keyspace={ks},scope={scope},name={MetricName}
TypeDescription
TimerLatency distribution (count, mean, percentiles)
CounterCumulative count
GaugePoint-in-time value
HistogramValue distribution
MeterRate of events

Type: ClientRequest

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

AttributeTypeDescription
CountlongTotal reads
MeandoubleMean latency (μs)
50thPercentiledoublep50 latency
75thPercentiledoublep75 latency
95thPercentiledoublep95 latency
99thPercentiledoublep99 latency
999thPercentiledoublep999 latency
MaxdoubleMaximum latency
OneMinuteRatedoubleReads per second

Thresholds:

PercentileWarningCritical
p505ms20ms
p9950ms500ms
p999200ms2000ms

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

AttributeTypeDescription
CountlongTotal writes
MeandoubleMean latency (μs)
50thPercentiledoublep50 latency
99thPercentiledoublep99 latency
OneMinuteRatedoubleWrites per second

Thresholds:

PercentileWarningCritical
p502ms10ms
p9910ms100ms

ObjectName: org.apache.cassandra.metrics:type=ClientRequest,scope={Read|Write},name=Timeouts

AttributeDescription
CountTotal timeout count
OneMinuteRateTimeouts per second

Alert: Any timeouts warrant investigation.

ObjectName: org.apache.cassandra.metrics:type=ClientRequest,scope={Read|Write},name=Unavailables

AttributeDescription
CountTotal unavailable errors
OneMinuteRateUnavailables per second

Alert: Indicates insufficient replicas available for requested consistency level.

ObjectName: org.apache.cassandra.metrics:type=ClientRequest,scope={Read|Write},name=Failures

AttributeDescription
CountTotal failures
OneMinuteRateFailures per second

Type: Table

Per-keyspace and per-table metrics.

ObjectName: org.apache.cassandra.metrics:type=Table,keyspace={ks},scope={table},name=ReadLatency

Same attributes as ClientRequest latency but scoped to specific table.

ObjectName: org.apache.cassandra.metrics:type=Table,keyspace={ks},scope={table},name=LiveSSTableCount

AttributeDescription
ValueNumber of live SSTables

Threshold: > 20-30 SSTables may indicate compaction lag.

ObjectName: org.apache.cassandra.metrics:type=Table,keyspace={ks},scope={table},name=TotalDiskSpaceUsed

AttributeDescription
CountBytes on disk

ObjectName: org.apache.cassandra.metrics:type=Table,keyspace={ks},scope={table},name=MemtableLiveDataSize

AttributeDescription
ValueBytes in memtable

ObjectName: org.apache.cassandra.metrics:type=Table,keyspace={ks},scope={table},name=EstimatedPartitionSizeHistogram

AttributeDescription
ValueHistogram array of partition sizes

Alert: Partitions > 100MB are problematic.

ObjectName: org.apache.cassandra.metrics:type=Table,keyspace={ks},scope={table},name=TombstoneScannedHistogram

AttributeDescription
ValueHistogram of tombstones scanned per read

Threshold: > 1000 tombstones/read indicates query optimization needed.

ObjectName: org.apache.cassandra.metrics:type=Table,keyspace={ks},scope={table},name=BloomFilterFalseRatio

AttributeDescription
ValueFalse positive ratio (0.0-1.0)

Threshold: > 0.01 may indicate need for larger bloom filters.

ObjectName: org.apache.cassandra.metrics:type=Table,keyspace={ks},scope={table},name=SpeculativeRetries

AttributeDescription
CountNumber of speculative retries

Type: Compaction

ObjectName: org.apache.cassandra.metrics:type=Compaction,name=PendingTasks

AttributeDescription
ValuePending compaction tasks

Thresholds:

LevelValue
Normal< 5
Warning5-20
Critical> 50

ObjectName: org.apache.cassandra.metrics:type=Compaction,name=CompletedTasks

AttributeDescription
ValueCompleted compactions

ObjectName: org.apache.cassandra.metrics:type=Compaction,name=BytesCompacted

AttributeDescription
CountTotal bytes compacted
OneMinuteRateCompaction throughput

ObjectName: org.apache.cassandra.metrics:type=Compaction,name=TotalCompactionsCompleted

AttributeDescription
CountTotal completed compactions
OneMinuteRateCompactions per second

Type: ThreadPools

PoolPathDescription
ReadStagerequestProcesses reads
MutationStagerequestProcesses writes
CounterMutationStagerequestCounter writes
ViewMutationStagerequestMV updates
GossipStageinternalGossip processing
CompactionExecutorinternalCompaction
MemtableFlushWriterinternalMemtable flush
MemtablePostFlushinternalPost-flush
Native-Transport-RequeststransportCQL requests

ObjectName: org.apache.cassandra.metrics:type=ThreadPools,path={path},scope={stage},name=ActiveTasks

AttributeDescription
ValueCurrently active tasks

ObjectName: org.apache.cassandra.metrics:type=ThreadPools,path={path},scope={stage},name=PendingTasks

AttributeDescription
ValueTasks waiting in queue

Alert: Pending tasks > 0 for extended periods indicates overload.

ObjectName: org.apache.cassandra.metrics:type=ThreadPools,path={path},scope={stage},name=CurrentlyBlockedTasks

AttributeDescription
CountTotal blocked tasks
ValueCurrently blocked

Alert: Any blocked tasks indicate severe overload.

ObjectName: org.apache.cassandra.metrics:type=ThreadPools,path={path},scope={stage},name=CompletedTasks

AttributeDescription
ValueTotal completed tasks

Type: Cache

MetricObjectName SuffixDescription
Sizescope=KeyCache,name=SizeEntries in cache
Capacityscope=KeyCache,name=CapacityMax entries
Hitsscope=KeyCache,name=HitsCache hits
Requestsscope=KeyCache,name=RequestsTotal requests
HitRatescope=KeyCache,name=HitRateHit ratio

Target: > 85% hit rate.

MetricObjectName SuffixDescription
Sizescope=RowCache,name=SizeEntries in cache
Capacityscope=RowCache,name=CapacityMax entries
Hitsscope=RowCache,name=HitsCache hits
HitRatescope=RowCache,name=HitRateHit ratio
MetricObjectName SuffixDescription
Sizescope=CounterCache,name=SizeEntries in cache
HitRatescope=CounterCache,name=HitRateHit ratio

ObjectName: org.apache.cassandra.metrics:type=Cache,scope=ChunkCache,name={metric}

MetricDescription
SizeCached chunks
MissesCache misses
MissLatencyMiss latency

Type: DroppedMessage

ObjectName: org.apache.cassandra.metrics:type=DroppedMessage,scope={type},name=Dropped

TypeDescription
MUTATIONDropped writes
READDropped reads
READ_REPAIRDropped read repairs
RANGE_SLICEDropped range queries
COUNTER_MUTATIONDropped counter writes
HINTDropped hints
PAGED_RANGEDropped paged queries
AttributeDescription
CountTotal dropped
OneMinuteRateDrops per second

Alert: Any dropped messages indicate severe issues.


Type: Storage

ObjectName: org.apache.cassandra.metrics:type=Storage,name=Load

AttributeDescription
CountTotal bytes on disk

ObjectName: org.apache.cassandra.metrics:type=Storage,name=Exceptions

AttributeDescription
CountStorage exceptions

Type: Connection

ObjectName: org.apache.cassandra.metrics:type=Client,name=connectedNativeClients

AttributeDescription
ValueConnected CQL clients

ObjectName: org.apache.cassandra.metrics:type=Connection,scope={host},name=*

MetricDescription
CommandPendingTasksPending requests
CommandCompletedTasksCompleted requests
CommandDroppedTasksDropped requests

Type: Streaming

ObjectName: org.apache.cassandra.metrics:type=Streaming,scope={host},name=*

MetricDescription
IncomingBytesBytes received
OutgoingBytesBytes sent

Standard JVM MBeans:

ObjectName: java.lang:type=Memory

AttributeDescription
HeapMemoryUsage.usedCurrent heap usage
HeapMemoryUsage.maxMaximum heap

Threshold: > 70% warning, > 85% critical.

ObjectName: java.lang:type=GarbageCollector,name={collector}

AttributeDescription
CollectionCountTotal collections
CollectionTimeTotal collection time (ms)

CategoryKey MetricsAlert Focus
Client RequestsLatency, Timeouts, UnavailablesResponse times
TablesSSTable count, Partition sizeData model
CompactionPending tasksMaintenance lag
Thread PoolsPending, BlockedCapacity
CachesHit rateEfficiency
Dropped MessagesAll typesOverload