/java-spring-rabbitmq

OpenTracing RabbitMQ instrumentation

Primary LanguageJavaApache License 2.0Apache-2.0

Build Status Released Version

OpenTracing Spring RabbitMQ

This repository provides OpenTracing instrumentation for RabbitMQ. It can be used with any OpenTracing compatible implementation.

The 0.x.x version of this library is compatible with Spring Boot 1.5.x (see release-0.1 branch)

The 1.x.x version of this library is compatible with Spring Boot 2.1.x

Configuration

Note: make sure that an io.opentracing.Tracer bean is available. It is not provided by this library.

Spring Boot

Add the following starter dependency to your pom.xml:

<dependency>
  <groupId>io.opentracing.contrib</groupId>
  <artifactId>opentracing-spring-rabbitmq-starter</artifactId>
</dependency>

Spring

Add the following dependency to your pom.xml:

<dependency>
  <groupId>io.opentracing.contrib</groupId>
  <artifactId>opentracing-spring-rabbitmq</artifactId>
</dependency>

Development

Maven checkstyle plugin is used to maintain consistent code style based on Google Style Guides

./mvnw clean install

Release

Follow instructions in RELEASE