diff --git a/lib/vmpooler/api/v1.rb b/lib/vmpooler/api/v1.rb index 25ac1cf..a13ceeb 100644 --- a/lib/vmpooler/api/v1.rb +++ b/lib/vmpooler/api/v1.rb @@ -213,7 +213,7 @@ module Vmpooler if vmname account_for_starting_vm(vmpool, vmname) vms << [vmpool, vmname, vmtemplate] - metrics.increment("checkout.success.#{vmtemplate}") + metrics.increment("checkout.success.#{vmpool}") else failed = true metrics.increment("checkout.empty.#{requested}")