[ 
https://issues.apache.org/jira/browse/KAFKA-9697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17076763#comment-17076763
 ] 

James Cheng commented on KAFKA-9697:
------------------------------------

Oh, no, we don't have that setup. I had assumed that the 
ControlPlaneNetworkProcessorAvgIdlePercent metric would be present, even if 
both the control plane and the data plane shared the same listeners. But 
apparently that is not the case?

Is this purely a documentation issue then? Should we add text saying that the 
ControlPlaneNetworkProcessorAvgIdlePercent metric will be NaN if 
control.plane.listener.name is unset? (Related, I noticed that 
ControlPlaneNetworkProcessorAvgIdlePercent isn't documented on the website)

Or, should we programmatically hide the metric if control.plane.listener.name 
is not yet set?

Or, can we still calculate a value of 
ControlPlaneNetworkProcessorAvgIdlePercent when the control plane and data 
plane share a listener?

 

 

> ControlPlaneNetworkProcessorAvgIdlePercent is always NaN
> --------------------------------------------------------
>
>                 Key: KAFKA-9697
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9697
>             Project: Kafka
>          Issue Type: Improvement
>          Components: metrics
>    Affects Versions: 2.3.0
>            Reporter: James Cheng
>            Priority: Major
>
> I have a broker running Kafka 2.3.0. The value of 
> kafka.network:type=SocketServer,name=ControlPlaneNetworkProcessorAvgIdlePercent
>  is always "NaN".
> Is that normal, or is there a problem with the metric?
> I am running Kafka 2.3.0. I have not checked this in newer/older versions.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to