# File lib/new_relic/agent/instrumentation/rails3/action_controller.rb, line 105 def render_with_newrelic(*args, &block) options = if @virtual_path && @virtual_path.starts_with?('/') # file render {:file => true } else {} end str = "View/#{NewRelic::Agent::Instrumentation::Rails3::ActionView::NewRelic.template_metric(@identifier, options)}/#{NewRelic::Agent::Instrumentation::Rails3::ActionView::NewRelic.render_type(@identifier)}" trace_execution_scoped str do render_without_newrelic(*args, &block) end end