anchor.diff:  
   ==== Sleuth with Zipkin via HTTP
   
  -If you want both Sleuth and Zipkin just add the `spring-cloud-starter-zipkin` dependency.
  +If you want both Sleuth and Zipkin just add the `spring-cloud-starter-zipkin2` dependency.
   
   [source,xml,indent=0,subs="verbatim,attributes",role="primary"]
   .Maven
  
positive.code: 
      <dependency> <2>
          <groupId>org.springframework.cloud</groupId>
          <artifactId>spring-cloud-sleuth-stream</artifactId>
      </dependency>
      <dependency> <3>
          <groupId>org.springframework.cloud</groupId>
          <artifactId>spring-cloud-starter-sleuth</artifactId>
      </dependency>
      <!-- EXAMPLE FOR RABBIT BINDING -->
      <dependency> <4>
          <groupId>org.springframework.cloud</groupId>
          <artifactId>spring-cloud-stream-binder-rabbit</artifactId>
      </dependency>
  ----
  <1> In order not to pick versions by yourself it's much better if you add the dependency management via
  the Spring BOM
  <2> Add the dependency to `spring-cloud-sleuth-stream`
  <3> Add the dependency to `spring-cloud-starter-sleuth` - that way all dependant dependencies will be downloaded
  <4> Add a binder (e.g. Rabbit binder) to tell Spring Cloud Stream what it should bind to
  
  [source,groovy,indent=0,subs="verbatim,attributes",role="secondary"]
  .Gradle
  
negative.code: 
  * Provides simple metrics of accepted / dropped spans.
  
  * If `spring-cloud-sleuth-zipkin2` then the app will generate and collect Zipkin-compatible traces.
  By default it sends them via HTTP to a Zipkin server on localhost (port 9411).
  Configure the location of the service using `spring.zipkin.baseUrl`.
    - If you depend on `spring-rabbit` or `spring-kafka` your app will send traces to a broker instead of http.
    - Note: `spring-cloud-sleuth-stream` is deprecated and should no longer be used.
  
  IMPORTANT: If using Zipkin, configure the percentage of spans exported using `spring.sleuth.sampler.percentage`
  (default 0.1, i.e. 10%). *Otherwise you might think that Sleuth is not working cause it's omitting some spans.*
  
  NOTE: the SLF4J MDC is always set and logback users will immediately see the trace and span ids in logs per the example
  