aerogear / keycloak-metrics-spi

Adds a Metrics Endpoint to Keycloak
Apache License 2.0
530 stars 152 forks source link

Route tag causing huge cardinality #63

Closed cablespaghetti closed 4 years ago

cablespaghetti commented 4 years ago

Description

We found our Prometheus server was using a lot of memory and traced it to the face one of the tags used is "route" which includes the ID for each user, which is our case is in the tens of thousands.

keycloak_request_duration_count{method="GET",route="/admin/realms//users/",} 13.0

It would be good if this tag could be disabled as an option.

Currently on version 1.0.1 but I think this is the case in the latest version as well.

pb82 commented 4 years ago

fixed in #65 (release 2.0.0)