Add reset password gauge to keycloak metrics and monitoring
It would be good to monitor excessive attempts to reset passwords attempts and errors:
Keycloak defines the following two events for it:
- SEND_RESET_PASSWORD
- SEND_RESET_PASSWORD_ERROR
- RESET_PASSWORD
- RESET_PASSWORD_ERROR (for example invalid code, expired code)
The list of events which are record are defined in keycloak-metrics-spi
And needs to be first implemented upstream before we can add monitoring and an alert for it.
Edited by Jelle van der Waa