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

Provider no longer works on redhat-sso 7.3 #23

Closed
6869dan opened this issue Jan 30, 2019 · 10 comments
Closed

Provider no longer works on redhat-sso 7.3 #23

6869dan opened this issue Jan 30, 2019 · 10 comments

Comments

@6869dan
Copy link

6869dan commented Jan 30, 2019

Description

Firstly, thanks for this provider - have been happily using this for our current keycloak/redhat-sso implementation. However, following an upgrade the keycloak specific metrics no longer work on redhat-sso 7.3 (RHEL branded implementation of keycloak)

Expected Behavior

Metrics such as keycloak_failed_login_attempts should record failed logins as per previous version (7.2)

Actual Behavior

jvm metrics are recorded as before but no keycloak metrics are recorded under /auth/realms/master/metrics as previously

Environment

  • Operating system: Centos 7
  • OpenShift versions: kubernetes 1.10
  • Project Versions:

Steps to reproduce

Deploy redhat-sso 7.3, observe keycloak metrics such as logins and failed logins no longer reflected in metrics endpoint.

Appreciate this is most likely due to a divergence from keycloak standards by redhat but wanted to raise for awareness.

@aliok
Copy link
Member

aliok commented Feb 1, 2019

hi @6869dan
Thanks for reporting this bug.

Even though I haven't tried it yet, I think it is related to a known problem we're aware of which will be fixed with https://trello.com/c/Qmr4E3Ql/229-8-metrics-grafana-as-a-developer-i-want-a-sync-service-metrics-dashboard-grafana-such-that-i-can-have-a-summary-view-of-sync-cli

I will keep you posted.

@pb82
Copy link
Contributor

pb82 commented Feb 7, 2019

Looks like this could be fixed with #24

@pb82
Copy link
Contributor

pb82 commented Feb 7, 2019

@6869dan Can you please try again with the latest commit (master branch)? I believe @Jdourd 's fix could resolve your issue (it's possible that the SPI raised a NPE on those events and thus wasn't able to record them).

@aliok
Copy link
Member

aliok commented Feb 8, 2019

Might be fixed with #25 as well.

Created a release here: https://github.com/aerogear/keycloak-metrics-spi/releases/tag/1.0.0

Could you give the jar in that release a try?

@6869dan
Copy link
Author

6869dan commented Feb 8, 2019 via email

@6869dan
Copy link
Author

6869dan commented Feb 11, 2019

Thx a lot @pb82 & @aliok - can confirm this is working again using your latest SPI jar file and rhsso-7.3.
Many thanks!

@pb82
Copy link
Contributor

pb82 commented Feb 11, 2019

Thanks for verifying this @6869dan . I think we can close this issue now.

@onnder
Copy link

onnder commented Feb 17, 2020

Hi. I have raised similar issue #61. @6869dan please can you confirm that your RHSSO environment is still working correctly since your issue was fixed? It would be very helpful if you can provide your (functional) combination of redhat sso version/patch and metrics-listener SPI build. Thank you.

@aliok
Copy link
Member

aliok commented Feb 25, 2020

cc @wei-lee @grdryn

@aliok
Copy link
Member

aliok commented Feb 25, 2020

cc @wei-lee @grdryn @pb82

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

4 participants