Merge branch '2.4.x'

Closes gh-25372
pull/25374/head
Stephane Nicoll 4 years ago
commit 808e58265f

@ -2278,7 +2278,7 @@ To customize the tags, provide a `@Bean` that implements `JerseyTagsProvider`.
[[production-ready-metrics-http-clients]] [[production-ready-metrics-http-clients]]
==== HTTP Client Metrics ==== HTTP Client Metrics
Spring Boot Actuator manages the instrumentation of both `RestTemplate` and `WebClient`. Spring Boot Actuator manages the instrumentation of both `RestTemplate` and `WebClient`.
For that, you have to get injected with an auto-configured builder and use it to create instances: For that, you have to inject the auto-configured builder and use it to create instances:
* `RestTemplateBuilder` for `RestTemplate` * `RestTemplateBuilder` for `RestTemplate`
* `WebClient.Builder` for `WebClient` * `WebClient.Builder` for `WebClient`

Loading…
Cancel
Save