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

Stanislav Kozlovski commented on KAFKA-6809:
--------------------------------------------

Changing them to the first approach (count both inbound/outbound connections) 
might mess up some Kafka users' metrics - imagine watching your connections 
blow up in numbers over a patch update.

I believe we should separate out the sensors and offer both metrics - inbound, 
outbound. This will enable the UIs to provide the three kinds of metrics (in, 
out, total).
[~apovzner], what do you think?


> connections-created metric does not behave as expected
> ------------------------------------------------------
>
>                 Key: KAFKA-6809
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6809
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 1.1.0, 1.0.1
>            Reporter: Anna Povzner
>            Assignee: Stanislav Kozlovski
>            Priority: Major
>             Fix For: 2.1.0, 1.1.2
>
>
> "connections-created" sensor is described as "new connections established". 
> It currently records only connections that the broker/client creates, but 
> does not count connections received. Seems like we should also count 
> connections received – either include them into this metric (and also clarify 
> the description) or add a new metric (separately counting two types of 
> connections). I am not sure how useful is to separate them, so I think we 
> should do the first approach.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to