From 921ad0f2fa80d533b13596ef44219fc8c8987ef8 Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Mon, 25 Apr 2022 23:41:32 -0400 Subject: [PATCH] Update python-node-exporter.py --- app/python-node-exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/python-node-exporter.py b/app/python-node-exporter.py index a4b7082..d41d17c 100644 --- a/app/python-node-exporter.py +++ b/app/python-node-exporter.py @@ -48,7 +48,7 @@ def GetDataFunc(): vmapi_json = vmapi.json() for vm in vmapi_json : - metricsDictionary["vm_actualrpo{VmIdentifier=\"" + vm['VmIdentifier'] + "\",VmName=\"" + vm['VmName'] + "\"}"] = vm["ActualRPO"]VmIdentifier + metricsDictionary["vm_actualrpo{VmIdentifier=\"" + vm['VmIdentifier'] + "\",VmName=\"" + vm['VmName'] + "\"}"] = vm["ActualRPO"] metricsDictionary["vm_throughput_in_mb{VmIdentifier=\"" + vm['VmIdentifier'] + "\",VmName=\"" + vm['VmName'] + "\"}"] = vm["ThroughputInMB"] metricsDictionary["vm_iops{VmIdentifier=\"" + vm['VmIdentifier'] + "\",VmName=\"" + vm['VmName'] + "\"}"] = vm["IOPs"] metricsDictionary["vm_journal_used_storage_mb{VmIdentifier=\"" + vm['VmIdentifier'] + "\",VmName=\"" + vm['VmName'] + "\"}"] = vm["JournalUsedStorageMb"]