Skip to content

Commit

Permalink
Fix error responses percentage (#1048)
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Hajas <[email protected]>
  • Loading branch information
mhajas authored Nov 20, 2024
1 parent df0384c commit 73ffca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provision/minikube/monitoring/dashboards/keycloak-status.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -3743,7 +3743,7 @@
"type": "row"
}
],
"refresh": false,
"refresh": "",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
Expand Down

0 comments on commit 73ffca6

Please sign in to comment.