Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- startDelaySeconds: 0
- hostPort: 127.0.0.1:7199
- username:
- password:
- #jmxUrl: service:jmx:rmi:///jndi/rmi://127.0.0.1:7199/jmxrmi
- ssl: false
- lowercaseOutputName: false
- lowercaseOutputLabelNames: false
- whitelistObjectNames:
- - "org.apache.cassandra.metrics:*"
- - "org.apache.cassandra.db:*"
- - "org.apache.cassandra.net:*"
- - "org.apache.cassandra.internal:*"
- blacklistObjectNames:
- - "org.apache.cassandra.metrics:type=ColumnFamily,*"
- rules:
- - pattern: 'org.apache.cassandra.metrics<type=Table, keyspace=(\w+), scope=(\w+), name=(\w+)><>Value: (\d+)'
- name: table_metrics
- value: $4
- help: "Cassandra $1.$2"
- type: GAUGE
- attrNameSnakeCase: false
- valueFactor: 0.001
- labels: {"name":"$3", "keyspace":"$1", "table":"$2"}
- - pattern: 'org.apache.cassandra.db<type=(\w+)><>(\w+): (\d+)'
- name: db
- value: $3
- type: GAUGE
- help: "internal database counter"
- attrNameSnakeCase: false
- labels: {"type":"$1", "attribute": "$2"}
- - pattern: 'org.apache.cassandra.net<type=(\w+)><>(\w+): (\d+)'
- name: net
- value: $3
- type: GAUGE
- help: "internal database counter"
- attrNameSnakeCase: false
- labels: {"type":"$1", "attribute": "$2"}
- - pattern: 'org.apache.cassandra.internal<type=(\w+)><>(\w+): (\d+)'
- name: internal
- value: $3
- type: GAUGE
- help: "internal database counter"
- attrNameSnakeCase: false
- labels: {"type":"$1", "attribute": "$2"}
- # commented out - this is the original setup, but it's too generic
- # we don't get any useful info from this, but it's helpful as a reference
- # - pattern: 'org.apache.cassandra.metrics<type=(\w+), name=(\w+)><>Value: (\d+)'
- # name: cassandra_$1_$2
- # value: $3
- # valueFactor: 0.001
- # labels: {}
- # help: "Cassandra metric $1 $2"
- # type: GAUGE
- # attrNameSnakeCase: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement