From e53657d68dd06daace5d121a14caaa2fd6e679b1 Mon Sep 17 00:00:00 2001 From: Delyan Raychev Date: Wed, 29 Jul 2020 12:27:01 -0700 Subject: [PATCH] Update Grafana dashboards --- charts/osm/grafana/dashboards/osm-service-to-service.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/osm/grafana/dashboards/osm-service-to-service.json b/charts/osm/grafana/dashboards/osm-service-to-service.json index 86c19b821f..ec9bd6962e 100644 --- a/charts/osm/grafana/dashboards/osm-service-to-service.json +++ b/charts/osm/grafana/dashboards/osm-service-to-service.json @@ -142,7 +142,7 @@ "steppedLine": false, "targets": [ { - "expr": "envoy_cluster_upstream_rq_xx{envoy_response_code_class=\"2\",source_service=\"$source_service\",source_namespace=\"$source_namespace\",envoy_cluster_name=\"$destination_service\"}", + "expr": "irate(envoy_cluster_upstream_rq_xx{envoy_response_code_class=\"2\",source_service=\"$source_service\",source_namespace=\"$source_namespace\",envoy_cluster_name=\"$destination_service\"}[1m])", "legendFormat": "Time", "refId": "A" } @@ -248,7 +248,7 @@ "steppedLine": false, "targets": [ { - "expr": "envoy_cluster_upstream_rq_xx{envoy_response_code_class!=\"2\",source_service=\"$source_service\",source_namespace=\"$source_namespace\",envoy_cluster_name=\"$destination_service\"}", + "expr": "irate(envoy_cluster_upstream_rq_xx{envoy_response_code_class!=\"2\",source_service=\"$source_service\",source_namespace=\"$source_namespace\",envoy_cluster_name=\"$destination_service\"}[1m])", "interval": "", "legendFormat": "Time", "refId": "A" @@ -1039,4 +1039,4 @@ "title": "OSM Service to Service Metrics", "uid": "OSMs2sMetrics", "version": 1 - } \ No newline at end of file + }