Bug 2337 - Grafana dashboards do not work when NG-SA is enabled 22/14622/1
authorRahul Zamre <rzamre@indracompany.com>
Tue, 4 Jun 2024 08:26:57 +0000 (09:26 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 3 Oct 2024 21:39:13 +0000 (23:39 +0200)
Change-Id: I824779a5b4d1afe8cc184e78b9238fc444e49374
Signed-off-by: Rahul Zamre <rzamre@indracompany.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/helm/osm/values.yaml

index e259f80..8bec8f4 100644 (file)
@@ -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