This ticket has three parts, from this section of the diagnostics scope:
- Tracking the per transaction metrics from the scope for each TransactionRouter.
- Logging the relevant metrics in currentOp for transactions on checked-out sessions.
- Logging the relevant metrics in currentOp for transactions on checked-in sessions when idleSessions=true.
- depends on
-
SERVER-41676 Make the TransactionRouter threadsafe using the observer pattern
- Closed
- has to be done after
-
SERVER-42457 Check if cluster time has been set on TransactionRouter before observing from an external thread
- Closed
-
SERVER-40981 Create class for tracking single sharded transaction metrics on mongos
- Closed
- has to be done before
-
SERVER-42907 Add timeActiveMicros and timeInactiveMicros for transactions in mongos currentOp output
- Closed
- related to
-
SERVER-40985 Log metrics on mongos when slow transaction completes
- Closed