From 1b209879c45e620cfd9d1c2ff9db91c4c6afb2e6 Mon Sep 17 00:00:00 2001 From: Michal Hajas Date: Wed, 20 Nov 2024 15:12:20 +0100 Subject: [PATCH] Fix error responses percentage Signed-off-by: Michal Hajas --- provision/minikube/monitoring/dashboards/keycloak-status.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/provision/minikube/monitoring/dashboards/keycloak-status.json b/provision/minikube/monitoring/dashboards/keycloak-status.json index 51027819..ad4d2a31 100644 --- a/provision/minikube/monitoring/dashboards/keycloak-status.json +++ b/provision/minikube/monitoring/dashboards/keycloak-status.json @@ -233,7 +233,7 @@ "uid": "PBFA97CFB590B2093" }, "editorMode": "code", - "expr": "sum(\n irate(\n http_server_requests_seconds_count{\n uri=~\"/realms/{realm}/protocol/{protocol}.*|/realms/{realm}/login-actions.*\", \n outcome=\"SERVER_ERROR\", \n container=\"keycloak\", \n namespace=\"$namespace\"}\n [$__range] \n )\n) without (le,uri,status,outcome,method,instance) \n/\nsum(\n irate(\n http_server_requests_seconds_count{\n uri=~\"/realms/{realm}/protocol/{protocol}.*|/realms/{realm}/login-actions.*\", \n container=\"keycloak\", \n namespace=\"$namespace\"}\n [$__range] \n )\n) without (le,uri,status,outcome,method,instance) \n\nOR on() vector(0)", + "expr": "sum(\n irate(\n http_server_requests_seconds_count{\n uri=~\"/realms/{realm}/protocol/{protocol}.*|/realms/{realm}/login-actions.*\", \n outcome=\"SERVER_ERROR\", \n container=\"keycloak\", \n namespace=\"$namespace\"}\n [$__range] \n )\n) without (le,uri,status,outcome,method,instance,pod) \n/\nsum(\n irate(\n http_server_requests_seconds_count{\n uri=~\"/realms/{realm}/protocol/{protocol}.*|/realms/{realm}/login-actions.*\", \n container=\"keycloak\", \n namespace=\"$namespace\"}\n [$__range] \n )\n) without (le,uri,status,outcome,method,instance,pod)", "legendFormat": "__auto", "range": true, "refId": "A" @@ -3743,7 +3743,7 @@ "type": "row" } ], - "refresh": false, + "refresh": "", "revision": 1, "schemaVersion": 38, "style": "dark",