Added info about UserInfoRestTemplateCustomizer in the docs

This commit is contained in:
Marcin Grzejszczak
2018-03-03 22:24:58 +01:00
parent 0d136893a3
commit 786fcaf813

View File

@@ -1032,6 +1032,12 @@ To block this feature, set `spring.sleuth.web.client.enabled` to `false`.
IMPORTANT: You have to register `HttpClient` as a bean so that the instrumentation happens.
If you create a `HttpClient` instance with a `new` keyword, the instrumentation does NOT work.
==== `UserInfoRestTemplateCustomizer`
We instrument the Spring Security's `UserInfoRestTemplateCustomizer`.
To block this feature, set `spring.sleuth.web.client.enabled` to `false`.
=== Feign
By default, Spring Cloud Sleuth provides integration with Feign through `TraceFeignClientAutoConfiguration`.