Hi community and Dynatrace team,
Currently, the Dynatrace Keycloak extension does not collect the metric keycloak_user_events_total, even though it is exposed by the Prometheus endpoint.
This metric is particularly valuable for monitoring user-related activities such as logins, registrations, and other user events — which are essential for both security auditing and usage analytics.
It would be very helpful if the Keycloak extension could include keycloak_user_events_total in its default metric list, so that teams can gain deeper visibility into user behavior without needing to develop and maintain a custom Prometheus extension.
Use case example:
- Track user login frequency and anomalies
- Correlate authentication events with application performance
- Detect spikes in failed logins for security monitoring
Adding this metric would make the Keycloak extension more complete and reduce the need for custom instrumentation.
The link to the extension we are using is this one:
Hope that this product idea will be integrated in future release,
Best regards,
Matteo