-
Notifications
You must be signed in to change notification settings - Fork 154
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
Missing or wrong labels for certain metrics #167
Comments
Same for me, with the same spi and keycloak versions. |
@npriebe adding username to the metric would increase cardinality and afaik it is generally considered poor practice to do that in TSDBs e.g. https://grafana.com/blog/2022/02/15/what-are-cardinality-spikes-and-why-do-they-matter |
@npriebe did you find any solution ? I find the values as wrong since in every metrics, it's showing me large values (for ex. |
Description
Hi, I noticed that for certain metrics either labels are missing or the labels give wrong values.
The following metrics still need labels:
keycloak_logins, keycloak_failed_attempts, keycloak_client_logins, keycloak_failed_login_attempts:
With this metric, it was useful to have the username as a label for understanding where the request is being attempted.
keycloak_response_errors:
With this metric, the realm as a label is missing.
The following metrics has wrong label values:
keycloak_failed_client_login_attempts:
Here has the label "client_id" wrong values.
For the other metrics, the name of the client is set as client_id.
Example:
Expected Behavior
Metrics with the described labels.
Actual Behavior
Labels seem to be missing.
Environment
The text was updated successfully, but these errors were encountered: