Created
December 4, 2017 09:51
-
-
Save timc3/ca9824fb701e1c1673976ff1b6dc0060 to your computer and use it in GitHub Desktop.
Cassandra 3.11 CollectD for Stackdriver configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the monitoring configuration for Cassandra 3.11 | |
# Taken and modified from Google Stackdrivers Cassandra 2.2.x configuration. | |
# Look for CASSANDRA_HOST and CASSANDRA_PORT to adjust your configuration file. | |
LoadPlugin java | |
<Plugin "java"> | |
JVMARG "-Djava.class.path=/opt/stackdriver/collectd/share/collectd/java/collectd-api.jar:/opt/stackdriver/collectd/share/collectd/java/generic-jmx.jar" | |
LoadPlugin "org.collectd.java.GenericJMX" | |
<Plugin "GenericJMX"> | |
<MBean "cassandra_storageservice-load"> | |
ObjectName "org.apache.cassandra.metrics:type=Storage,name=Load" | |
<Value> | |
Type "gauge" | |
InstancePrefix "storage_service-load" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_storageservice-exceptions"> | |
ObjectName "org.apache.cassandra.metrics:type=Storage,name=Exceptions" | |
<Value> | |
Type "counter" | |
InstancePrefix "storage_service-exception_count" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_commitlog-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=CommitLog,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "commitlog-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_commitlog-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=CommitLog,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "commitlog-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_commitlog-totalsize"> | |
ObjectName "org.apache.cassandra.metrics:type=CommitLog,name=TotalCommitLogSize" | |
<Value> | |
Type "gauge" | |
InstancePrefix "commitlog-total_size" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_compactionmanager-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=Compaction,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "compaction_manager-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_compactionmanager-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=Compaction,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "compaction_manager-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_MutationStage-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=MutationStage,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "mutation_stage-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_MutationStage-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=MutationStage,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "mutation_stage-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_MutationStage-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=MutationStage,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "mutation_stage-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_MutationStage-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=MutationStage,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "mutation_stage-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_ReadRepairStage-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadRepairStage,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "read_repair_stage-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_ReadRepairStage-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadRepairStage,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "read_repair_stage-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_ReadRepairStage-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadRepairStage,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "read_repair_stage-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_ReadRepairStage-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadRepairStage,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "read_repair_stage-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_ReadStage-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadStage,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "read_stage-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_ReadStage-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadStage,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "read_stage-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_ReadStage-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadStage,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "read_stage-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_ReadStage-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=ReadStage,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "read_stage-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_RequestResponseStage-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=RequestResponseStage,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "request_response_stage-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_RequestResponseStage-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=RequestResponseStage,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "request_response_stage-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_RequestResponseStage-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=RequestResponseStage,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "request_response_stage-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_stage_RequestResponseStage-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=request,scope=RequestResponseStage,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "request_response_stage-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_AntiEntropyStage-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=AntiEntropyStage,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "anti_entropy_stage-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_AntiEntropyStage-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=AntiEntropyStage,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "anti_entropy_stage-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_AntiEntropyStage-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=AntiEntropyStage,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "anti_entropy_stage-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_AntiEntropyStage-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=AntiEntropyStage,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "anti_entropy_stage-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_FlushWriter-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MemtableFlushWriter,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "flush_writer-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_FlushWriter-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MemtableFlushWriter,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "flush_writer-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_FlushWriter-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MemtableFlushWriter,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "flush_writer-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_FlushWriter-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MemtableFlushWriter,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "flush_writer-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_GossipStage-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=GossipStage,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "gossip_stage-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_GossipStage-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=GossipStage,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "gossip_stage-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_GossipStage-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=GossipStage,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "gossip_stage-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_GossipStage-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=GossipStage,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "gossip_stage-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_HintsDispatcher-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=HintsDispatcher,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "hinted_handoff-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_HintsDispatcher-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=HintsDispatcher,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "hinted_handoff-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_HintsDispatcher-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=HintsDispatcher,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "hinted_handoff-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_HintsDispatcher-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=HintsDispatcher,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "hinted_handoff-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_InternalResponseStage-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=InternalResponseStage,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "internal_response_stage-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_InternalResponseStage-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=InternalResponseStage,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "internal_response_stage-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_InternalResponseStage-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=InternalResponseStage,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "internal_response_stage-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_InternalResponseStage-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=InternalResponseStage,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "internal_response_stage-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MemtablePostFlusher-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MemtablePostFlush,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "memtable_post_flusher-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MemtablePostFlusher-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MemtablePostFlush,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "memtable_post_flusher-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MemtablePostFlusher-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MemtablePostFlush,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "memtable_post_flusher-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MemtablePostFlusher-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MemtablePostFlush,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "memtable_post_flusher-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MigrationStage-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MigrationStage,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "migration_stage-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MigrationStage-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MigrationStage,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "migration_stage-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MigrationStage-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MigrationStage,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "migration_stage-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MigrationStage-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MigrationStage,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "migration_stage-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MiscStage-active"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MiscStage,name=ActiveTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "misc_stage-active_count" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MiscStage-blocked"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MiscStage,name=CurrentlyBlockedTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "misc_stage-currently_blocked_tasks" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MiscStage-pending"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MiscStage,name=PendingTasks" | |
<Value> | |
Type "gauge" | |
InstancePrefix "misc_stage-pending_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_internal_MiscStage-completed"> | |
ObjectName "org.apache.cassandra.metrics:type=ThreadPools,path=internal,scope=MiscStage,name=CompletedTasks" | |
<Value> | |
Type "counter" | |
InstancePrefix "misc_stage-completed_tasks" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_Cache_KeyCache-Hits"> | |
ObjectName "org.apache.cassandra.metrics:type=Cache,scope=KeyCache,name=Hits" | |
<Value> | |
Type "counter" | |
InstancePrefix "cache_key_cache-hits" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_ClientRequest_Read-Latency"> | |
ObjectName "org.apache.cassandra.metrics:type=ClientRequest,scope=Read,name=Latency" | |
<Value> | |
Type "gauge" | |
InstancePrefix "client_request_read-latency-max" | |
Table false | |
Attribute "Max" | |
</Value> | |
<Value> | |
Type "gauge" | |
InstancePrefix "client_request_read-latency-99p" | |
Table false | |
Attribute "99thPercentile" | |
</Value> | |
<Value> | |
Type "gauge" | |
InstancePrefix "client_request_read-latency-95p" | |
Table false | |
Attribute "95thPercentile" | |
</Value> | |
<Value> | |
Type "gauge" | |
InstancePrefix "client_request_read-latency-50p" | |
Table false | |
Attribute "50thPercentile" | |
</Value> | |
</MBean> | |
<MBean "cassandra_ClientRequest_Write-Latency"> | |
ObjectName "org.apache.cassandra.metrics:type=ClientRequest,scope=Write,name=Latency" | |
<Value> | |
Type "gauge" | |
InstancePrefix "client_request_write-latency-max" | |
Table false | |
Attribute "Max" | |
</Value> | |
<Value> | |
Type "gauge" | |
InstancePrefix "client_request_write-latency-99p" | |
Table false | |
Attribute "99thPercentile" | |
</Value> | |
<Value> | |
Type "gauge" | |
InstancePrefix "client_request_write-latency-95p" | |
Table false | |
Attribute "95thPercentile" | |
</Value> | |
<Value> | |
Type "gauge" | |
InstancePrefix "client_request_write-latency-50p" | |
Table false | |
Attribute "50thPercentile" | |
</Value> | |
</MBean> | |
<MBean "cassandra_ColumnFamily-MaxRowSize"> | |
ObjectName "org.apache.cassandra.metrics:type=ColumnFamily,name=MaxRowSize" | |
<Value> | |
Type "gauge" | |
InstancePrefix "column_family-max_row_size" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_ColumnFamily-CompressionRatio"> | |
ObjectName "org.apache.cassandra.metrics:type=ColumnFamily,name=CompressionRatio" | |
<Value> | |
Type "gauge" | |
InstancePrefix "column_family-compression_ratio" | |
Table false | |
Attribute "Value" | |
</Value> | |
</MBean> | |
<MBean "cassandra_DroppedMessage_MUTATION-Dropped"> | |
ObjectName "org.apache.cassandra.metrics:type=DroppedMessage,scope=MUTATION,name=Dropped" | |
<Value> | |
Type "counter" | |
InstancePrefix "dropped_message_mutation-dropped-count" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<MBean "cassandra_DroppedMessage_READ-Dropped"> | |
ObjectName "org.apache.cassandra.metrics:type=DroppedMessage,scope=READ,name=Dropped" | |
<Value> | |
Type "counter" | |
InstancePrefix "dropped_message_read-dropped-count" | |
Table false | |
Attribute "Count" | |
</Value> | |
</MBean> | |
<Connection> | |
# When using non-standard Cassandra configurations, replace the below with | |
#ServiceURL "service:jmx:rmi:///jndi/rmi://CASSANDRA_HOST:CASSANDRA_PORT/jmxrmi" | |
ServiceURL "service:jmx:rmi:///jndi/rmi://localhost:7199/jmxrmi" | |
InstancePrefix "cassandra" | |
Collect "cassandra_storageservice-load" | |
Collect "cassandra_storageservice-exceptions" | |
Collect "cassandra_commitlog-pending" | |
Collect "cassandra_commitlog-completed" | |
Collect "cassandra_commitlog-totalsize" | |
Collect "cassandra_compactionmanager-pending" | |
Collect "cassandra_compactionmanager-completed" | |
Collect "cassandra_stage_MutationStage-active" | |
Collect "cassandra_stage_MutationStage-blocked" | |
Collect "cassandra_stage_MutationStage-pending" | |
Collect "cassandra_stage_MutationStage-completed" | |
Collect "cassandra_stage_ReadRepairStage-active" | |
Collect "cassandra_stage_ReadRepairStage-blocked" | |
Collect "cassandra_stage_ReadRepairStage-pending" | |
Collect "cassandra_stage_ReadRepairStage-completed" | |
Collect "cassandra_stage_ReadStage-active" | |
Collect "cassandra_stage_ReadStage-blocked" | |
Collect "cassandra_stage_ReadStage-pending" | |
Collect "cassandra_stage_ReadStage-completed" | |
Collect "cassandra_stage_RequestResponseStage-active" | |
Collect "cassandra_stage_RequestResponseStage-blocked" | |
Collect "cassandra_stage_RequestResponseStage-pending" | |
Collect "cassandra_stage_RequestResponseStage-completed" | |
Collect "cassandra_internal_AntiEntropyStage-active" | |
Collect "cassandra_internal_AntiEntropyStage-blocked" | |
Collect "cassandra_internal_AntiEntropyStage-pending" | |
Collect "cassandra_internal_AntiEntropyStage-completed" | |
Collect "cassandra_internal_FlushWriter-active" | |
Collect "cassandra_internal_FlushWriter-blocked" | |
Collect "cassandra_internal_FlushWriter-pending" | |
Collect "cassandra_internal_FlushWriter-completed" | |
Collect "cassandra_internal_GossipStage-active" | |
Collect "cassandra_internal_GossipStage-blocked" | |
Collect "cassandra_internal_GossipStage-pending" | |
Collect "cassandra_internal_GossipStage-completed" | |
Collect "cassandra_internal_HintsDispatcher-active" | |
Collect "cassandra_internal_HintsDispatcher-blocked" | |
Collect "cassandra_internal_HintsDispatcher-pending" | |
Collect "cassandra_internal_HintsDispatcher-completed" | |
Collect "cassandra_internal_InternalResponseStage-active" | |
Collect "cassandra_internal_InternalResponseStage-blocked" | |
Collect "cassandra_internal_InternalResponseStage-pending" | |
Collect "cassandra_internal_InternalResponseStage-completed" | |
Collect "cassandra_internal_MemtablePostFlusher-active" | |
Collect "cassandra_internal_MemtablePostFlusher-blocked" | |
Collect "cassandra_internal_MemtablePostFlusher-pending" | |
Collect "cassandra_internal_MemtablePostFlusher-completed" | |
Collect "cassandra_internal_MigrationStage-active" | |
Collect "cassandra_internal_MigrationStage-blocked" | |
Collect "cassandra_internal_MigrationStage-pending" | |
Collect "cassandra_internal_MigrationStage-completed" | |
Collect "cassandra_internal_MiscStage-active" | |
Collect "cassandra_internal_MiscStage-blocked" | |
Collect "cassandra_internal_MiscStage-pending" | |
Collect "cassandra_internal_MiscStage-completed" | |
Collect "cassandra_Cache_KeyCache-Hits" | |
Collect "cassandra_ClientRequest_Read-Latency" | |
Collect "cassandra_ClientRequest_Write-Latency" | |
Collect "cassandra_ColumnFamily-MaxRowSize" | |
Collect "cassandra_ColumnFamily-CompressionRatio" | |
Collect "cassandra_DroppedMessage_MUTATION-Dropped" | |
Collect "cassandra_DroppedMessage_READ-Dropped" | |
</Connection> | |
<MBean "jvm_localhost_Threading"> | |
ObjectName "java.lang:type=Threading" | |
<Value> | |
Type "gauge" | |
InstancePrefix "threading-daemon_thread_count" | |
Table false | |
Attribute "DaemonThreadCount" | |
</Value> | |
<Value> | |
Type "gauge" | |
InstancePrefix "threading-thread_count" | |
Table false | |
Attribute "ThreadCount" | |
</Value> | |
<Value> | |
Type "gauge" | |
InstancePrefix "threading-peak_thread_count" | |
Table false | |
Attribute "PeakThreadCount" | |
</Value> | |
</MBean> | |
<MBean "jvm_localhost_Memory"> | |
ObjectName "java.lang:type=Memory" | |
<Value> | |
Type "memory" | |
InstancePrefix "memory-heap_usage_committed" | |
Table false | |
Attribute "HeapMemoryUsage.committed" | |
</Value> | |
<Value> | |
Type "memory" | |
InstancePrefix "memory-non_heap_usage_committed" | |
Table false | |
Attribute "NonHeapMemoryUsage.committed" | |
</Value> | |
<Value> | |
Type "memory" | |
InstancePrefix "memory-heap_usage_used" | |
Table false | |
Attribute "HeapMemoryUsage.used" | |
</Value> | |
<Value> | |
Type "memory" | |
InstancePrefix "memory-non_heap_usage_used" | |
Table false | |
Attribute "NonHeapMemoryUsage.used" | |
</Value> | |
<Value> | |
Type "memory" | |
InstancePrefix "memory-heap_usage_max" | |
Table false | |
Attribute "HeapMemoryUsage.max" | |
</Value> | |
<Value> | |
Type "memory" | |
InstancePrefix "memory-non_heap_usage_max" | |
Table false | |
Attribute "NonHeapMemoryUsage.max" | |
</Value> | |
</MBean> | |
<MBean "jvm_localhost_Runtime"> | |
ObjectName "java.lang:type=Runtime" | |
<Value> | |
Type "counter" | |
InstancePrefix "runtime-uptime" | |
Table false | |
Attribute "Uptime" | |
</Value> | |
</MBean> | |
<MBean "jvm_localhost_os"> | |
ObjectName "java.lang:type=OperatingSystem" | |
<Value> | |
Type "gauge" | |
InstancePrefix "os-open_fd_count" | |
Table false | |
Attribute "OpenFileDescriptorCount" | |
</Value> | |
<Value> | |
Type "counter" | |
InstancePrefix "os-process_cpu_time" | |
Table false | |
Attribute "ProcessCpuTime" | |
</Value> | |
</MBean> | |
<MBean "jvm_localhost_gc"> | |
ObjectName "java.lang:type=GarbageCollector,name=*" | |
InstanceFrom "name" | |
<Value> | |
Type "counter" | |
InstancePrefix "gc-collection_count" | |
Table false | |
Attribute "CollectionCount" | |
</Value> | |
<Value> | |
Type "counter" | |
InstancePrefix "gc-collection_time" | |
Table false | |
Attribute "CollectionTime" | |
</Value> | |
</MBean> | |
<Connection> | |
# When using non-standard Cassandra configurations, replace the below with | |
#ServiceURL "service:jmx:rmi:///jndi/rmi://CASSANDRA_HOST:CASSANDRA_PORT/jmxrmi" | |
ServiceURL "service:jmx:rmi:///jndi/rmi://localhost:7199/jmxrmi" | |
InstancePrefix "jvm" | |
Collect "jvm_localhost_Threading" | |
Collect "jvm_localhost_Memory" | |
Collect "jvm_localhost_Runtime" | |
Collect "jvm_localhost_os" | |
Collect "jvm_localhost_gc" | |
</Connection> | |
</Plugin> | |
</Plugin> | |
LoadPlugin match_regex | |
LoadPlugin target_set | |
LoadPlugin target_replace | |
<Chain "GenericJMX_cassandra"> | |
<Rule "rewrite_genericjmx_to_cassandra"> | |
<Match regex> | |
Plugin "^GenericJMX$" | |
PluginInstance "^cassandra.*$" | |
</Match> | |
<Target "replace"> | |
PluginInstance "cassandra" "" | |
</Target> | |
<Target "set"> | |
Plugin "cassandra" | |
</Target> | |
</Rule> | |
<Rule "go_back"> | |
Target "return" | |
</Rule> | |
</Chain> | |
<Chain "PreCache"> | |
<Rule "jump_to_GenericJMX_cassandra"> | |
<Target "jump"> | |
Chain "GenericJMX_cassandra" | |
</Target> | |
</Rule> | |
</Chain> | |
PreCacheChain "PreCache" | |
<Chain "GenericJMX_jvm"> | |
<Rule "rewrite_genericjmx_to_jvm"> | |
<Match regex> | |
Plugin "^GenericJMX$" | |
PluginInstance "^jvm.*$" | |
</Match> | |
<Target "replace"> | |
PluginInstance "jvm" "" | |
</Target> | |
<Target "set"> | |
Plugin "jvm" | |
</Target> | |
Target "return" | |
</Rule> | |
</Chain> | |
<Chain "PreCache"> | |
<Rule "jump_to_GenericJMX_jvm"> | |
<Target "jump"> | |
Chain "GenericJMX_jvm" | |
</Target> | |
</Rule> | |
</Chain> | |
PreCacheChain "PreCache" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment