Bug 2337 - Grafana dashboards do not work when NG-SA is enabled 11/14411/3
authorRahul Zamre <rzamre@indracompany.com>
Tue, 4 Jun 2024 08:26:57 +0000 (09:26 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 30 Sep 2024 15:29:40 +0000 (17:29 +0200)
Change-Id: I824779a5b4d1afe8cc184e78b9238fc444e49374
Signed-off-by: Rahul Zamre <rzamre@indracompany.com>
installers/helm/osm/values.yaml

index ac85034..b04b855 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