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.
709 710 711 712 |
# File 'lib/new_relic/agent.rb', line 709 def ignore_transaction record_api_supportability_metric(:ignore_transaction) NewRelic::Agent::Transaction.tl_current&.ignore! end |