fat-catTW opened a new pull request, #12049: URL: https://github.com/apache/ozone/pull/12049
## What changes were proposed in this pull request? `XceiverServerGrpc` uses a read executor to serve datanode gRPC requests, but its load is not visible through Ozone metrics. This makes it difficult to distinguish request-handling saturation from disk-related read latency. This PR adds Metrics2 gauges for active and maximum read-executor threads, read-executor queue length, and active client connections. A gRPC transport filter tracks connections, and the metrics source is unregistered when the server stops. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-17168 ## How was this patch tested? ```text mvn -pl :hdds-container-service -am test \ -Dtest=TestXceiverServerGrpcMetrics \ -Dsurefire.failIfNoSpecifiedTests=false \ -DskipShade -DskipRecon -DskipDocs ./hadoop-ozone/dev-support/checks/checkstyle.sh -- 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]
