diff --git a/installers/helm/osm/templates/prometheus/prometheus-recordingrules-configmap.yaml b/installers/helm/osm/templates/prometheus/prometheus-recordingrules-configmap.yaml index c314d86e918f2728ee856c87dc835b4fd0827020..4ed8f0dfd62d2a6b3ee75b31d68af5870238d62e 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