Skip to content

Instantly share code, notes, and snippets.

@remh
Created May 3, 2013 23:48
Show Gist options
  • Save remh/5515207 to your computer and use it in GitHub Desktop.
Save remh/5515207 to your computer and use it in GitHub Desktop.
cassandra.yaml
instances:
- host: localhost
port: 7199
name: cassandra_instance
init_config:
conf:
- include:
domain: org.apache.cassandra.db
exclude:
keyspace: system
attribute:
- MinimumCompactionThreshold
- MaximumCompactionThreshold
- RowCacheKeysToSave
- KeyCacheSavePeriodInSeconds
- RowCacheSavePeriodInSeconds
- PendingTasks
- include:
domain: org.apache.cassandra.internal
exclude:
attribute:
- PendingTasks
- Token
- include:
domain: org.apache.cassandra.net
- include:
domain: org.apache.cassandra.request
attribute:
HeapMemoryUsage.used:
alias: cassandra.heap_used
metric_type: gauge
HeapMemoryUsage.max:
alias: cassandra.heap_total
metric_type: gauge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment