Fix restarts count for omec dashboard

Change-Id: I62d4e5b6856cce2cd3dfb927a579699b2f4eb703
diff --git a/nem-monitoring/Chart.yaml b/nem-monitoring/Chart.yaml
index c195e89..8a17ffb 100644
--- a/nem-monitoring/Chart.yaml
+++ b/nem-monitoring/Chart.yaml
@@ -18,4 +18,4 @@
 description: Time Series Storage and Dashboard for CORD
 icon: https://guide.opencord.org/logos/cord.svg
 
-version: 1.3.7
+version: 1.3.8
diff --git a/nem-monitoring/grafana-dashboards/omec-user-plane-summary.json b/nem-monitoring/grafana-dashboards/omec-user-plane-summary.json
index 3c77026..fe384c4 100644
--- a/nem-monitoring/grafana-dashboards/omec-user-plane-summary.json
+++ b/nem-monitoring/grafana-dashboards/omec-user-plane-summary.json
@@ -517,7 +517,8 @@
       "tableColumn": "",
       "targets": [
         {
-          "expr": "kube_pod_container_status_restarts_total{datacenter=\"$site\",namespace=~\"omec-data-plane-cbrs.*\",pod=~\"spgwu.*\"}",
+          "expr": "sum(kube_pod_container_status_restarts_total{datacenter=\"$site\",namespace=~\"omec-data-plane-cbrs.*\",pod=~\"spgwu.*\"})",
+          "instant": true,
           "refId": "A"
         }
       ],
@@ -534,7 +535,7 @@
           "value": "null"
         }
       ],
-      "valueName": "avg"
+      "valueName": "min"
     },
     {
       "cacheTimeout": null,
@@ -846,7 +847,8 @@
       "tableColumn": "",
       "targets": [
         {
-          "expr": "kube_pod_container_status_restarts_total{datacenter=\"$site\",pod=~\"accelleran-cbrs-cu.*\"}",
+          "expr": "sum(kube_pod_container_status_restarts_total{datacenter=\"edge-barcelona\",pod=~\"accelleran-cu.*\"})",
+          "instant": true,
           "refId": "A"
         }
       ],
@@ -863,7 +865,7 @@
           "value": "null"
         }
       ],
-      "valueName": "avg"
+      "valueName": "min"
     }
   ],
   "refresh": "1m",