A transaction is a logical unit of work in a software application. The Transaction event includes information about the app, database calls, the duration of the transaction, and any errors that may occur.

Transaction errors occur when a request throws an exception in the code path that was taken to fill that request. The number of transaction errors does not equal the number of transactions, because you can specify whether you want to collect, ignore, or mark errors as expected.