-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
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
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement