Hello everyone,
I am trying to use the JMX exporter to measure Kafka metrics. I have run the command "mvn package" and successfully build the package. I created the config.yaml file:
---
startDelaySeconds: 0
username:
password:
ssl: false
lowercaseOutputName: false
lowercaseOutputLabelNames: false
whitelistObjectNames: ["org.apache.cassandra.metrics:*"]
blacklistObjectNames: ["org.apache.cassandra.metrics:type=ColumnFamily,*"]
rules:
- 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
However, when I try to see the metrics, I get the following error: At most one of hostPort and jmxUrl must be provided. I tried to remove the jmxUrl, but got the same error. Any advice?