vvivekiyer commented on code in PR #15828: URL: https://github.com/apache/pinot/pull/15828#discussion_r2112933060
########## pinot-core/src/main/java/org/apache/pinot/core/query/logger/ServerQueryLogger.java: ########## @@ -151,6 +151,25 @@ public void logQuery(ServerQueryRequest request, InstanceResponseBlock response, TimeUnit.NANOSECONDS); } + long threadMemAllocatedBytes = getLongValue(responseMetadata, MetadataKey.THREAD_MEM_ALLOCATED_BYTES.getName(), 0); + if (threadMemAllocatedBytes > 0) { Review Comment: We don't want to publish when it's not enabled. -- 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