gortiz opened a new pull request, #17710: URL: https://github.com/apache/pinot/pull/17710
This pull request adds new metrics tracking for server query response sizes. The main focus is on recording the size of each serialized query responsee. **Metrics enhancements:** * Added a new meter `QUERY_RESPONSE_SIZE` to the `ServerMeter` enum to track the size (in bytes) of serialized server-to-broker responses. * Updated `QueryScheduler` to record the size of each query response using the new `QUERY_RESPONSE_SIZE` meter for the corresponding table. **Large response handling improvements:** * Refactored the logic in `QueryScheduler` to always record the response size, and only log an exception and increment the `LARGE_QUERY_RESPONSE_SIZE_EXCEPTIONS` meter when the response exceeds the configured maximum size. [[1]](diffhunk://#diff-2bff83abd3f6e831acfe4b6d31a022f228710def4eea47db3929c6d90b3147ecL166-R178) [[2]](diffhunk://#diff-2bff83abd3f6e831acfe4b6d31a022f228710def4eea47db3929c6d90b3147ecR187) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
