Skip to content

feat: enable keycloak user event metrics #1614

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

Merged
merged 2 commits into from
May 29, 2025
Merged

Conversation

joelmccoy
Copy link
Contributor

@joelmccoy joelmccoy commented May 28, 2025

Description

This enables keycloak user event metrics by default. Ref: https://www.keycloak.org/observability/event-metrics#_enable_event_metrics.

I performed very basic local load testing by simulating 100 failed login events and noticed no noticeable difference CPU/Mem usage.

Without User Metrics
image

With User Metrics Enabled
image2

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Steps to Validate

  • Deploy standard bundle uds run test-uds-core
  • Verify keycloak_user_events_total metric is populating in grafana here

Checklist before merging

BEGIN_COMMIT_OVERRIDE
feat: enable keycloak user event metrics (#1614)

Release-As: 0.43.1
END_COMMIT_OVERRIDE

@joelmccoy joelmccoy requested a review from a team as a code owner May 28, 2025 21:21
@slaskawi slaskawi merged commit 3077426 into main May 29, 2025
16 checks passed
@slaskawi slaskawi deleted the add-keycloak-metrics branch May 29, 2025 05:54
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

Successfully merging this pull request may close these issues.

2 participants