From 435b4c62a1ef3fc371162519ad1e5945a0d4a3cd Mon Sep 17 00:00:00 2001
From: Rahul Zamre <rzamre@indracompany.com>
Date: Tue, 4 Jun 2024 09:26:57 +0100
Subject: [PATCH] Bug 2337 - Grafana dashboards do not work when NG-SA is
 enabled

Change-Id: I824779a5b4d1afe8cc184e78b9238fc444e49374
Signed-off-by: Rahul Zamre <rzamre@indracompany.com>
---
 installers/helm/osm/values.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/installers/helm/osm/values.yaml b/installers/helm/osm/values.yaml
index ac850346..b04b855a 100644
--- a/installers/helm/osm/values.yaml
+++ b/installers/helm/osm/values.yaml
@@ -417,7 +417,7 @@ prometheus:
             - 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
-- 
GitLab