jojochuang opened a new pull request, #6782: URL: https://github.com/apache/ozone/pull/6782
## What changes were proposed in this pull request? HDDS-10941. CSMMetrics to record number of started transactions (1) Add a label RaftGroupId so that Prometheus can identify different CSM instances by pipeline id. Previously, only one Container State Machine metrics instance is exported, which is confusing. Add a few metrics for ContainerStateMachine operations. * opsQueueingDelay -- the queueing latency of ContainerOp thread pool. * pendingApplyTransactions -- count the number of transactions between startTransaction and applyTransaction * untilApplyTransactionNs -- measures the latency between startTransaction and applyTransaction * startTransactionCompleteNs -- measures the time spent in startTransaction callback method. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10941 ## How was this patch tested? Existing unit tests passed. Deployed a version of this PR on a real cluster and observed the metrics were exported properly. -- 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]
