Ignore Transactions

Sometimes, transactions need to be ignored; such as on endpoints that have an auxiliary use-case. For example:

  • On "keep alive" endpoints that the browser queries every 15 seconds via Ajax; or

  • On long-running scripts that have a high wait time, yet which yield no actionable trace data worth reviewing

To ignore transactions, use \Tideways\Profiler::ignoreTransaction(). This function discards all monitoring, profiling, and exception data, and performance measurements for the currently executing request. It effectively disables Tideways for the transaction.


if (class_exists('Tideways\Profiler')) {
Still need help? Email [email protected]