Hello.

There is a weird problem where we missed almost all metrics for producers.
The Kafka server version is 2.13-3.7.1.
The JMX-exporter config is as follows:

lowercaseOutputName: true
whitelistObjectNames:
  - "kafka.server:*"
  - "kafka.log:*"
  - "kafka.network:*"
  - "kafka.controller:*"
  - "kafka.security:*"
  - "kafka.coordinator:*"
  - "jvm.gc:*"
  - "jvm.threads:*"
  - "jvm.memory:*"
rules:
  - pattern: ".*"

I am looking to have a metric:
"kafka.server:client-id=connector-producer-my-producer,type=Produce" : {...

However, when I try to dump what the Mbean has, I am getting nothing:
$ java -jar jmx-dump-0.12.0-standalone.jar --dump-all -p 44544 -h 127.0.0.1
| grep -c "connector-producer"
0

I am 100% sure that I have tons of consumers. However, I don't see them in
the metrics.

Can we debug why the Kafka server doesn't produce the producer's metrics?

--

Kind regards,

Anton Kiryushkin

Reply via email to