gortiz commented on code in PR #11575: URL: https://github.com/apache/pinot/pull/11575#discussion_r1325566282
########## pinot-core/src/main/java/org/apache/pinot/core/transport/ServerChannels.java: ########## @@ -151,7 +153,24 @@ private class ServerChannel { ServerChannel(ServerRoutingInstance serverRoutingInstance) { _serverRoutingInstance = serverRoutingInstance; + PooledByteBufAllocator bufAllocator = PooledByteBufAllocator.DEFAULT; + PooledByteBufAllocatorMetric metric = bufAllocator.metric(); + _brokerMetrics.setOrUpdateGauge(BrokerGauge.NETTY_POOLED_USED_DIRECT_MEMORY.getGaugeName(), Review Comment: You are right. I wanted to use the suppliers there. Fixed here and in the broker. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org