mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Send destroy times to graphite
This commit is contained in:
parent
77fe40b59b
commit
44637cef86
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue