You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Starting with 5.3.1, the expanded path (e.g. /users/42) is used as value for the uri tag in client metrics instead of the path template (e.g. /users/{id}). This breaks our monitoring and generally leads to cardinality problems (especially in prometheus) and the following warning:
Reached the maximum number of URI tags for 'http.client.requests'. Are you using 'uriVariables'?
Bug Report Checklist
Description
Starting with 5.3.1, the expanded path (e.g.
/users/42
) is used as value for the uri tag in client metrics instead of the path template (e.g./users/{id}
). This breaks our monitoring and generally leads to cardinality problems (especially in prometheus) and the following warning:The regression is caused by this change to the
expandPath
method. Due to the usage of a newRestTemplate
, existingRestTemplateCustomizer
are not applied, in this caseMetricsRestTemplateCustomizer
, which is automatically registered byRestTemplateMetricsConfiguration
viaHttpClientMetricsAutoConfiguration
.openapi-generator version
Regression in 5.3.1
The text was updated successfully, but these errors were encountered: