Keycloak 13/14: custom metrics with smallrye not working


untill keycloak 12 we have used smallrye metrics (microprofile eclipse) to expose custom metrics.
Since we upgraded to keycloak14 only the basic metrics are there (cpu)…

I found some post about that i have to add extensions etc, but noting works.
Our environment is kubernetes…

What is the roadmap for metrics, doe we have to switch to some other component, we are stuck in getting our custom metrics back, one way or another…


There’s a ticket for this and a workaround:

1 Like

ok thanks,

so you mean i have to add the same workarround changes to our keycloak 14 container one ?

I wil give it a try… :wink: