From beaf467b837a77bf5a92cd5ca3ce324ca427fd04 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 29 Dec 2016 12:42:47 +0000 Subject: [PATCH] Sync docs from 1.1.x to gh-pages --- 1.1.x/index.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/1.1.x/index.html b/1.1.x/index.html index 90c4c4b6f..81677e0a2 100644 --- a/1.1.x/index.html +++ b/1.1.x/index.html @@ -2286,6 +2286,21 @@ If you create a RestTemplate instance with a new keywo

Asynchronous Rest Template

+
+ + + + + +
+
Important
+
+A traced version of an AsyncRestTemplate bean is registered for you out of the box. If you +have your own bean you have to wrap it in a TraceAsyncRestTemplate representation. The best solution +is to only customize the ClientHttpRequestFactory and / or AsyncClientHttpRequestFactory. +If you have your own AsyncRestTemplate and you don’t wrap it your calls WILL NOT GET TRACED. +
+

Custom instrumentation is set to create and close Spans upon sending and receiving requests. You can customize the ClientHttpRequestFactory and the AsyncClientHttpRequestFactory by registering your beans. Remember to use tracing compatible implementations (e.g. don’t forget to