From ad652f3b662f556649d03b546af5b82f2109fbee Mon Sep 17 00:00:00 2001 From: Chandan Date: Mon, 29 Apr 2019 21:05:44 +0530 Subject: [PATCH] Performance metric Unit was also included in the output --- samples/vm_perf_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/vm_perf_example.py b/samples/vm_perf_example.py index caa7d264..3cdb7dd4 100755 --- a/samples/vm_perf_example.py +++ b/samples/vm_perf_example.py @@ -48,7 +48,7 @@ def main(): # counterId example: 6 counterInfo = {} for c in perfManager.perfCounter: - fullName = c.groupInfo.key + "." + c.nameInfo.key + "." + c.rollupType + fullName = c.groupInfo.key + "." + c.nameInfo.key + "." + c.rollupType + "(" + c.unitInfo.key + ")" counterInfo[fullName] = c.key # create a list of vim.VirtualMachine objects so