Cassandra

Note

This plugin is currently being groomed to be an integration. It works, but we haven’t spent a lot of time on it yet to optimize the user experience. Feel free to try it out, just keep in mind that we will be enhancing the experience over time.

Overview

This plugin collects JMX metrics from Cassandra. The plugin uses Jolokai read service.

Note

This plugin is currently only available for x86_64 Linux and Cassandra version 3+

Setup

The cassandra plugin is included with the AppOptics host agent by default, please follow the directions below to enable it for a host agent instance.

Prerequisites

This plugin requires that the Jolokai read service be available. This line of code should return results from the service:

curl "http://localhost:8778/jolokia/read/java.lang:type=Memory/HeapMemoryUsage"
# response
{
   "request":{
      "mbean":"java.lang:type=Memory",
      "attribute":"HeapMemoryUsage",
      "type":"read"
   },
   "value":{
      "init":520093696,
      "committed":509607936,
      "max":509607936,
      "used":137689336
   },
   "timestamp":1510095659,
   "status":200
}

If there is an issue getting a valid response, you will need to add the read service. You can download the JVM agent jar here. Then you can copy the jar to the Cassandra lib directory (/usr/share/cassandra/lib). Add the following line to the cassandra-env.sh file:

# Jolokia javaagent. Make sure you use the appropriate version number
JVM_OPTS="$JVM_OPTS -javaagent:$CASSANDRA_HOME/lib/jolokia-jvm-1.3.7-agent.jar"

Optionally you can change the default port if you like:

JVM_OPTS="$JVM_OPTS -javaagent:$CASSANDRA_HOME/lib/jolokia-jvm-1.3.7-agent.jar=port=<agent_port>,host=<node_ip>", or
JVM_OPTS="$JVM_OPTS -javaagent:$CASSANDRA_HOME/lib/jolokia-jvm-1.3.7-agent.jar=config=/path/to/config.properties

There are more configuration options here. You need to restart the Cassandra service.

sudo service cassandra restart

Configuration

The host agent provides an example configuration file to help you get started quickly. It defines the plugin and task file to be loaded by the agent, but requires you to provide the correct settings for your Apache server. To enable the plugin:

  1. Make a copy of the cassandra example configuration file /opt/appoptics/etc/plugins.d/cassandra.yaml.example, renaming it to /opt/appoptics/etc/plugins.d/cassandra.yaml:
$ sudo cp /opt/appoptics/etc/plugins.d/cassandra.yaml.example /opt/appoptics/etc/plugins.d/cassandra.yaml
  1. Update /opt/appoptics/etc/plugins.d/cassandra.yaml configuration file with settings specific to your Cassandra servers, for example:
collector:
  cassandra:
    all:
      context: "/jolokia/read"
      servers: "127.0.0.1:8778"
      metrics: |-
        /java.lang:type=GarbageCollector,name=ConcurrentMarkSweep/CollectionTime
        /java.lang:type=GarbageCollector,name=ConcurrentMarkSweep/CollectionCount
        /java.lang:type=GarbageCollector,name=ParNew/CollectionTime
        /java.lang:type=GarbageCollector,name=ParNew/CollectionCount
        /java.lang:type=Memory/HeapMemoryUsage
        /java.lang:type=Memory/NonHeapMemoryUsage
        /org.apache.cassandra.metrics:type=Cache,scope=*,name=*
        /org.apache.cassandra.metrics:type=Client,name=*
        /org.apache.cassandra.metrics:type=ClientRequest,scope=*,name=*
        /org.apache.cassandra.metrics:type=CommitLog,name=*
        /org.apache.cassandra.metrics:type=Compaction,name=*
        /org.apache.cassandra.metrics:type=Storage,name=*
        /org.apache.cassandra.metrics:type=Table,keyspace=*,scope=*,name=*
        /org.apache.cassandra.metrics:type=ThreadPools,path=*,scope=*,name=*
load:
  plugin: snap-plugin-collector-bridge-cassandra
  task: task-bridge-cassandra.yaml

Note

Take care to only add metrics you’re interested in tracking because the metric count and cardinality can grow rapidly, particularly with the Table metrics.

