aerogear / keycloak-metrics-spi

Adds a Metrics Endpoint to Keycloak
Apache License 2.0
530 stars 152 forks source link

add metric for total number of logins #92

Closed xinau closed 3 years ago

xinau commented 3 years ago

hi. eventhough it might seem to be able to get the total number of login attempts by adding the keycloak_logins and keycloak_failed_login_attempts. it's only possible if metrics for both exist with identical labels. this is not always the case as show in this example where specific realms haven't had failed logins or logins. 2021-01-06_13-12

xinau commented 3 years ago

closed with #93