Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jmx restrictions #11

Merged
merged 1 commit into from
Mar 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions files/prometheus-jmx.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
---
lowercaseOutputLabelNames: true
lowercaseOutputName: true
whitelistObjectNames: ["org.apache.cassandra.metrics:*"]
blacklistObjectNames:
# ColumnFamily is an alias for Table metrics
- "org.apache.cassandra.metrics:type=ColumnFamily,*"
#
# These are very costly for cassandra to retrieve,
# and we don't make use of them on grafana currently.
# See also steps taken in https://github.com/criteo/cassandra_exporter
# metrics docs: http://cassandra.apache.org/doc/latest/operating/metrics.html
#
# "estimated" metrics
- "org.apache.cassandra.metrics:name=PendingTasks,*"
- "org.apache.cassandra.metrics:name=PendingTasksByTableName,*"
- "org.apache.cassandra.metrics:name=EstimatedPartitionSizeHistogram,*"
- "org.apache.cassandra.metrics:name=EstimatedPartitionCount,*"
- "org.apache.cassandra.metrics:name=EstimatedColumnCountHistogram,*"
- "org.apache.cassandra.metrics:name=PendingFlushes,*"
- "org.apache.cassandra.metrics:name=PendingCompactions,*"
# disk space metrics
- "org.apache.cassandra.metrics:name=LiveDiskSpaceUsed,*"
- "org.apache.cassandra.metrics:name=TotalDiskSpaceUsed,*"
- "org.apache.cassandra.metrics:name=BloomFilterDiskSpaceUsed,*"
- "org.apache.cassandra.metrics:name=TrueSnapshotsSize,*"
rules:
- pattern: org.apache.cassandra.metrics<type=(Connection|Streaming), scope=(\S*), name=(\S*)><>(Count|Value|\d+thPercentile|\w+Rate|Max|Mean|Min|StdDev)
name: cassandra_$1_$3
Expand Down