# File lib/new_relic/agent/instrumentation/rack.rb, line 130 def run_with_newrelic(app, *args) if ::NewRelic::Agent::Instrumentation::RackHelpers.middleware_instrumentation_enabled? wrapped_app = ::NewRelic::Agent::Instrumentation::MiddlewareProxy.wrap(app, true) run_without_newrelic(wrapped_app, *args) else run_without_newrelic(app, *args) end end