we (the AeroGear/Mobile team) have created a SPI that adds a metrics endpoint to
KeyCloak. It’s inspired by a similar project named keycloak-metrics-prometheus but
does not require an extra service. Metrics data is based on internal events and is exposed
in Prometheus format.
Just wanted to share this with you since there are a number of tickets in the KeyCloak
JIRA about a such an endpoint. We’re happy about any suggestions/opinions. We’re also open
to an upstream contribution if the opportunity arises and you are interested.