Skip to content

Instantly share code, notes, and snippets.

@johnaxel
Created March 10, 2016 18:04
Show Gist options
  • Select an option

  • Save johnaxel/e8b23658c3f5608791fe to your computer and use it in GitHub Desktop.

Select an option

Save johnaxel/e8b23658c3f5608791fe to your computer and use it in GitHub Desktop.
instances:
- host: localhost
port: 7100
cassandra_aliasing: true
# user: username
# password: password
# process_name_regex: .*process_name.* # Instead of specifying a host, and port. The agent can connect using the attach api.
# # This requires the JDK to be installed and the path to tools.jar to be set below.
# tools_jar_path: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar # To be set when process_name_regex is set
# name: cassandra_instance
# # java_bin_path: /path/to/java # Optional, should be set if the agent cannot find your java executable
# # java_options: "-Xmx200m -Xms50m" # Optional, Java JVM options
# # trust_store_path: /path/to/trustStore.jks # Optional, should be set if ssl is enabled
# # trust_store_password: password
# tags:
# env: stage
# newTag: test
init_config:
# List of metrics to be collected by the integration
# Read http://docs.datadoghq.com/integrations/java/ to learn how to customize it
conf:
- include:
domain: org.apache.cassandra.metrics
type: ClientRequest
scope:
- Read
- Write
name:
- Latency
- Timeouts
- Unavailables
attribute:
- Count
- OneMinuteRate
- include:
domain: org.apache.cassandra.metrics
type: ClientRequest
scope:
- Read
- Write
name:
- TotalLatency
- include:
domain: org.apache.cassandra.metrics
type: Storage
name:
- Load
- Exceptions
- include:
domain: org.apache.cassandra.metrics
type: ColumnFamily
bean_regex:
- .*keyspace=.*
name:
- TotalDiskSpaceUsed
- BloomFilterDiskSpaceUsed
- BloomFilterFalsePositives
- BloomFilterFalseRatio
- CompressionRatio
- LiveDiskSpaceUsed
- LiveSSTableCount
- MaxRowSize
- MeanRowSize
- MemtableColumnsCount
- MemtableLiveDataSize
- MemtableSwitchCount
- MinRowSize
exclude:
keyspace:
- OpsCenter
- system
- system_auth
- system_distributed
- system_traces
- include:
domain: org.apache.cassandra.metrics
type: Cache
name:
- Capacity
- Size
attribute:
- Value
- include:
domain: org.apache.cassandra.metrics
type: Cache
name:
- Hits
- Requests
attribute:
- Count
- include:
domain: org.apache.cassandra.metrics
type: ThreadPools
path: request
name:
- ActiveTasks
- CompletedTasks
- PendingTasks
- CurrentlyBlockedTasks
- include:
domain: org.apache.cassandra.db
attribute:
- UpdateInterval
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment