Closed
Description
When a WebClient request is build using both :
- a baseUrl
- a URI template
then baseUrl
path
seems ignored in the provided metrics tags
Example :
baseUrl
= https://github.com/spring-projects/spring-boot/releases
uriTemplate
= /tag/v{version}
Actual metrics tags :
uri
= /tag/v{version}
client.name
= github.com
I think that metrics tags should not ignore baseUrl
path
(i.e. /spring-projects/spring-boot/releases
)
I've not checked (so I may be wrong), but I don't think there is the same behavior with RestTemplate.
spring-boot version : 2.7.8 / OpenJDK 64-Bit Server VM Temurin-17.0.3+7