From f74f381706b4d440c1c110617b9bf3d4a036f138 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Mon, 16 Apr 2018 06:07:29 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- multi/multi__integrations.html | 2 +- single/spring-cloud-sleuth.html | 2 +- spring-cloud-sleuth.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/multi/multi__integrations.html b/multi/multi__integrations.html index 6b7cf9417..9652973ef 100644 --- a/multi/multi__integrations.html +++ b/multi/multi__integrations.html @@ -42,7 +42,7 @@ To disable the custom Hystrix Concurrency Strategy, set the return someLogic(); } };

To pass the tracing information, you have to wrap the same logic in the Sleuth version of the HystrixCommand, which is called -TraceCommand, as shown in the following example:

TraceCommand<String> traceCommand = new TraceCommand<String>(tracer, traceKeys, setter) {
+TraceCommand, as shown in the following example:

TraceCommand<String> traceCommand = new TraceCommand<String>(tracer, setter) {
 	@Override
 	public String doRun() throws Exception {
 		return someLogic();
diff --git a/single/spring-cloud-sleuth.html b/single/spring-cloud-sleuth.html
index 27d5565b6..cc8423089 100644
--- a/single/spring-cloud-sleuth.html
+++ b/single/spring-cloud-sleuth.html
@@ -733,7 +733,7 @@ To disable the custom Hystrix Concurrency Strategy, set the return someLogic();
 	}
 };

To pass the tracing information, you have to wrap the same logic in the Sleuth version of the HystrixCommand, which is called -TraceCommand, as shown in the following example:

TraceCommand<String> traceCommand = new TraceCommand<String>(tracer, traceKeys, setter) {
+TraceCommand, as shown in the following example:

TraceCommand<String> traceCommand = new TraceCommand<String>(tracer, setter) {
 	@Override
 	public String doRun() throws Exception {
 		return someLogic();
diff --git a/spring-cloud-sleuth.xml b/spring-cloud-sleuth.xml
index 499891325..98200319d 100644
--- a/spring-cloud-sleuth.xml
+++ b/spring-cloud-sleuth.xml
@@ -1602,7 +1602,7 @@ To disable the custom Hystrix Concurrency Strategy, set the spring.sleu
 };
 To pass the tracing information, you have to wrap the same logic in the Sleuth version of the HystrixCommand, which is called
 TraceCommand, as shown in the following example:
-TraceCommand<String> traceCommand = new TraceCommand<String>(tracer, traceKeys, setter) {
+TraceCommand<String> traceCommand = new TraceCommand<String>(tracer, setter) {
 	@Override
 	public String doRun() throws Exception {
 		return someLogic();