|
1 | 1 | --- |
2 | 2 | lowercaseOutputLabelNames: true |
3 | 3 | lowercaseOutputName: true |
| 4 | +whitelistObjectNames: ["org.apache.cassandra.metrics:*"] |
| 5 | +blacklistObjectNames: |
| 6 | + # ColumnFamily is an alias for Table metrics |
| 7 | + - "org.apache.cassandra.metrics:type=ColumnFamily,*" |
| 8 | + # |
| 9 | + # These are very costly for cassandra to retrieve, |
| 10 | + # and we don't make use of them on grafana currently. |
| 11 | + # See also steps taken in https://github.com/criteo/cassandra_exporter |
| 12 | + # metrics docs: http://cassandra.apache.org/doc/latest/operating/metrics.html |
| 13 | + # |
| 14 | + # "estimated" metrics |
| 15 | + - "org.apache.cassandra.metrics:name=PendingTasks,*" |
| 16 | + - "org.apache.cassandra.metrics:name=PendingTasksByTableName,*" |
| 17 | + - "org.apache.cassandra.metrics:name=EstimatedPartitionSizeHistogram,*" |
| 18 | + - "org.apache.cassandra.metrics:name=EstimatedPartitionCount,*" |
| 19 | + - "org.apache.cassandra.metrics:name=EstimatedColumnCountHistogram,*" |
| 20 | + - "org.apache.cassandra.metrics:name=PendingFlushes,*" |
| 21 | + - "org.apache.cassandra.metrics:name=PendingCompactions,*" |
| 22 | + # disk space metrics |
| 23 | + - "org.apache.cassandra.metrics:name=LiveDiskSpaceUsed,*" |
| 24 | + - "org.apache.cassandra.metrics:name=TotalDiskSpaceUsed,*" |
| 25 | + - "org.apache.cassandra.metrics:name=BloomFilterDiskSpaceUsed,*" |
| 26 | + - "org.apache.cassandra.metrics:name=TrueSnapshotsSize,*" |
4 | 27 | rules: |
5 | 28 | - pattern: org.apache.cassandra.metrics<type=(Connection|Streaming), scope=(\S*), name=(\S*)><>(Count|Value|\d+thPercentile|\w+Rate|Max|Mean|Min|StdDev) |
6 | 29 | name: cassandra_$1_$3 |
|
0 commit comments