Skip to content

Commit cf4b41e

Browse files
author
Miguel Varela Ramos
authored
Fix 5XX grafana dashboard (#1885)
1 parent e2b80aa commit cf4b41e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/dashboards/realtime.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@
633633
"steppedLine": false,
634634
"targets": [
635635
{
636-
"expr": "sum(rate(istio_requests_total{destination_service_name=~\"api-$api_name.+\", response_code=~\"5.+\"}[5m])) by (destination_service_name, response_code)",
636+
"expr": "sum(rate(istio_requests_total{destination_service_name=~\"api-$api_name.+\", response_code=~\"5.+\"}[1m])) by (destination_service_name, response_code)",
637637
"interval": "",
638638
"legendFormat": "{{destination_service_name}}",
639639
"refId": "2XX"

manager/manifests/grafana/grafana-dashboard-realtime.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ data:
654654
"steppedLine": false,
655655
"targets": [
656656
{
657-
"expr": "sum(rate(istio_requests_total{destination_service_name=~\"api-$api_name.+\", response_code=~\"5.+\"}[5m])) by (destination_service_name, response_code)",
657+
"expr": "sum(rate(istio_requests_total{destination_service_name=~\"api-$api_name.+\", response_code=~\"5.+\"}[1m])) by (destination_service_name, response_code)",
658658
"interval": "",
659659
"legendFormat": "{{destination_service_name}}",
660660
"refId": "2XX"

0 commit comments

Comments
 (0)