Articles on: Developers

Metrics are missing for a realm

When creating a new realm in a Keycloak deployment, metrics for this realm are not directly available in Cloud-IAM /metrics REST API endpoint and Cloud-IAM dashboard.

In order to let Cloud-IAM know that it musts observe this realm, connect to deployment's Keycloak console, select the realm that must be monitored then go to events then config tab, add metrics-listener in the event listeners section and then don't forget to Save changes.

Seconds later, the realm metrics will be available in Cloud-IAM /metrics REST API endpoint and Cloud-IAM dashboard.

select metric-listener

Updated on: 02/05/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!