From: garciadeblas Date: Mon, 10 Mar 2025 15:23:00 +0000 (+0100) Subject: Fix bug 2337: Grafana dashboards do not work when NG-SA is enabled X-Git-Tag: v14.0.3^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fv14.0;p=osm%2Fdevops.git Fix bug 2337: Grafana dashboards do not work when NG-SA is enabled Change-Id: If46838f618dd83e2456a18d4426329b848907c17 Signed-off-by: garciadeblas --- diff --git a/installers/helm/osm/templates/prometheus/prometheus-recordingrules-configmap.yaml b/installers/helm/osm/templates/prometheus/prometheus-recordingrules-configmap.yaml index c314d86e..4ed8f0df 100644 --- a/installers/helm/osm/templates/prometheus/prometheus-recordingrules-configmap.yaml +++ b/installers/helm/osm/templates/prometheus/prometheus-recordingrules-configmap.yaml @@ -28,7 +28,7 @@ data: - name: osm_metric_rules rules: - record: vm_status_extended - expr: (last_over_time(vm_status[1m]) * on (vm_id, vim_id) group_left(ns_id, vnf_id, vdu_id, project_id, job, vdu_name, vnf_member_index) last_over_time(ns_topology[1m])) or (last_over_time(ns_topology[1m]) * -1) + expr: (last_over_time(vm_status[1m]) * on (vm_id, vim_id) group_left(ns_id, vnf_id, vdu_id, project_id, job, vdu_name, ns_name, vnf_member_index) last_over_time(ns_topology[1m])) or (last_over_time(ns_topology[1m]) * -1) labels: job: osm_prometheus - record: vnf_status