Apply any root URI to RestTemplate metric's URI tag
Previously, a root URI configured via RestTemplateBuilder's rootUri method and RootUriTemplateHandler was not taken into account when generated the URI tag for RestTemplate request metrics. This commit updates MetricsClientHttpRequestInterceptor to be aware of RootUriTemplateHandler and capture the URI template once the root URI has been applied. Fixes gh-25744
Showing
Please register or sign in to comment