{"repo":"kokuwaio/keycloak-event-metrics","free":true,"listed":false,"github":"https://github.com/kokuwaio/keycloak-event-metrics","clone":"git clone https://github.com/kokuwaio/keycloak-event-metrics.git","description":"Provides metrics for Keycloak events","language":"Java","stars":44,"topics":["keycloak","micrometer"],"license":"EUPL-1.2","category":"analytics","readme_excerpt":"Keycloak Metrics Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak 22-26. Why? aerogear/keycloak-metrics-spi is an alternative to this plugin but is not well maintained. This implementation is different: no Prometheus push (event listener only adds counter to Micrometer) no realm specific Prometheus endpoint, only /metrics (from Quarkus) no jvm/http metrics, this is already included in Keycloak different metric names, can relace model ids with name (see configuration) deployed to maven central and very small (15 kb vs. 151 KB aerogear/keycloak-metrics-spi) gauge for active/offline sessions and user/client count What? Resuses micrometer from Quarkus distribution to add metrics for Keycloak for events. User Events User events are added with key keycloak event user total and tags: type : EventType from Event#type realm : realm id from Event#realmId client : client id from Event#clientId, unknown client ids are grouped into UNKOWN error : error from Event#error, only present for error types Examples: Admin Events Admin events are added with key keycloak event admin total and tags: realm : realm id from AdminEvent#realmId operation : OperationType from AdminEvent#operationType resource : ResourceType from AdminEvent#resourceType error : error from AdminEvent#error, only present for error types Examples: Configuration KC METRICS EVENT REPLACE IDS Set to true (the default value) than replace model ids from events with names: RealmModel","default_branch":null,"files":null,"tree":[],"storefront":"/r/kokuwaio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kokuwaio/keycloak-event-metrics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}