Skip to content

Instantly share code, notes, and snippets.

@chbatey
Created April 22, 2016 08:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
owercaseOutputLabelNames: true
lowercaseOutputName: true
rules:
- pattern: org.apache.cassandra.metrics<type=ClientRequest, scope=(\S*), name=(Latency)><>([0-9a-zA-Z]*)
name: cassandra_clientrequest_$1_$2_$3
- pattern: org.apache.cassandra.metrics<type=ColumnFamily, name=(WriteLatency|ReadLatency)><>([0-9a-zA-Z]*)
name: cassandra_columnfamily_$1_$2
- pattern: org.apache.cassandra.metrics<type=(Connection|Streaming), scope=(\S*), name=(\S*)><>(Count|Value)
name: cassandra_$1_$3
labels:
address: "$2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment