keycloak-metrics-spi
keycloak-metrics-spi copied to clipboard
Keycloak Grafana Metrics to Show all instances report in one.
As of right now, Keycloak Grafana's metrics shows report based on instances (Retrieved from Prometheus gateway / cluster-based Keycloak instance). But, logically speaking instances come and go with time, thus it's better to give a cumulative report from all instances.
For example, as you can see the instances here, most of them don't exist in my cluster. But for a statistics purpose, I wouldn't want to lose the data, and better if I can see only the name 'keycloak' that shows cumulative data retrieved from the instances.
having the same issue. nodes come and go... so the ip's are becoming a mess. not sure what other options are available to solve this problem
I suggest that it's better if anyone could help modify the Grafanas dashboard to only show cumulative data coming from multiple instances.
@MerNat this sounds like an issue with the Grafana dashboard, not sure if there is an action on the SPI?
The Keycloak Operator uses its own dashboard, maybe you can give it a try: https://github.com/keycloak/keycloak-operator/blob/master/pkg/model/monitoring_constants.go#L3