diff --git a/provision/minikube/monitoring/dashboards/keycloak-perf-tests.json b/provision/minikube/monitoring/dashboards/keycloak-perf-tests.json index dca63f191..7d0287b41 100644 --- a/provision/minikube/monitoring/dashboards/keycloak-perf-tests.json +++ b/provision/minikube/monitoring/dashboards/keycloak-perf-tests.json @@ -950,6 +950,106 @@ "title": "CPU Secs Util % by Pod", "type": "timeseries" }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "description": "Keycloak CPU Throttling rate", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 4, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 13, + "w": 6, + "x": 6, + "y": 18 + }, + "id": 61, + "interval": "30", + "options": { + "legend": { + "calcs": [ + "min", + "max", + "lastNotNull", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "sortBy": "Max", + "sortDesc": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "irate(container_cpu_cfs_throttled_seconds_total{namespace=\"$namespace\",container=\"keycloak\"}[1m])", + "hide": false, + "legendFormat": "{{container_label_io_kubernetes_pod_name}}", + "range": true, + "refId": "B" + } + ], + "title": "Keycloak CPU Throttling rate", + "type": "timeseries" + }, { "datasource": { "type": "prometheus", @@ -1010,7 +1110,7 @@ "gridPos": { "h": 13, "w": 6, - "x": 6, + "x": 12, "y": 18 }, "id": 3, @@ -1109,8 +1209,8 @@ }, "gridPos": { "h": 13, - "w": 12, - "x": 12, + "w": 6, + "x": 18, "y": 18 }, "id": 4, @@ -1215,8 +1315,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1309,8 +1408,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1403,8 +1501,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1497,8 +1594,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1592,8 +1688,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1687,8 +1782,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2292,8 +2386,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2398,8 +2491,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2511,8 +2603,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2624,8 +2715,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2742,8 +2832,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2848,8 +2937,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2960,8 +3048,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3096,8 +3183,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3190,8 +3276,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3284,8 +3369,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3378,8 +3462,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3472,6 +3555,6 @@ "timezone": "", "title": "keycloak-perf-tests", "uid": "basic-keycloak-dashboard-by-namespace", - "version": 3, + "version": 1, "weekStart": "" } \ No newline at end of file diff --git a/provision/openshift/monitoring/dashboards/keycloak-perf-tests.json b/provision/openshift/monitoring/dashboards/keycloak-perf-tests.json index af52b864f..ed794a03b 100644 --- a/provision/openshift/monitoring/dashboards/keycloak-perf-tests.json +++ b/provision/openshift/monitoring/dashboards/keycloak-perf-tests.json @@ -25,7 +25,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 2, + "id": 4, "links": [], "liveNow": false, "panels": [ @@ -975,6 +975,109 @@ "title": "CPU Secs Util % by Pod", "type": "timeseries" }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "description": "Keycloak CPU Throttling rate", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 4, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 13, + "w": 6, + "x": 6, + "y": 18 + }, + "id": 52, + "interval": "120", + "options": { + "legend": { + "calcs": [ + "min", + "max", + "lastNotNull", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true, + "sortBy": "Max", + "sortDesc": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "irate(container_cpu_cfs_throttled_seconds_total{namespace=\"$namespace\",container=\"keycloak\"}[1m])", + "hide": false, + "legendFormat": "{{pod}}", + "range": true, + "refId": "B" + } + ], + "title": "Keycloak CPU Throttling rate", + "type": "timeseries" + }, { "datasource": { "type": "prometheus", @@ -1037,7 +1140,7 @@ "gridPos": { "h": 13, "w": 6, - "x": 6, + "x": 12, "y": 18 }, "id": 3, @@ -1075,7 +1178,7 @@ "refId": "B" } ], - "title": "Memory Util % by Pod", + "title": "Memory usage totals by Pod", "type": "timeseries" }, { @@ -1139,8 +1242,8 @@ }, "gridPos": { "h": 13, - "w": 12, - "x": 12, + "w": 6, + "x": 18, "y": 18 }, "id": 4, @@ -2188,7 +2291,7 @@ "refId": "A" } ], - "title": "JVM GC Pause seconds total", + "title": "JVM GC Pause seconds Max", "type": "timeseries" }, { @@ -3522,9 +3625,9 @@ "list": [ { "current": { - "selected": false, - "text": "keycloak", - "value": "keycloak" + "selected": true, + "text": "runner-keycloak", + "value": "runner-keycloak" }, "datasource": { "type": "prometheus", @@ -3549,13 +3652,13 @@ ] }, "time": { - "from": "now-5m", + "from": "now-15m", "to": "now" }, "timepicker": {}, "timezone": "", "title": "keycloak-perf-tests", "uid": "basic-keycloak-dashboard-by-namespace", - "version": 2, + "version": 1, "weekStart": "" }