Ends the current transaction.
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.)
To end a transaction early:
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.