The metrics can be trimmed down to fit your monitoring needs. You can also filter by keyspace, scope, or name tags to limit the amount of metrics forwarded to AppOptics.

  1. Restart the host agent:
$ sudo service appoptics-snapteld restart
  1. Enable the Cassandra plugin

On the Integrations Page you will see the Cassandra available if the previous steps were successful.

Metrics and Tags

The table below lists each of the metrics gathered from the status endpoint.

Cache Metrics

Metric Name Description
cassandra.cassandraCache.Capacity_Value Cache capacity in bytes
cassandra.cassandraCache.Entries_Value Total number of cache entries
cassandra.cassandraCache.Hits_Count Total number of cache hits
cassandra.cassandraCache.Hits_FifteenMinuteRate 15m cache hit rate
cassandra.cassandraCache.Hits_FiveMinuteRate 5m cache hit rate
cassandra.cassandraCache.Hits_MeanRate Mean cache hit rate
cassandra.cassandraCache.Hits_OneMinuteRate 1m cache hit rate
cassandra.cassandraCache.Requests_Count Total number of cache requests
cassandra.cassandraCache.Requests_FifteenMinuteRate 15m cache request rate
cassandra.cassandraCache.Requests_FiveMinuteRate 5m cache request rate
cassandra.cassandraCache.Requests_MeanRate Request mean rate
cassandra.cassandraCache.Requests_OneMinuteRate 1m cahce request rate
cassandra.cassandraCache.Size_Value Total size of occupied cache, in bytes

Cache Metric Tags

The table below outlines the default set of tags provided for each metric.

Tag Name Description
scope Name of the scope
hostname Name of the host. Instead of using that tag we recommend using the @host alias.
cassandra_host Name of the Cassandra host
mname Name of the metric

Client Metrics

Metric Name Description
cassandra.cassandraClient.connectedNativeClients_Value Number of clients connected to this nodes native protocol server

Client Metric Tags

The table below outlines the default set of tags provided for each metric.

Tags Description
cassandra_host Name of the Cassandra host
mname Name of the metric
hostname Name of the host. Instead of using that tag we recommend using the @host alias.

Client Request Metrics

Metric Name Description
cassandra.cassandraClientRequest.Failures_Count Number of client request failures encountered
cassandra.cassandraClientRequest.Failures_FifteenMinuteRate 15m failure rate
cassandra.cassandraClientRequest.Failures_FiveMinuteRate 5m failure rate
cassandra.cassandraClientRequest.Failures_MeanRate Mean failure rate
cassandra.cassandraClientRequest.Failures_OneMinuteRate 1m failure rate
cassandra.cassandraClientRequest.Latency_50thPercentile 50th percentile read request latency
cassandra.cassandraClientRequest.Latency_75thPercentile 75th percentile read request latency
cassandra.cassandraClientRequest.Latency_95thPercentile 95th percentile read request latency
cassandra.cassandraClientRequest.Latency_98thPercentile 98th percentile read request latency
cassandra.cassandraClientRequest.Latency_999thPercentile 999th percentile read request latency
cassandra.cassandraClientRequest.Latency_99thPercentile 99th percentile read request latency
cassandra.cassandraClientRequest.Latency_Count Transaction read latency
cassandra.cassandraClientRequest.Latency_FifteenMinuteRate 15m read latency rate
cassandra.cassandraClientRequest.Latency_FiveMinuteRate 5m read latency rate
cassandra.cassandraClientRequest.Latency_Max Max read latency rate
cassandra.cassandraClientRequest.Latency_MeanRate Mean read latency rate
cassandra.cassandraClientRequest.Latency_Min Min read latency rate
cassandra.cassandraClientRequest.Latency_OneMinuteRate 1m read latency rate
cassandra.cassandraClientRequest.Latency_StdDev Read latency rate standard deviation
cassandra.cassandraClientRequest.Timeouts_Count Number of timeouts encountered
cassandra.cassandraClientRequest.Timeouts_FifteenMinuteRate 15m rate of timeouts encountered
cassandra.cassandraClientRequest.Timeouts_FiveMinuteRate 5m rate of timeouts encountered
cassandra.cassandraClientRequest.Timeouts_MeanRate Mean rate of timeouts encountered
cassandra.cassandraClientRequest.Timeouts_OneMinuteRate 1m rate of timeouts encountered
cassandra.cassandraClientRequest.TotalLatency_Count Total latency
cassandra.cassandraClientRequest.Unavailables_Count Number of unavailable exceptions encountered
cassandra.cassandraClientRequest.Unavailables_FifteenMinuteRate 15m rate of unavailable exceptions encountered
cassandra.cassandraClientRequest.Unavailables_FiveMinuteRate 5m rate of unavailable exceptions encountered
cassandra.cassandraClientRequest.Unavailables_MeanRate Mean rate of unavailable exceptions encountered
cassandra.cassandraClientRequest.Unavailables_OneMinuteRate 1m rate of unavailable exceptions encountered

