It would be useful to know how many transaction conflicts happen across the connection - we should add a statistic that tracks that information. There is already a statistic for the data source equivalent:
https://github.com/wiredtiger/wiredtiger/blob/develop/src/include/txn.i#L427