From: beierl Date: Mon, 15 Jul 2019 15:56:21 +0000 (-0400) Subject: Correct multiplier X-Git-Tag: v6.0.2rc1~5^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=2584d804b990ced07e6860385b0634eb48a4a49c;p=osm%2FMON.git 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) --- 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 }