From a95eed93bc3dc2c36f0b4451fe6a0543174a1289 Mon Sep 17 00:00:00 2001
From: buildmaster RxJavaSchedulersHook, set the
To do so, provide a comma-separated list of regular expressions in the spring.sleuth.rxjava.schedulers.ignoredthreads property.
![]() | Important |
|---|---|
The suggest approach to reactive programming and Sleuth is to use the Reactor support. |
Features from this section can be disabled by setting the spring.sleuth.web.enabled property with value equal to false.
Through the TracingFilter, all sampled incoming requests result in creation of a Span.
That Span’s name is http: + the path to which the request was sent.
-For example, if the request was sent to /this/this then the name will be http:/this/that.
+For example, if the request was sent to /this/that then the name will be http:/this/that.
You can configure which URIs you would like to skip by setting the spring.sleuth.web.skipPattern property.
If you have ManagementServerProperties on classpath, its value of contextPath gets appended to the provided skip pattern.
If you want to reuse the Sleuth’s default skip patterns and just append your own, pass those patterns by using the spring.sleuth.web.additionalSkipPattern.
Since we want the span names to be precise, we use a TraceHandlerInterceptor that either wraps an existing HandlerInterceptor or is added directly to the list of existing HandlerInterceptors.
diff --git a/single/spring-cloud-sleuth.html b/single/spring-cloud-sleuth.html
index d41a68467..cb1bbb703 100644
--- a/single/spring-cloud-sleuth.html
+++ b/single/spring-cloud-sleuth.html
@@ -747,7 +747,7 @@ To disable the custom RxJavaSchedulersHook, set the
To do so, provide a comma-separated list of regular expressions in the spring.sleuth.rxjava.schedulers.ignoredthreads property.
![]() | Important |
|---|---|
The suggest approach to reactive programming and Sleuth is to use the Reactor support. |
Features from this section can be disabled by setting the spring.sleuth.web.enabled property with value equal to false.
Through the TracingFilter, all sampled incoming requests result in creation of a Span.
That Span’s name is http: + the path to which the request was sent.
-For example, if the request was sent to /this/this then the name will be http:/this/that.
+For example, if the request was sent to /this/that then the name will be http:/this/that.
You can configure which URIs you would like to skip by setting the spring.sleuth.web.skipPattern property.
If you have ManagementServerProperties on classpath, its value of contextPath gets appended to the provided skip pattern.
If you want to reuse the Sleuth’s default skip patterns and just append your own, pass those patterns by using the spring.sleuth.web.additionalSkipPattern.
Since we want the span names to be precise, we use a TraceHandlerInterceptor that either wraps an existing HandlerInterceptor or is added directly to the list of existing HandlerInterceptors.
diff --git a/spring-cloud-sleuth.xml b/spring-cloud-sleuth.xml
index fa6c45a35..05aa1953c 100644
--- a/spring-cloud-sleuth.xml
+++ b/spring-cloud-sleuth.xml
@@ -1633,7 +1633,7 @@ the Reactor support.