Method: OneApm::Agent::Instrumentation::ActionControllerSubscriber#stop_transaction
- Defined in:
- lib/one_apm/inst/rails4/action_controller_subscriber.rb
#stop_transaction(state, event) ⇒ Object
51 52 53 54 55 56 |
# File 'lib/one_apm/inst/rails4/action_controller_subscriber.rb', line 51 def stop_transaction(state, event) txn = state.current_transaction txn.ignore_apdex! if event.apdex_ignored? txn.ignore_enduser! if event.enduser_ignored? Transaction.stop(state) end |