From a2eeb474200b8f9ebcaee6fa68fe52b6e1a5e337 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Tue, 4 May 2021 19:42:53 +0200 Subject: [PATCH] Add missing vca_id parameter in juju.py Change-Id: I8459f56dfce82f3d2ec16c2261e639e540662db8 Signed-off-by: David Garcia --- osm_mon/collector/vnf_collectors/juju.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osm_mon/collector/vnf_collectors/juju.py b/osm_mon/collector/vnf_collectors/juju.py index 0e2fac2..7e639b5 100644 --- a/osm_mon/collector/vnf_collectors/juju.py +++ b/osm_mon/collector/vnf_collectors/juju.py @@ -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 -- 2.25.1