yyj8 commented on PR #21935:
URL: https://github.com/apache/pulsar/pull/21935#issuecomment-1916077325

   > Can a role be enough? It should be low cardinality, I believe.
   
   Do you think the following implementation would be better?
   `
   private static final Gauge clientRoleConnections = Gauge.build()
               .name("pulsar_broker_client_role_connections")
               .labelNames("role")
               .help("The number of client role connections")
               .register();
   `
   
   The above metircs may not be able to quickly locate the specific server 
causing high connectivity in scenarios where the same role has connections on 
multiple servers.We have encountered this issue in our current production 
environment.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to