From e46547a3be0aa42ee49ef58d2654044efbd2192d Mon Sep 17 00:00:00 2001
From: buildmaster http: + the path to which
For example, if the request was sent to /this/that, the name is http:/this/that.
You can configure which URIs you would like to skip by using the spring.sleuth.web.skipPattern property.
If you have ManagementServerProperties on the classpath, its value of contextPath gets appended to the provided skip pattern.
-If you want to reuse Sleuth’s default skip patterns and append your own, pass those patterns by using the spring.sleuth.web.additionalSkipPattern.
We inject a RestTemplate interceptor to ensure that all the tracing information is passed to the requests.
+If you want to reuse Sleuth’s default skip patterns and append your own, pass those patterns by using the spring.sleuth.web.additionalSkipPattern.
Via the integration with Brave, Spring Cloud Sleuth supports Dubbo.
+It’s enough to add the brave-instrumentation-dubbo-rpc dependency:
<dependency> + <groupId>io.zipkin.brave</groupId> + <artifactId>brave-instrumentation-dubbo-rpc</artifactId> +</dependency>
You need to also set a dubbo.properties file with the following contents:
dubbo.provider.filter=tracing +dubbo.consumer.filter=tracing
You can read more about Brave - Dubbo integration here. +An example of Spring Cloud Sleuth and Dubbo can be found here.
We inject a RestTemplate interceptor to ensure that all the tracing information is passed to the requests.
Each time a call is made, a new Span is created.
It gets closed upon receiving the response.
To block the synchronous RestTemplate features, set spring.sleuth.web.client.enabled to false.