Correct multiplier 74/7874/1
authorbeierl <mbeierl@vmware.com>
Mon, 15 Jul 2019 15:56:21 +0000 (11:56 -0400)
committerdiazb <bdiaz@whitestack.com>
Thu, 29 Aug 2019 18:21:45 +0000 (20:21 +0200)
Use the correct metric name when multiplying network
bytes sent/received.

Change-Id: I51391f5b0c55aeca5ecc4e2888d8365bf8d77cd7
Signed-off-by: beierl <mbeierl@vmware.com>
(cherry picked from commit 829821e6cc5bb5b98066366755be4990e4b2afa0)

osm_mon/collector/vnf_collectors/vmware.py

index 720daf1..e79ce06 100644 (file)
@@ -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
 }