keycloak-metrics-spi icon indicating copy to clipboard operation
keycloak-metrics-spi copied to clipboard

fix grafana dashboard for keycloak 23.0.7 / keycloak-spi-metrics 5.0.0

Open ptrovatelli opened this issue 11 months ago • 0 comments

What

  • Put grafana dashboard under version control
  • Fix dashboard for keycloak 23.0.7 / keycloak-metrics-spi 5.0.0

Changes:

  • switch from graph (angular js deprecated) to timeseries in several widgets
  • in widget and in variables, fix field names : usually needed to add total :
    • keycloak_logins -> keycloak_logins_total
    • keycloak_response_errors -> keycloak_response_errors_total
    • keycloak_registrations -> keycloak_registrations_total
    • keycloak_failed_login_attempts -> keycloak_failed_login_attempts_total
    • keycloak_registrations_errors -> keycloak_registrations_errors_total
    • ...
  • in widgets, update description to state it's for all instances when there is no instance filter

Checklist

I had to manipulate a little bit the dashboard before publishing it as we have specificities that I needed to strip out. Consequently the version I pushed here is not 100% error proof.

Additional Notes

On openshift, replace kubernetes_pod_name by pod_names

ptrovatelli avatar Feb 29 '24 17:02 ptrovatelli