aerogear / keycloak-metrics-spi

Adds a Metrics Endpoint to Keycloak
Apache License 2.0
523 stars 151 forks source link

Metrics not available after upgrading to KC 21 and SPI 3.0.0 #163

Closed Jojoooo1 closed 11 months ago

Jojoooo1 commented 1 year ago

Description

Metrics are not being shown anymore

Screenshot from 2023-04-01 11-24-34

Expected Behavior

Metrics should still be available after upgrading.

Actual Behavior

Metrics seem to not work anymore after upgrading.

Environment

Cause

Seems that keycloak_logins is not available anymore in the metrics list.

Jojoooo1 commented 1 year ago

fixed by updating the keycloak chart to use keycloak_logins_total

ampc commented 1 year ago

I'm having the same issue after updating to KC 21 (also using the bitnami chart).

ThoreKr commented 1 year ago

i just see a lot of metrics are no longer populated, mostly related to keycloak_user_... when checking the metrics endpoint there is only the descriptive comment, but no more metric.

pb82 commented 1 year ago

@ampc @ThoreKr some metrics were renamed in 3.0.0 (see https://github.com/aerogear/keycloak-metrics-spi/commit/b95b2bf8a5942c79ee621300cd486ea339383422#diff-4d8e67c4a043844978cb556361cdb00fbaa384b1f1236d5851aa2da66f8ba4b1), but not keycloakuser* events. Is it possible that no data for these metrics existed after a restart?

shukla2009 commented 11 months ago

where can I find KC 21 SPI 3.0.0 compatible chart