errose28 opened a new pull request, #11072: URL: https://github.com/apache/ozone/pull/11072
## What changes were proposed in this pull request? The OM's `ProtocolMessageMetrics` is only used in the server side translator. This captures end-to-end latency for all client facing requests (like `RenameKey`), but not for internal OM requests submitted directly to Ratis by background services (like `PurgeKeys`). This causes latency metrics for internal requests to always be 0. This PR wires the metrics to `OzoneManagerRatisUtils#submitRequest` as well to capture latency of requests submitted directly to the Ratis server. ## What is the link to the Apache JIRA HDDS-16238 ## How was this patch tested? - Unit tests added for `OzoneManagerRatisUtils` and all existing background services. -- 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]
