Keycloak Qarkus Support
See original GitHub issueDescription
Trying to add metrics to Keycloak. Followed the instructions, it would seem the service provider is not loaded by Keycloak. Tried with widfly keycloak and that works.
Expected Behavior
Expect metrics in endpoint <url>/auth/realms/<realm>/metrics
Actual Behavior
Curl to <url>/auth/realms/<realm>/metrics results in 404
Environment
- Operating system: Mac OS host, keycloak deployed Docker running on Ubuntu 18.04
- Keycloak: 17 (quarkus)
Steps to reproduce
- Download latest version .jar, at the time of this writing it is 2.5.3
- Copy it to the container on
/opt/keycloak/standalone/deployments/. Tried it out on build and runtime (just in case) - Set the name with
.dodeploy - Start Keycloak
If there is anything else you need, please let me know. If I find something from the Quarkus side, I’ll make sure to also share it here.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Using OpenID Connect (OIDC) and Keycloak to Centralize ...
The quarkus-keycloak-authorization extension is based on quarkus-oidc and provides a policy enforcer that enforces access to protected resources based on ...
Read more >Migrating to Quarkus distribution - Keycloak
To use the Quarkus distribution on Kubernetes and OpenShift you need to use the new Operator, the old Operator does not support the...
Read more >Getting started with Keycloak powered by Quarkus
Keycloak is an Identity Provider that enables you to secure your Web applications by providing Single Sign-On (SSO) capabilities and leveraging ...
Read more >Keycloak with Quarkus: Better together | Novatec
It acts as an identity provider supporting standards like OAuth, OpenID Connect, and SAML 2.0. · Keycloak provides local user storage and ...
Read more >Quarkus & Keycloak Authentication - How to join both worlds ...
How to secure your Quarkus service with proper authentication by Keycloak. In this video I'll show you how to secure your endpoints for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It was not my entire Dockerfile. The solution was to include the file on the second stage, which I was missing.
Thank you @raul-verdi !
@raul-verdi : have you enable the events listener in the realm where you want to have metrics ?
https://github.com/aerogear/keycloak-metrics-spi#enable-metrics-listener-event