We are having a really high cardinality of tags for the prometheus metrics "keycloak_request_duration_bucket" because the 404 resources are logged with the url part.
Some tag examples:
resource="realms,auth/realms/myrealm/administrador" resource="realms,auth/realms/myrealm/administrat" resource="realms,auth/realms/myrealm/adminpro" resource="realms,auth/realms/myrealm/admins" ....
Ideally the resource should be written only as "URI_NOT_FOUND" (like java spring does) or other constant value.