ClientRequest Metric Tags

The table below outlines the default set of tags provided for each metric.

Tags Description
cassandra_host Name of the Cassandra host
mname Name of the metric
scope Name of the scope
hostname Name of the host. Instead of using that tag we recommend using the @host alias.

CommitLog Metrics

Metric Name Description
cassandra.cassandraCommitLog.PendingTasks_Value Number of commit log messages written but yet to be fsync’d
cassandra.cassandraCommitLog.TotalCommitLogSize_Value Current size, in bytes, used by all the commit log segments

CommitLog Metric Tags

The table below outlines the default set of tags provided for each metric.

Tags Description
cassandra_host Name of the Cassandra host
mname Name of the metric
hostname Name of the host. Instead of using that tag we recommend using the @host alias.

Compaction Metrics

Metric Name Description
cassandra.cassandraCompaction.BytesCompacted_Count Total number of bytes compacted since server [re]start
cassandra.cassandraCompaction.CompletedTasks_Value Number of completed compactions since server [re]start
cassandra.cassandraCompaction.PendingTasks_Value Estimated number of compactions remaining to perform
cassandra.cassandraCompaction.TotalCompactionsCompleted_FifteenMinuteRate 15m rate of compactions completed
cassandra.cassandraCompaction.TotalCompactionsCompleted_FiveMinuteRate 5m rate of compactions completed
cassandra.cassandraCompaction.TotalCompactionsCompleted_MeanRate Mean rate of compactions completed
cassandra.cassandraCompaction.TotalCompactionsCompleted_OneMinuteRate 1m rate of compactions completed

Compaction Metric Tags

The table below outlines the default set of tags provided for each metric.

Tags Description
cassandra_host Name of the Cassandra host
mname Name of the metric
scope Name of the scope
hostname Name of the host. Instead of using that tag we recommend using the @host alias.

Storage Metrics

Metric Name Description
cassandra.cassandraStorage.Exceptions_Count Number of internal exceptions caught.
cassandra.cassandraStorage.Load_Count Size, in bytes, of the on disk data size this node manages

Tags

The table below outlines the default set of tags provided for each metric.

Tags Description
cassandra_host Name of the Cassandra host
mname Name of the metric
scope Name of the scope
hostname Name of the host. Instead of using that tag we recommend using the @host alias.

Table Metrics

