Skip to content

Commit 2aa1550

Browse files
Fix expression in grafana dashboard to match the rate interval instead of having a fixed 100m value
1 parent b50ebb4 commit 2aa1550

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

grafana/provisioning/dashboards/aligned/aggregation_mode_gateway.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"uid": "prometheus"
201201
},
202202
"editorMode": "code",
203-
"expr": "sum(\n rate(api_response_code{statuscode=~\"5..\"}[100m])\n)",
203+
"expr": "sum(\n rate(api_response_code{statuscode=~\"5..\"}[$__rate_interval])\n)",
204204
"instant": false,
205205
"legendFormat": "__auto",
206206
"range": true,

0 commit comments

Comments
 (0)