-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics, Replication
-
Fully Compatible
-
v4.0
-
Repl 2018-06-18, Repl 2018-07-02
We want to track total transaction duration in TxnStats. To do this, we can add a TxnStats::startTime field. When a transaction begins, we will save the start time of the transaction. This will allow us to compute the total elapsed time of the transaction as (now() - startTime), when the transaction commits or aborts.
- depends on
-
SERVER-35492 Rename TxnStats to SingleTransactionStats
- Closed
- is depended on by
-
SERVER-35159 Track transactions latency and add to serverStatus output
- Closed
-
SERVER-35302 Add startWallClockTime to the transaction sub-document of currentOp
- Closed
-
SERVER-35305 Add timeOpenMicros to the transaction sub-document of currentOp
- Closed
-
SERVER-35310 Add timeActiveMicros and timeInactiveMicros to transaction sub-document of currentOp
- Closed