Sleuth Context Propagation in http-connector

Hi,

The sleuth context is not propagating with the REST calls via http-connector. Do I need to implement my own custom connector or any suggestion how would I add that to the inbuilt connectors?

Regards,
Hetal

Hi,

I was able to configure httpClient with TraceHttpClientBuilder . But it seems spring beans are not avaiable in Custom Configurator Class. I have initialise a CloseableHttpClient bean and used the same in Configurator. It gives me NullPointer exception. Any possible solutions?



Thank you.

I was able to figure out this issue. The configurator is loaded via ServiceLoader hence it was not able to access the beans injected in Spring.

Thank you.