From abb891afd4aedbe8fff006601f6e6945988b8e41 Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Mon, 27 Jul 2020 12:24:43 +0530 Subject: [PATCH] fix: Nginx dashboard detailed query (#1764) Signed-off-by: Rajesh Rajendran --- .../dashboards/dashboards/nginx-detailed.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kubernetes/helm_charts/monitoring/dashboards/dashboards/nginx-detailed.json b/kubernetes/helm_charts/monitoring/dashboards/dashboards/nginx-detailed.json index bd9853fe4f..51031c6b7f 100644 --- a/kubernetes/helm_charts/monitoring/dashboards/dashboards/nginx-detailed.json +++ b/kubernetes/helm_charts/monitoring/dashboards/dashboards/nginx-detailed.json @@ -18,7 +18,7 @@ "gnetId": null, "graphTooltip": 0, "id": 80, - "iteration": 1595407742621, + "iteration": 1595831733218, "links": [], "panels": [ { @@ -189,19 +189,19 @@ "steppedLine": false, "targets": [ { - "expr": "(sum(increase(nginx_http_requests_total{status!~\"4..|5..\"}[5m] offset 1d)) / sum(increase(nginx_http_requests_total[5m] ))) * 100", + "expr": "(sum(increase(nginx_http_requests_total{status!~\"4..|5..\"}[5m] )) / sum(increase(nginx_http_requests_total[5m] ))) * 100", "interval": "", "legendFormat": "Today", "refId": "A" }, { - "expr": "(sum(increase(nginx_http_requests_total{status!~\"4..|5..\"}[5m] offset 1d)) / sum(increase(nginx_http_requests_total[5m] offset 1w))) * 100", + "expr": "(sum(increase(nginx_http_requests_total{status!~\"4..|5..\"}[5m] offset 1d)) / sum(increase(nginx_http_requests_total[5m] offset 1d))) * 100", "interval": "", "legendFormat": "Yesteday", "refId": "B" }, { - "expr": "(sum(increase(nginx_http_requests_total{status!~\"4..|5..\"}[5m] offset 1d)) / sum(increase(nginx_http_requests_total[5m] offset 1d))) * 100", + "expr": "(sum(increase(nginx_http_requests_total{status!~\"4..|5..\"}[5m] offset 1w)) / sum(increase(nginx_http_requests_total[5m] offset 1w))) * 100", "interval": "", "legendFormat": "Last Week", "refId": "C" @@ -297,13 +297,13 @@ "steppedLine": false, "targets": [ { - "expr": "(sum(increase(nginx_http_requests_total{ status!~\"2..|3..\"}[5m] offset 1w)) / sum(increase(nginx_http_requests_total[5m]))) * 100", + "expr": "(sum(increase(nginx_http_requests_total{ status!~\"2..|3..\"}[5m])) / sum(increase(nginx_http_requests_total[5m]))) * 100", "interval": "", "legendFormat": "Today", "refId": "A" }, { - "expr": "(sum(increase(nginx_http_requests_total{ status!~\"2..|3..\"}[5m] offset 1w)) / sum(increase(nginx_http_requests_total[5m] offset 1d))) * 100", + "expr": "(sum(increase(nginx_http_requests_total{ status!~\"2..|3..\"}[5m] offset 1d)) / sum(increase(nginx_http_requests_total[5m] offset 1d))) * 100", "interval": "", "legendFormat": "Yesterday", "refId": "B" @@ -1201,5 +1201,5 @@ "timezone": "", "title": "Nginx Detailed", "uid": "9wKzPxZMz", - "version": 10 + "version": 11 }