RestClient ignores baseUrl
when setting URI_TEMPLATE_ATTRIBUTE
#33927
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: superseded
An issue that has been superseded by another
theme: observability
An issue related to observability and tracing
When using the RestClient with specifiying a
baseUrl
containing a path, this path is not present at the observationuri
key.For example when making the following request, the
http.client.requests
observation low cardinality keyuri
only contains the value/test
. But I would expect that theuri
key contains the full path of the request/foo/bar/test
.The same issue does not exists when using the
WebClient
because this has been fixed with issue #30027.I am going to provide a PR to fix this issue.
The text was updated successfully, but these errors were encountered: