<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi everybody,<div class=""><br class=""></div><div class="">we’re currently discussing what the Grafana Dashboard for KeyCloak should look like and what kind of data is important to display. A crude mockup image is attached. The following metrics are candidates:</div><div class=""><br class=""></div><div class=""><ul class="MailOutline"><li class=""><b class="">Currently Logged in Users</b>: the number of active users over time. Unsure yet if we can track this reliably in KeyCloak.</li><ul class=""><li class="">Question/Problem: can KeyCloak reliably track this? We get the number of Logins and Logouts, but i’m not sure when exactly a logout is triggered. What if a user just logs in with KeyCloak, gets the token but never logs out? This is probably better suited to be tracked through SDK usage metrics.</li></ul></ul><div class=""><br class=""></div><ul class="MailOutline"><li class=""><b class="">Failed Login Attempts</b>: useful for brute force detection. We have a counter for this and want to display it as a line graph over time as well as a bar chart for every month.</li></ul><div class=""><br class=""></div><ul class="MailOutline"><li class=""><b class="">User by Identity Provider</b>: The percentage of users by identity provider (Google, Facebook Github…). This information should be available in the KeyCloak Login events which are tracked.</li></ul><div class=""><br class=""></div><ul class="MailOutline"><li class=""><b class="">Memory usage over time</b>: A line chart showing the memory usage over a timespan (last day?). This data is already returned from the KeyCloak metrics endpoint.</li></ul><div class=""><br class=""></div></div><div class="">I’d appreciate any suggestions and opinions on this!</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Peter</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="5EF4C613-A94F-4F66-AE59-185788FC5B82" src="cid:FBABB71A-34D2-4A5D-B116-480F58DC9AA7@fritz.box" class=""></div></body></html>