lib/new_relic/agent/instrumentation/rake/instrumentation.rb in newrelic_rpm-8.2.0 vs lib/new_relic/agent/instrumentation/rake/instrumentation.rb in newrelic_rpm-8.3.0
- old
+ new
@@ -97,18 +97,18 @@
NewRelic::Agent.logger.error("Error during Rake task invoke", e)
end
def record_attributes(args, task)
command_line = task.application.top_level_tasks.join(" ")
- NewRelic::Agent::Transaction.merge_untrusted_agent_attributes({ :command => command_line },
- :'job.rake',
- NewRelic::Agent::AttributeFilter::DST_NONE)
+ NewRelic::Agent::Transaction.merge_untrusted_agent_attributes({:command => command_line},
+ :'job.rake',
+ NewRelic::Agent::AttributeFilter::DST_NONE)
named_args = name_the_args(args, task.arg_names)
unless named_args.empty?
NewRelic::Agent::Transaction.merge_untrusted_agent_attributes(named_args,
- :'job.rake.args',
- NewRelic::Agent::AttributeFilter::DST_NONE)
+ :'job.rake.args',
+ NewRelic::Agent::AttributeFilter::DST_NONE)
end
rescue => e
NewRelic::Agent.logger.error("Error during Rake task attribute recording.", e)
end
@@ -139,6 +139,6 @@
@installed_at_exit = true
end
end
end
end
-end
\ No newline at end of file
+end