You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying out Spring Boot 3.2.0-RC2 and was quite surprised that a RestClient created via RestClient.builder().build() is not auto-instrumented like RestTemplate and WebClient currently are. If I create a RestClientCustomizer in a similar fashion to RestTemplateObservationConfiguration, then observations are properly created for HTTP requests as one could expect:
I was trying out Spring Boot 3.2.0-RC2 and was quite surprised that a RestClient created via
RestClient.builder().build()
is not auto-instrumented like RestTemplate and WebClient currently are. If I create a RestClientCustomizer in a similar fashion toRestTemplateObservationConfiguration
, then observations are properly created for HTTP requests as one could expect:Adding this as an auto configuration would improve the out-of-the-box experience for the new RestClient.
The text was updated successfully, but these errors were encountered: