icefury71 commented on a change in pull request #6172: URL: https://github.com/apache/incubator-pinot/pull/6172#discussion_r510474957
########## File path: pinot-server/src/main/java/org/apache/pinot/server/api/resources/TableSizeResource.java ########## @@ -119,4 +122,33 @@ public String getTableSizeOld( throws WebApplicationException { return this.getTableSize(tableName, detailed); } + + @GET + @Produces(MediaType.APPLICATION_JSON) + @Path("/tables/{tableName}/avgMemoryConsumedRealtime") Review comment: It is meant more for a continuous monitoring system. Good point about current memory: It probably makes more sense to get the latest size of the consuming segment for that table. Lemme add that as an additional endpoint. ---------------------------------------------------------------- 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. 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