Method: NewRelic::Agent#ignore_transaction
- Defined in:
- lib/new_relic/agent.rb
#ignore_transaction ⇒ Object
This method disables the recording of the current transaction. No metrics, traced errors, transaction traces, Insights events, slow SQL traces, or RUM injection will happen for this transaction.
524 525 526 527 |
# File 'lib/new_relic/agent.rb', line 524 def ignore_transaction record_api_supportability_metric(:ignore_transaction) NewRelic::Agent::Transaction.tl_current&.ignore! end |