-
Notifications
You must be signed in to change notification settings - Fork 164
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
Metrics from multiple realms are not showing up #174
Comments
Facing the same issue, need some help +1 |
@TalhaNaeem101 Had you setting up the listener in all of your realms? You need to setup each realm that you want to collect metric with the listener, at least was what I did. |
I've the same issue with: Someone has solved the issue? |
I've tried with: But the issue persists. |
It works for me with the following versions: |
Description
The metrics are not showing up for all realms, it only shows for the master realm. While in the docs it is mentioned that It will return data for all realms, no matter which realm you use in the URL, But IT DOES NOT WORK FOR ME.
Expected Behavior
Metrics of all realms are to be exported in Prometheus and shown in grafana dashboard, the realm dashboard should be showing all the created realms.
Actual Behavior
I am seeing the metrcis of only one realm, i.e. master realm. While I have 4 more realms , but their metrics are not showing up. And the dropdown option for the realms does nott work in Grafana. Here is the screenshot for grafana dashboard, it only shows master realm, even if I use another realm name in endpoint:
And the endpoint I have used is:
<url>/auth/realms/master/metrics
Environment
keycloak-metrics-spi version: 2.5.3
Keycoak version: 15.0.2 quay.io/keycloak/keycloak:15.0.2
Prometheus version: quay.io/prometheus-operator/prometheus-operator:v0.62.0
Grafana version: 6.48
Dockerfile for metrics-spi Setup:
Please help/support in acheiving this milestone, I need to monitor all the realms which are being created programmatically.
The text was updated successfully, but these errors were encountered: