When a TransactionCoordinator makes its commit/abort decision externally available, if the commit took longer than the default 100ms threshold, log the slow commit metrics as described in this section of the diagnostics scope. The metrics logged should be re-usable from SERVER-40987.