Fix vROps monitoring problems related to SOL006 migration
[osm/MON.git] / osm_mon / collector / vnf_collectors / vrops / vrops_helper.py
index 39d3238..775aa10 100644 (file)
@@ -105,7 +105,7 @@ class vROPS_Helper():
         monitoring_keys = {}
         # Collect the names of all the metrics we need to query
         for metric_entry in monitoring_params:
-            metric_name = metric_entry['nfvi-metric']
+            metric_name = metric_entry['performance-metric']
             if metric_name not in METRIC_MAPPINGS:
                 log.debug("Metric {} not supported, ignoring".format(metric_name))
                 continue