From: aguilard Date: Wed, 30 Nov 2022 12:00:32 +0000 (+0100) Subject: Update Prometheus recording rules for NG-SA X-Git-Tag: v13.0.0rc1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=a1edf01576c11f061f5d9a4c5c715a966c0856ce;p=osm%2Fdevops.git Update Prometheus recording rules for NG-SA Change-Id: I6fd6dad662822490eecdd89006064be429b36db0 Signed-off-by: aguilard Signed-off-by: garciadeblas --- diff --git a/installers/docker/osm_pods/ng-prometheus.yaml b/installers/docker/osm_pods/ng-prometheus.yaml index 98dd1e82..0172aafd 100644 --- a/installers/docker/osm_pods/ng-prometheus.yaml +++ b/installers/docker/osm_pods/ng-prometheus.yaml @@ -36,7 +36,7 @@ data: - name: osm_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) 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, vnf_member_index) last_over_time(ns_topology[1m])) or (last_over_time(ns_topology[1m]) * -1) labels: job: osm_prometheus - record: vnf_status