Metric Name Description
cassandra.cassandraTable.AllMemtablesHeapSize_Value Total amount of data stored in the memtables (2i and pending flush memtables included) that resides on-heap
cassandra.cassandraTable.AllMemtablesLiveDataSize_Value Total amount of live data stored in the memtables (2i and pending flush memtables included) that resides off-heap, excluding any data structure overhead
cassandra.cassandraTable.AllMemtablesOffHeapSize_Value Total amount of data stored in the memtables (2i and pending flush memtables included) that resides off-heap
cassandra.cassandraTable.BloomFilterDiskSpaceUsed_Value Disk space used by bloom filter (in bytes)
cassandra.cassandraTable.BloomFilterFalsePositives_Value Number of false positives on table’s bloom filter
cassandra.cassandraTable.BloomFilterFalseRatio_Value False positive ratio of table’s bloom filter
cassandra.cassandraTable.BloomFilterOffHeapMemoryUsed_Value Off-heap memory used by bloom filter
cassandra.cassandraTable.BytesFlushed_Count Total number of bytes flushed since server [re]start
cassandra.cassandraTable.CasCommitLatency_50thPercentile 50th percentile of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_75thPercentile 75th percentile of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_95thPercentile 95th percentile of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_98thPercentile 98th percentile of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_999thPercentile 999th percentile of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_99thPercentile 99th percentile of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_Count Count of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_FifteenMinuteRate 15m rate of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_FiveMinuteRate 5m rate of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_Max Max of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_MeanRate Mean of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_Min Min of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_OneMinuteRate 1m rate of latency of paxos commit round
cassandra.cassandraTable.CasCommitLatency_StdDev Stddev of latency of paxos commit round
cassandra.cassandraTable.CasCommitTotalLatency_Count Total of latency of paxos commit round
cassandra.cassandraTable.CasPrepareLatency_50thPercentile 50th percentile of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_75thPercentile 75th percentile of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_95thPercentile 95th percentile of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_98thPercentile 98th percentile of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_999thPercentile 999th percentile of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_99thPercentile 99th percentile of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_Count Count of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_FifteenMinuteRate 15m rate of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_FiveMinuteRate 5m rate of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_Max Max rate of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_MeanRate Mean rate of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_Min Min rate of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_OneMinuteRate 1m rate of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareLatency_StdDev Stddev of latency of paxos prepare round
cassandra.cassandraTable.CasPrepareTotalLatency_Count Total of latency of paxos prepare round
cassandra.cassandraTable.CasProposeLatency_50thPercentile 50th percentile of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_75thPercentile 75th percentile of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_95thPercentile 95th percentile of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_98thPercentile 98th percentile of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_999thPercentile 999th percentile of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_99thPercentile 99th percentile of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_Count Count of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_FifteenMinuteRate 15m rate of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_FiveMinuteRate 5m rate of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_Max Max rate of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_MeanRate Mean rate of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_Min Min rate of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_OneMinuteRate 1m rate of latency of paxos propose round
cassandra.cassandraTable.CasProposeLatency_StdDev Stddev of latency of paxos propose round
cassandra.cassandraTable.CasProposeTotalLatency_Count Total of latency of paxos propose round
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_50thPercentile 50th percentile of column update time delta on this table
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_75thPercentile 75th percentile of column update time delta on this table
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_95thPercentile 95th percentile of column update time delta on this table
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_98thPercentile 98th percentile of column update time delta on this table
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_999thPercentile 999th percentile of column update time delta on this table
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_99thPercentile 99th percentile of column update time delta on this table
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_Count Count of column update time delta on this table
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_Max Max of column update time delta on this table
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_Mean Mean of column update time delta on this table
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_Min Min of column update time delta on this table
cassandra.cassandraTable.ColUpdateTimeDeltaHistogram_StdDev Stddev of column update time delta on this table
cassandra.cassandraTable.CompactionBytesWritten_Count Total number of bytes written by compaction since server start
cassandra.cassandraTable.CompressionMetadataOffHeapMemoryUsed_Value Off-heap memory used by compression meta data
cassandra.cassandraTable.CompressionRatio_Value Current compression ratio for all SSTables
cassandra.cassandraTable.CoordinatorReadLatency_50thPercentile 50th percentile coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_75thPercentile 75th percentile coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_95thPercentile 95th percentile coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_98thPercentile 98th percentile coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_999thPercentile 999th percentile coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_99thPercentile 99th percentile coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_Count Count for coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_FifteenMinutteRate 15m rate for coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_FiveMinuteRate 5m rate for coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_Max Max rate for coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_MeanRate Mean rate for coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_Min Min rate for coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_OneMinuteRate 1m rate for coordinator read latency for a table
cassandra.cassandraTable.CoordinatorReadLatency_StdDev Standard deviation for coordinator read latency for a table
cassandra.cassandraTable.CoordinatorScanLatency_50thPercentile 50th percentile of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_75thPercentile 75th percentile of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_95thPercentile 95th percentile of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_98thPercentile 98th percentile of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_999thPercentile 999th percentile of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_99thPercentile 99th percentile of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_Count Count of of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_FifteenMinuteRate 15m rate of of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_FiveMinuteRate 5m rate of of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_Max Max rate of of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_MeanRate Mean rate of of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_Min Min rate of of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_OneMinuteRate 1m rate of of coordinator range scan latency for this table
cassandra.cassandraTable.CoordinatorScanLatency_StdDev Stddev of of coordinator range scan latency for this table
cassandra.cassandraTable.DroppedMutations_Count Number of dropped mutations on this table
cassandra.cassandraTable.EstimatedPartitionCount_Value Approximate number of keys in table
cassandra.cassandraTable.IndexSummaryOffHeapMemoryUsed_Valuee Off-heap memory used by index summary
cassandra.cassandraTable.KeyCacheHitRate_Value Key cache hit rate for this table
cassandra.cassandraTable.LiveDiskSpaceUsed_Count Disk space used by SSTables belonging to this table (in bytes)
cassandra.cassandraTable.LiveScannedHistogram_50thPercentile 50th percentile of live cells scanned in queries on this table
cassandra.cassandraTable.LiveScannedHistogram_75thPercentile 75th percentile of live cells scanned in queries on this table
cassandra.cassandraTable.LiveScannedHistogram_95thPercentile 95th percentile of live cells scanned in queries on this table
cassandra.cassandraTable.LiveScannedHistogram_98thPercentile 98th percentile of live cells scanned in queries on this table
cassandra.cassandraTable.LiveScannedHistogram_999thPercentile 999th percentile of live cells scanned in queries on this table
cassandra.cassandraTable.LiveScannedHistogram_99thPercentile 99th percentile of live cells scanned in queries on this table
cassandra.cassandraTable.LiveScannedHistogram_Count Count of live cells scanned in queries on this table
cassandra.cassandraTable.LiveScannedHistogram_Max Max of live cells scanned in queries on this table
cassandra.cassandraTable.LiveScannedHistogram_Mean Mean of live cells scanned in queries on this table
cassandra.cassandraTable.LiveScannedHistogram_Min Min of live cells scanned in queries on this table
cassandra.cassandraTable.LiveScannedHistogram_StdDev Stddev of live cells scanned in queries on this table
cassandra.cassandraTable.LiveSSTableCount_Value Number of SSTables on disk for this table
cassandra.cassandraTable.MaxPartitionSize_Value Size of the largest compacted partition (in bytes)
cassandra.cassandraTable.MeanPartitionSize_Value Size of the average compacted partition (in bytes)
cassandra.cassandraTable.MemtableColumnsCount_Value Total number of columns present in the memtable
cassandra.cassandraTable.MemtableLiveDataSize_Value Total amount of live data stored in the memtable
cassandra.cassandraTable.MemtableOffHeapSize_Value Total amount of data stored in the memtable that resides off-heap
cassandra.cassandraTable.MemtableOnHeapSize_Value Total amount of data stored in the memtable that resides on-heap
cassandra.cassandraTable.MemtableSwitchCount_Count Number of times flush has resulted in the memtable being switched out
cassandra.cassandraTable.MinPartitionSize_Value Size of the smallest compacted partition (in bytes)
cassandra.cassandraTable.PendingCompactions_Value Estimate of number of pending compactions for this table
cassandra.cassandraTable.PendingFlushes_Count Estimated number of flush tasks pending for this table
cassandra.cassandraTable.PercentRepaired_Value Percent of table data that is repaired on disk
cassandra.cassandraTable.RangeLatency_50thPercentile 50th percentile of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_75thPercentile 75th percentile of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_95thPercentile 95th percentile of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_98thPercentile 98th percentile of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_999thPercentile 999th percentile of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_99thPercentile 99th percentile of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_Count Count of of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_FifteenMinuteRate 15m rate of of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_FiveMinuteRate 5m rate of of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_Max Max rate of of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_MeanRate Mean rate of of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_Min Min rate of of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_OneMinuteRate 1m rate of of local range scan latency for this table
cassandra.cassandraTable.RangeLatency_StdDev Stddev of local range scan latency for this table
cassandra.cassandraTable.RangeTotalLatency_Count Total of local range scan latency for this table
cassandra.cassandraTable.ReadLatency_50thPercentile 50th percentile local read latency for this table
cassandra.cassandraTable.ReadLatency_75thPercentile 75th percentile local read latency for this table
cassandra.cassandraTable.ReadLatency_95thPercentile 95th percentile local read latency for this table
cassandra.cassandraTable.ReadLatency_98thPercentile 98th percentile local read latency for this table
cassandra.cassandraTable.ReadLatency_999thPercentile 999th percentile local read latency for this table
cassandra.cassandraTable.ReadLatency_99thPercentile 99th percentile local read latency for this table
cassandra.cassandraTable.ReadLatency_Count Local read latency for this table
cassandra.cassandraTable.ReadLatency_FifteenMinuteRate 15m rate local read latency for this table
cassandra.cassandraTable.ReadLatency_FiveMinuteRate 5m rate local read latency for this table
cassandra.cassandraTable.ReadLatency_Max Max rate local read latency for this table
cassandra.cassandraTable.ReadLatency_MeanRate Mean rate local read latency for this table
cassandra.cassandraTable.ReadLatency_Min Min rate local read latency for this table
cassandra.cassandraTable.ReadLatency_OneMinuteRate 1m rate local read latency for this table
cassandra.cassandraTable.ReadLatency_StdDev StdDev rate local read latency for this table
cassandra.cassandraTable.ReadTotalLatency_Count Total local read latency for this table
cassandra.cassandraTable.RecentBloomFilterFalsePositives_Value Number of false positives on table’s bloom filter
cassandra.cassandraTable.RecentBloomFilterFalseRatio_Value False positive ratio of table’s bloom filter
cassandra.cassandraTable.RowCacheHit_Count Number of table row cache hits
cassandra.cassandraTable.RowCacheHitOutOfRange_Count Number of table row cache hits that do not satisfy the query
cassandra.cassandraTable.RowCacheMiss_Count Number of table row cache misses
cassandra.cassandraTable.ShortReadProtectionRequests_Count Count of requests for short read protection
cassandra.cassandraTable.ShortReadProtectionRequests_FifteenMinuteRate 15m rate of requests for short read protection
cassandra.cassandraTable.ShortReadProtectionRequests_FiveMinuteRate 15m rate of requests for short read protection
cassandra.cassandraTable.ShortReadProtectionRequests_MeanRate Mean rate of requests for short read protection
cassandra.cassandraTable.ShortReadProtectionRequests_OneMinuteRate 1m rate of requests for short read protection
cassandra.cassandraTable.SnapshotsSize_Value Disk space used by snapshots of this table including
cassandra.cassandraTable.SpeculativeRetries_Count Number of times speculative retries were sent for this table
cassandra.cassandraTable.SSTablesPerReadHistogram_50thPercentile 50th percentile for number of sstable files accessed per read
cassandra.cassandraTable.SSTablesPerReadHistogram_75thPercentile 75th percentile for number of sstable files accessed per read
cassandra.cassandraTable.SSTablesPerReadHistogram_95thPercentile 95th percentile for number of sstable files accessed per read
cassandra.cassandraTable.SSTablesPerReadHistogram_98thPercentile 98th percentile for number of sstable files accessed per read
cassandra.cassandraTable.SSTablesPerReadHistogram_999thPercentile 999th percentile for number of sstable files accessed per read
cassandra.cassandraTable.SSTablesPerReadHistogram_99thPercentile 99th percentile for number of sstable files accessed per read
cassandra.cassandraTable.SSTablesPerReadHistogram_Count Count for number of sstable files accessed per read
cassandra.cassandraTable.SSTablesPerReadHistogram_Max Max for number of sstable files accessed per read
cassandra.cassandraTable.SSTablesPerReadHistogram_Mean Mean for number of sstable files accessed per read
cassandra.cassandraTable.SSTablesPerReadHistogram_Min Min for number of sstable files accessed per read
cassandra.cassandraTable.SSTablesPerReadHistogram_StdDev Stddev for number of sstable files accessed per read
cassandra.cassandraTable.TombstoneScannedHistogram_50thPercentile 50th percentile tombstones scanned in queries on this table
cassandra.cassandraTable.TombstoneScannedHistogram_75thPercentile 75th percentile tombstones scanned in queries on this table
cassandra.cassandraTable.TombstoneScannedHistogram_95thPercentile 95th percentile tombstones scanned in queries on this table
cassandra.cassandraTable.TombstoneScannedHistogram_98thPercentile 98th percentile tombstones scanned in queries on this table
cassandra.cassandraTable.TombstoneScannedHistogram_999thPercentile 999th percentile tombstones scanned in queries on this table
cassandra.cassandraTable.TombstoneScannedHistogram_99thPercentile 99th percentile tombstones scanned in queries on this table
cassandra.cassandraTable.TombstoneScannedHistogram_Count Count of tombstones scanned in queries on this table
cassandra.cassandraTable.TombstoneScannedHistogram_Max Max of tombstones scanned in queries on this table
cassandra.cassandraTable.TombstoneScannedHistogram_Mean Mean of tombstones scanned in queries on this table<Paste>
cassandra.cassandraTable.TombstoneScannedHistogram_Min Min of tombstones scanned in queries on this table
cassandra.cassandraTable.TombstoneScannedHistogram_StdDev Stddev of tombstones scanned in queries on this table
cassandra.cassandraTable.TotalDiskSpaceUsed_Count Total disk space used by SSTables belonging to this table
cassandra.cassandraTable.ViewLockAcquireTime_50thPercentile 50th percentile of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_75thPercentile 75th percentile of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_95thPercentile 95th percentile of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_98thPercentile 98th percentile of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_999thPercentile 999th percentile of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_99thPercentile 99th percentile of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_Count Count of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_FifteenMinuteRate 15m rate of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_FiveMinuteRate 5m rate of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_Max Max of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_MeanRate Mean of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_Min Min of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_OneMinuteRate 1m rate of time taken acquiring a partition lock
cassandra.cassandraTable.ViewLockAcquireTime_StdDev Stddev of time taken acquiring a partition lock
cassandra.cassandraTable.ViewReadTime_50thPercentile 50th percentile of time taken during the local read
cassandra.cassandraTable.ViewReadTime_75thPercentile 75th percentile of time taken during the local read
cassandra.cassandraTable.ViewReadTime_95thPercentile 95th percentile of time taken during the local read
cassandra.cassandraTable.ViewReadTime_98thPercentile 98th percentile of time taken during the local read
cassandra.cassandraTable.ViewReadTime_999thPercentile 999th percentile of time taken during the local read
cassandra.cassandraTable.ViewReadTime_99thPercentile 99th percentile of time taken during the local read
cassandra.cassandraTable.ViewReadTime_Count Count of time taken during the local read
cassandra.cassandraTable.ViewReadTime_FifteenMinuteRate 15m rate of time taken during the local read
cassandra.cassandraTable.ViewReadTime_FiveMinuteRate 5m rate of time taken during the local read
cassandra.cassandraTable.ViewReadTime_Max Max of time taken during the local read
cassandra.cassandraTable.ViewReadTime_MeanRate Mean of time taken during the local read
cassandra.cassandraTable.ViewReadTime_Min Min of time taken during the local read
cassandra.cassandraTable.ViewReadTime_OneMinuteRate 1m of time taken during the local read
cassandra.cassandraTable.ViewReadTime_StdDev Stddev of time taken during the local read
cassandra.cassandraTable.WaitingOnFreeMemtableSpace_50thPercentile 50th percentile of time spent waiting for free memtable space
cassandra.cassandraTable.WaitingOnFreeMemtableSpace_75thPercentile 75th percentile of time spent waiting for free memtable space
cassandra.cassandraTable.WaitingOnFreeMemtableSpace_95thPercentile 95th percentile of time spent waiting for free memtable space
cassandra.cassandraTable.WaitingOnFreeMemtableSpace_98thPercentile 98th percentile of time spent waiting for free memtable space
cassandra.cassandraTable.WaitingOnFreeMemtableSpace_999thPercentile 999th percentile of time spent waiting for free memtable space
cassandra.cassandraTable.WaitingOnFreeMemtableSpace_99thPercentile 99th percentile of time spent waiting for free memtable space
cassandra.cassandraTable.WaitingOnFreeMemtableSpace_Count Count of time spent waiting for free memtable space
cassandra.cassandraTable.WaitingOnFreeMemtableSpace_Max Max of time spent waiting for free memtable space
cassandra.cassandraTable.WaitingOnFreeMemtableSpace_Min Min of time spent waiting for free memtable space
cassandra.cassandraTable.WaitingOnFreeMemtableSpace_StdDev Stddev of time spent waiting for free memtable space
cassandra.cassandraTable.WriteLatency_50thPercentile 50th percentile local write latency for this table
cassandra.cassandraTable.WriteLatency_75thPercentile 75th percentile local write latency for this table
cassandra.cassandraTable.WriteLatency_95thPercentile 95th percentile local write latency for this table
cassandra.cassandraTable.WriteLatency_98thPercentile 98th percentile local write latency for this table
cassandra.cassandraTable.WriteLatency_999thPercentile 999th percentile local write latency for this table
cassandra.cassandraTable.WriteLatency_99thPercentile 99th percentile local write latency for this table
cassandra.cassandraTable.WriteLatency_Count Local write latency for this table
cassandra.cassandraTable.WriteLatency_FifteenMinuteRate 15m rate local write latency for this table
cassandra.cassandraTable.WriteLatency_FiveMinuteRate 5m rate local write latency for this table
cassandra.cassandraTable.WriteLatency_Max Max rate local write latency for this table
cassandra.cassandraTable.WriteLatency_Mean Mean local write latency for this table
cassandra.cassandraTable.WriteLatency_MeanRate Mean rate local write latency for this table
cassandra.cassandraTable.WriteLatency_Min Min rate local write latency for this table
cassandra.cassandraTable.WriteLatency_OneMinuteRate 1m rate local write latency for this table
cassandra.cassandraTable.WriteLatency_StdDev StdDev rate local write latency for this table
cassandra.cassandraTable.WriteTotalLatency_Count Total local write latency for this table

