From 2584d804b990ced07e6860385b0634eb48a4a49c Mon Sep 17 00:00:00 2001 From: beierl Date: Mon, 15 Jul 2019 11:56:21 -0400 Subject: [PATCH] Correct multiplier Use the correct metric name when multiplying network bytes sent/received. Change-Id: I51391f5b0c55aeca5ecc4e2888d8365bf8d77cd7 Signed-off-by: beierl (cherry picked from commit 829821e6cc5bb5b98066366755be4990e4b2afa0) --- osm_mon/collector/vnf_collectors/vmware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osm_mon/collector/vnf_collectors/vmware.py b/osm_mon/collector/vnf_collectors/vmware.py index 720daf1..e79ce06 100644 --- a/osm_mon/collector/vnf_collectors/vmware.py +++ b/osm_mon/collector/vnf_collectors/vmware.py @@ -116,8 +116,8 @@ METRIC_MAPPINGS = { METRIC_MULTIPLIERS = { "disk_read_bytes": 1024, "disk_write_bytes": 1024, - "net_bytes_received": 1024, - "net_bytes_sent": 1024 + "packets_received": 1024, + "packets_sent": 1024 } -- 2.25.1