Add missing vca_id parameter in juju.py
[osm/MON.git] / osm_mon / collector / vnf_collectors / juju.py
index 0e2fac2..7e639b5 100644 (file)
@@ -124,7 +124,9 @@ class VCACollector(BaseCollector):
                 return metrics
             measures = self.loop.run_until_complete(
                 self.n2vc.get_metrics(
-                    vca_deployment_info["model"], vca_deployment_info["application"]
+                    vca_deployment_info["model"],
+                    vca_deployment_info["application"],
+                    vca_id=vnfr.get("vca-id"),
                 )
             )
             # Search for Mgmt VDU name, needed to query Prometheus based on alarm tags