lib/instrumental/capistrano.rb in instrumental_agent-0.7.2 vs lib/instrumental/capistrano.rb in instrumental_agent-0.8.0
- old
+ new
@@ -18,11 +18,9 @@
desc "send a notice to instrumental about the deploy"
task :record_deploy_notice do
start_at = exists?(:instrumental_deploy_start) ? instrumental_deploy_start : Time.now
end_at = exists?(:instrumental_deploy_end) ? instrumental_deploy_end : start_at
- puts "@instrumental_deploy_start = #{start_at.inspect}"
- puts "@instrumental_deploy_end = #{end_at.inspect}"
deploy_duration_in_seconds = end_at - start_at
deployer = Etc.getlogin.chomp
agent_options = { :synchronous => true }
agent_options[:collector] = instrumental_host if exists?(:instrumental_host)
agent = Instrumental::Agent.new(instrumental_key, agent_options)