Created
July 8, 2019 23:45
-
-
Save rustyrazorblade/32c8afffe3b347d0f86cc963a6f50028 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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:*" | |
- "org.apache.cassandra.metrics:type=ThreadPools" | |
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: network | |
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"} | |
- pattern: 'org.apache.cassandra.metrics<type=ThreadPools, path=(\w+), scope=(\w+), name=(ActiveTasks|CompletedTasks|PendingTasks|TotalBlockedTasks)><>(Value|Count): (\d+)' | |
name: threadpool_$1 | |
labels: {"stage": "$2", "pool":"$3"} | |
help: "Threadpool stats $1" | |
type: UNTYPED | |
value: $5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment