Skip to content

Latest commit

 

History

History
60 lines (48 loc) · 1.9 KB

README.md

File metadata and controls

60 lines (48 loc) · 1.9 KB

brave-secondary-sampling

Maven Central

Project Setup

Gradle

Depend on this:

    implementation 'com.github.openzipkin-contrib.zipkin-secondary-sampling:brave-secondary-sampling:CURRENT_RELEASE'

Exclude brave from transitive deps

  // This is part is irrelevant if you don't use sleuth
  implementation("org.springframework.cloud:spring-cloud-starter-zipkin") {
    exclude group: "io.zipkin.brave" // use brave from brave-secondary-sampling
  }

Maven

Depend on this:

  <dependency>
    <groupId>io.zipkin.contrib.zipkin-secondary-sampling</groupId>
    <artifactId>brave-secondary-sampling</artifactId>
    <version>CURRENT_RELEASE</version>
  </dependency>

Exclude brave from transitive deps

  <!-- This is part is irrelevant if you don't use sleuth -->
  <dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-zipkin</artifactId>
    <exclusions>
      <exclusion>
        <!-- use brave from brave-secondary-sampling -->
        <groupId>io.zipkin.brave</groupId>
        <artifactId>*</artifactId>
      </exclusion>
    </exclusions>
  </dependency>

TODO more instructions

Artifacts

All artifacts publish to the group ID "io.zipkin.contrib.zipkin-secondary-sampling". We use a common release version for all components.

Library Releases

Releases are at Sonatype and Maven Central

Library Snapshots

Snapshots are uploaded to Sonatype after commits to master.