Module: Resque::Plugins::NewRelicInstrumentation
- Includes:
- NewRelic::Agent::Instrumentation::ControllerInstrumentation
- Defined in:
- lib/rpm_contrib/instrumentation/resque.rb
Instance Method Summary collapse
Instance Method Details
#around_perform_with_monitoring(*args) ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/rpm_contrib/instrumentation/resque.rb', line 11 def around_perform_with_monitoring(*args) begin perform_action_with_newrelic_trace((*args)) do yield(*args) end ensure NewRelic::Agent.shutdown if RPMContrib::LanguageSupport.can_fork? end end |