Open AntoineThebaud opened 3 years ago
We would also like to have this fix as this is very important. Would this fix come soon?
When I look at the metrics
endpoint, I see that a big chunk of them already have the _total
suffix added, ex. keycloak_registrations_errors_total
or keycloak_logins_total
. However, sifting through this repo, I don't seem to understand how/where that suffix is added, since in the README and the code, it only shows keycloak_logins
and keycloak_registrations_errors
. Does this happen by the Prometheus client?
I have the same problem. The documentatie has not been updated, but all the metrics have the suffix "_total" added. Also the dashboard from the grafana market place does not work with this change.
I have done some digging. It is Prometheus client which does this. In the change between 0.9.0 to 0.16.0 this is the behavior for compatibility reasons. The dashboard on the grafana marketplace and the documentation should be changed.
This issue is already fixed.
Description
The counter metrics such as
should be suffixed with _total, as described in prometheus documentation https://prometheus.io/docs/practices/naming/ https://www.robustperception.io/on-the-naming-of-things