Skip to content

Keycloak metrics #3119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
shaidar opened this issue Apr 15, 2025 · 1 comment
Open

Keycloak metrics #3119

shaidar opened this issue Apr 15, 2025 · 1 comment
Assignees

Comments

@shaidar
Copy link
Contributor

shaidar commented Apr 15, 2025

Description/Context

We currently rely on https://github.com/aerogear/keycloak-metrics-spi to expose Keycloak metrics which we then ship to hosted Grafana through vector. The new release of Keycloak provides guides to two Grafana dashboards and the plugin that we have been relying on does not appear to be that active lately given that the last commit was about 5 months ago.

We should remove the metrics plugin from our pipeline and make the necessary Keycloak changes to expose Keycloak metrics with the built-in feature.

@shaidar shaidar added the DevOps label Apr 15, 2025
@shaidar shaidar self-assigned this Apr 15, 2025
@shaidar shaidar added the sso label Apr 15, 2025
@shaidar
Copy link
Contributor Author

shaidar commented Apr 17, 2025

The keycloak metrics endpoint along with the healthcheck one are both configured and up and running on CI. Turning on events in the UI, doesn't appear to enable user and admin events for the metrics endpoint. Had to pass another startup flag to get the metrics endpoint to show those stats. Setup the Grafana dashboards from the Keycloak repo however i wasn't seeing any metrics flowing through. Verified that the vector client is scraping the new metrics url (port 9000) and verified that the metrics endpoint has data for the stats that the Grafana dashboard is querying for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant