Avoid recording metrics for http server endpoints while they contain resource IDs
Closes #17281
This commit is contained in:
parent
48dd0893ce
commit
42f66f2c6f
1 changed files with 7 additions and 0 deletions
|
@ -9,6 +9,13 @@ quarkus.banner.enabled=false
|
|||
quarkus.health.extensions.enabled=false
|
||||
quarkus.datasource.health.enabled=false
|
||||
|
||||
# Disable http metrics binder as URL parameters are only shown with placeholders for '/resource' URLs, but not
|
||||
# for '/admin' and '/realms'. Neither the IDs of entities nor the realm name should be part of the metric names
|
||||
# to avoid an explosion of metric names which would lead to memory exhaustion in Keycloak and to a resource
|
||||
# exhaustion in the connected monitoring systems.
|
||||
# See https://github.com/keycloak/keycloak/issues/17281 for a discussion
|
||||
quarkus.micrometer.binder.http-server.enabled=false
|
||||
|
||||
# Enables metrics from other extensions if metrics is enabled
|
||||
quarkus.datasource.metrics.enabled=${quarkus.micrometer.enabled}
|
||||
|
||||
|
|
Loading…
Reference in a new issue