spring-framework/spring-web
Brian Clozel a18c692b53 Start RestTemplate observation wtih available request
Prior to this commit, the `RestTemplate` `ClientHttpObservation` would
be started before the request object is available. While this would also
measure the connection estalishment for some HTTP client libraries, this
arrangement is incompatible with a tracing approach where the request
must be available to propagate information through the request headers.

This commit ensures that the observation only starts when the request is
available.

Fixes gh-29234
2022-09-30 23:12:53 +02:00
..
src Start RestTemplate observation wtih available request 2022-09-30 23:12:53 +02:00
spring-web.gradle Upgrade RestTemplate to HttpClient 5 2022-09-20 12:04:51 +02:00