Closed pb82 closed 4 years ago
@david-martin good point about the major version bump, i'll update this.
Using a wildcard instead of the actual route might work and provide some better insights. But we would need to figure out the patterns of routes that are possible in Keycloak that can involve user (and other) IDs. Or we implement a simple solution like if (route.contains("/user")) { route = "users" }
.
…ber of metrics
Fixes #64 and #63
This PR removes the
route
label from the request duration histograms. With that label a histogram was generated for every route. With a large number of users this can quickly become excessive.Without the
route
label in the metric we still record the request durations of all those requests. But they are aggregated into a single Histogram.Verification steps: