Skip to content

ExpediaDotCom/haystack-client-java

Repository files navigation

Build Status codecov License

haystack-client-java

Haystack bindings for the OpenTracing API. Clients use this library to send trace data to a Haystack server.

Opentracing API usage has been documented at https://github.com/opentracing/opentracing-java.

haystack-client-core library provides an implementation of io.opentracing.Tracer that sends spans to Haystack server.

Integrations for common frameworks are available @

How to build the code

Prerequisites

  • Make sure you have Java 1.8

Building

For a full build, including unit tests you can run the following

./mvnw clean package

Releases

Latest releases of this library are available in Maven central

  1. Decide what kind of version bump is necessary, based on Semantic Versioning conventions. In the items below, the version number you select will be referred to as x.y.z.
  2. Update the pom.xml, changing the version element to <version>x.y.z</version>. Note the removal of the -SNAPSHOT suffix.
  3. Update the ReleaseNotes.md file with details of your changes.
  4. Create a pull request with your changes.
  5. Ask for a review of the pull request; when it is approved, the Travis CI build will upload the resulting jar file to the SonaType Staging Repository. This will cause the jar file to be released to the SonaType Release Repository.
  6. Now you have to put back the -SNAPSHOT that you removed in step 2. When you do that, bump the z value to z + 1 to minimize the chance of somebody trying to release on top of the x.y.z version you just released. Note that the next release might not use x.y.z+1; it could instead be x.y+1.0 or x+1.0.0
  7. Create another pull request with the change from step 7 and get it merged.

About

Haystack bindings for OpenTracing API

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors