I have two kafka cluster each one exporting metrics via JMX and prometheus. Some data are missing from one of the deployment. I add that both configuration for JMX or for Logging looks the same, and my test clients are also the same. I can't attach image so I'll try to describe what I see in Jconsole:
When I'm connected directly to the JMX port I have:
on the left :
kafka.server
- Fetch
- Attributes
- queue-siez
- FETCH
- Attributes
- byte-rate
- trhottle-time
- Attributes
- Attributes
- Produce
- Attributes
- queue-siez
- PRODUCE
- Attributes
- byte-rate
- trhottle-time
- Attributes
- Attributes
On the right:
kafka.server
- Fetch
- Attributes
- queue-siez
- CN%3Dbroker-connect
- attributes
- byte-rate
- trhottle-time
- attributes
- perf-user
- attributes
- byte-rate
- trhottle-time
- attributes
- Attributes
- Produce
- Attributes
- queue-siez
- CN%3Dbroker-connect
- attributes
- byte-rate
- trhottle-time
- attributes
- perf-user
- attributes
- byte-rate
- trhottle-time
- attributes
- Attributes
So in the right JMX we can see that we have the detail for each of my connected clients (MTLS or OAUTH clients) but on the left nothing. I guess that I can see the global value of byte-rate for all produce request but I can't see each clients. Does someone have a clue on what can cause that difference ?