spring.zipkin.service.name: foo
+diff --git a/spring-cloud-sleuth.html b/spring-cloud-sleuth.html index 28b9eed83..088881c04 100644 --- a/spring-cloud-sleuth.html +++ b/spring-cloud-sleuth.html @@ -471,6 +471,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
peer.service tag and the SA t
+By default Sleuth assumes that when you send a span to Zipkin, you want the span’s service name
+ to be equal to spring.application.name value. That’s not always the case though. There
+ are situations in which you want to explicitly provide a different service name for all spans coming
+ from your application. To achieve that it’s enough to just pass the following property
+ to your application to override that value (example for foo service name):
spring.zipkin.service.name: foo
+