applyTransaction is invoked from the Ratis pipeline and the ContainerStateMachine
uses a async executor to complete the task.
We require a latency metric to track the performance of log apply operations in the state machine. This will measure the end-to-end latency of apply which includes the queueing delay in the executor queues. Combined with the latency measurement in HddsDispatcher, this will be an indicator if the executors are overloaded.