1. A method comprising: tracing a transaction that is processed by a sequence of software components that execute on an electronic device, the tracing is performed by a circuit on the electronic device, the tracing including collecting performance data for the transaction; accessing transaction data that is associated with the transaction as the transaction flows through the sequence of software components, the transaction data being included in the performance data, the accessing is performed by a circuit on the electronic device; and analyzing the data associated with the transaction to detect a possible data loss event that involves the transaction data.