diff --git a/1.3.x/multi/multi__customizations.html b/1.3.x/multi/multi__customizations.html index bf015a354..3407fb52b 100644 --- a/1.3.x/multi/multi__customizations.html +++ b/1.3.x/multi/multi__customizations.html @@ -117,7 +117,8 @@ TraceFilter myTraceFilter(BeanFactory beanFactory, "custom", "tag"); } }; -}
Sometimes you want to create a manual Span that will wrap a call to an external service which is not instrumented. +}
To change the order of TraceFilter registration, please set the
+spring.sleuth.web.filter-order property.
Sometimes you want to create a manual Span that will wrap a call to an external service which is not instrumented.
What you can do is to create a span with the peer.service tag that will contain a value of the service that you want to call.
Below you can see an example of a call to Redis that is wrapped in such a span.
org.springframework.cloud.sleuth.Span newSpan = tracer.createSpan("redis"); try { diff --git a/1.3.x/single/spring-cloud-sleuth.html b/1.3.x/single/spring-cloud-sleuth.html index c73fbee11..27f5ad05f 100644 --- a/1.3.x/single/spring-cloud-sleuth.html +++ b/1.3.x/single/spring-cloud-sleuth.html @@ -536,7 +536,8 @@ TraceFilter myTraceFilter(BeanFactory beanFactory, "custom", "tag"); } }; -}
Sometimes you want to create a manual Span that will wrap a call to an external service which is not instrumented. +}
To change the order of TraceFilter registration, please set the
+spring.sleuth.web.filter-order property.
Sometimes you want to create a manual Span that will wrap a call to an external service which is not instrumented.
What you can do is to create a span with the peer.service tag that will contain a value of the service that you want to call.
Below you can see an example of a call to Redis that is wrapped in such a span.
org.springframework.cloud.sleuth.Span newSpan = tracer.createSpan("redis"); try { diff --git a/1.3.x/spring-cloud-sleuth.xml b/1.3.x/spring-cloud-sleuth.xml index ac40dc032..32ae78314 100644 --- a/1.3.x/spring-cloud-sleuth.xml +++ b/1.3.x/spring-cloud-sleuth.xml @@ -1229,6 +1229,8 @@ TraceFilter myTraceFilter(BeanFactory beanFactory, final Tracer tracer) { } }; } +To change the order of TraceFilter registration, please set the +spring.sleuth.web.filter-order property.Custom SA tag in Zipkin