Skip to content
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

Why Prometheus metrics don't have no values? #179

Open
AdrianXIA opened this issue Nov 6, 2023 · 4 comments
Open

Why Prometheus metrics don't have no values? #179

AdrianXIA opened this issue Nov 6, 2023 · 4 comments

Comments

@AdrianXIA
Copy link

Hello!

I tried to enable Prometheus metrics for Keycloak (v22.0.5). By accessing the endpoint auth/realm/<realm_name>/metrics, metrics have no value:
image

I configured:

  • variable KC_METRICS_ENABLED=true;

  • the jar is present inside container
    image

  • the listener: metrics-listener is configured
    image

  • no errors in container.

Which can be the reason?

Thank you!

@tommasobrunowork
Copy link

@AdrianXIA were you able to solve this by any chance?

@debMan
Copy link

debMan commented Jan 17, 2024

Any update?

@AdrianXIA
Copy link
Author

Hello! I haven't solved it. Sorry for delay!

@debMan
Copy link

debMan commented Jan 17, 2024

Solved by enabling the metrics listener

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

No branches or pull requests

3 participants