X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharm%2Fosm-update-db-operator%2Fsrc%2Fdb_upgrade.py;h=295ce8755ea6981cdfdcf031c29ae784a010f6c5;hb=HEAD;hp=72eaa81fe367e25613acabd378986be52838f05f;hpb=986c308d5d89b8dbb3361ce2f1638b3285859d8e;p=osm%2Fdevops.git diff --git a/installers/charm/osm-update-db-operator/src/db_upgrade.py b/installers/charm/osm-update-db-operator/src/db_upgrade.py index 72eaa81f..295ce875 100644 --- a/installers/charm/osm-update-db-operator/src/db_upgrade.py +++ b/installers/charm/osm-update-db-operator/src/db_upgrade.py @@ -136,6 +136,7 @@ class MongoUpgrade1214: for vdur in monitored_vdurs: vdu_id = vdur["vdu-id-ref"] metric_name = vnf_monitoring_param.get("performance-metric") + metric_name = f"osm_{metric_name}" vdu_name = vdur["name"] vnf_member_index = vnfr["member-vnf-index-ref"] scalein_threshold = scaling_criteria.get("scale-in-threshold")