Table Metric Tags

The table below outlines the default set of tags provided for each metric.

Tags Description
cassandra_host Name of the Cassandra host
mname Name of the metric
scope Name of the scope
keyspace Name of the keyspace
hostname Name of the host. Instead of using that tag we recommend using the @host alias.

Thread Pool Metrics

Metric Name Description
cassandra.cassandraThreadPools.ActiveTasks_Value Number of tasks being actively worked on by this pool
cassandra.cassandraThreadPools.CurrentlyBlockedTasks_Count Number of tasks that are currently blocked due to queue saturation but on retry will become unblocked
cassandra.cassandraThreadPools.PendingTasks_Value Number of queued tasks queued up on this pool

Thread Pool Metric Tags

The table below outlines the default set of tags provided for each metric.

Tags Description
cassandra_host Name of the Cassandra host
mname Name of the metric
scope Name of the scope
hostname Name of the host. Instead of using that tag we recommend using the @host alias.

Java GC Metrics

Metric Name Description
cassandra.javaGarbageCollector.CollectionCount Total number of collections that have occurred
cassandra.javaGarbageCollector.CollectionTime Approximate accumulated collection elapsed time in milliseconds

Java GC Metric Tags

The table below outlines the default set of tags provided for each metric.

Tags Description
cassandra_host Name of the Cassandra host
mname Name of the metric
hostname Name of the host. Instead of using that tag we recommend using the @host alias.

Java Memory Metrics

Metric Name Description
cassandra.javaMemory.HeapMemoryUsage_committed Amount of memory in bytes that is committed for the JVM to use
cassandra.javaMemory.HeapMemoryUsage_init Amount of memory in bytes that the JVM requests from the OS
cassandra.javaMemory.HeapMemoryUsage_max Max amt of memory in bytes that can be used for mem management
cassandra.javaMemory.HeapMemoryUsage_used Ratio of used to maximum memory
cassandra.javaMemory.NonHeapMemoryUsage_committed Amount of memory in bytes that is committed for the JVM to use
cassandra.javaMemory.NonHeapMemoryUsage_init Amount of memory in bytes that the JVM requests from the OS
cassandra.javaMemory.NonHeapMemoryUsage_max Max amt of memory in bytes that can be used for mem management
cassandra.javaMemory.NonHeapMemoryUsage_used Ratio of used to maximum memory

Java Memory Metrics Tags

The table below outlines the default set of tags provided for each metric.

Tags Description
cassandra_host Name of the Cassandra host
mname Name of the metric
hostname Name of the host. Instead of using that tag we recommend using the @host alias.