blob: 38cf4965cfc812f8a533b961ed6aa950f7a9a82b [file] [log] [blame]
#
# MANAGED BY PUPPET
#
instances:
- host: <%= @host %>
port: <%= @port %>
cassandra_aliasing: true
<% if @user -%>
user: <%= @user %>
password: <%= @password %>
<% end -%>
<% if @tags.length > 0 -%>
tags:
<%- @tags.each do |tag_name, tag_value| -%>
<%= tag_name %>: <%= tag_value %>
<% end -%>
<% end -%>
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_schema
- 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