Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cassandra] Add YAML for Cassandra version > 2.2 #2142

Merged
merged 1 commit into from
Dec 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 60 additions & 32 deletions conf.d/cassandra.yaml.example
Original file line number Diff line number Diff line change
@@ -21,54 +21,82 @@ init_config:
# Read http://docs.datadoghq.com/integrations/java/ to learn how to customize it
conf:
- include:
domain: org.apache.cassandra.db
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
name:
- TotalDiskSpaceUsed
- BloomFilterDiskSpaceUsed
- BloomFilterFalsePositives
- BloomFilterFalseRatio
- Capacity
- CompletedTasks
- CompressionRatio
- ExceptionCount
- Hits
- KeyCacheRecentHitRate
- LiveDiskSpaceUsed
- LiveSSTableCount
- Load
- MaxRowSize
- MeanRowSize
- MemtableColumnsCount
- MemtableDataSize
- MemtableLiveDataSize
- MemtableSwitchCount
- MinRowSize
- PendingTasks
- RangeOperations
- ReadCount
- ReadOperations
- RecentHitRate
- RecentRangeLatencyMicros
- RecentReadLatencyMicros
- RecentWriteLatencyMicros
- Requests
- RowCacheRecentHitRate
- Size
- TotalDiskSpaceUsed
- TotalRangeLatencyMicros
- TotalReadLatencyMicros
- TotalWriteLatencyMicros
- UpdateInterval
- WriteCount
- WriteOperations
exclude:
keyspace: system
keyspace:
- OpsCenter
- system
- system_auth
- system_distributed
- system_traces
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add OpsCenter to this list? It's a very common tool and I don't think anyone cares about metrics on it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your feedback on it @sethrosenblum. I am adding it to the list of exclusion.

- include:
domain: org.apache.cassandra.metrics
type: Cache
name:
- Capacity
- Size
attribute:
- Value
- include:
domain: org.apache.cassandra.internal
domain: org.apache.cassandra.metrics
type: Cache
name:
- Hits
- Requests
attribute:
- ActiveCount
- Count
- include:
domain: org.apache.cassandra.metrics
type: ThreadPools
path: request
name:
- ActiveTasks
- CompletedTasks
- PendingTasks
- CurrentlyBlockedTasks
- TotalBlockedTasks
- include:
domain: org.apache.cassandra.net
domain: org.apache.cassandra.db
attribute:
- TotalTimeouts
- UpdateInterval