Send destroy times to graphite

This commit is contained in:
Scott Schneider 2013-11-12 15:11:48 -08:00
parent 77fe40b59b
commit 44637cef86

View file

@ -151,6 +151,8 @@ def destroy_vm vm, pool
finish = '%.2f' % (Time.now-start)
$logger.log('s', "[-] [#{pool}] '#{vm}' destroyed in #{finish} seconds")
$graphite.log("vcloud.destroy.#{vm['template']}", finish) if defined? $graphite
end
}
end