From: aguilard Date: Wed, 30 Nov 2022 12:00:32 +0000 (+0100) Subject: Update Prometheus recording rules for NG-SA X-Git-Tag: release-v14.0-start~129 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=cb7dc67d460141b98472561ce080cf378c9cd785;p=osm%2Fdevops.git Update Prometheus recording rules for NG-SA Change-Id: I6fd6dad662822490eecdd89006064be429b36db0 Signed-off-by: aguilard --- 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