This call ends the current transaction immediately and stops the response timer at the current time. After the transaction ends, the agent does not collect any additional performance breakdown metrics. However, the agent still collects Python exception details.
This call is useful when you have a large response that is streamed back for the web transaction and only the initial part of the transaction is of interest to you. (This also assumes that, for whatever reason, you don't want to flag the transaction as a background task.)
End a transaction
To end a transaction early: