io.opentracing.contrib:opentracing-spring-messaging-parent

OpenTracing instrumentation for Spring Messaging

License

License

Categories

Categories

Messaging Application Layer Libs
GroupId

GroupId

io.opentracing.contrib
ArtifactId

ArtifactId

opentracing-spring-messaging-parent
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom
Description

Description

io.opentracing.contrib:opentracing-spring-messaging-parent
OpenTracing instrumentation for Spring Messaging
Project URL

Project URL

https://github.com/opentracing-contrib/java-spring-messaging
Source Code Management

Source Code Management

https://github.com/opentracing-contrib/java-spring-messaging

Download opentracing-spring-messaging-parent

How to add to project

<!-- https://jarcasting.com/artifacts/io.opentracing.contrib/opentracing-spring-messaging-parent/ -->
<dependency>
    <groupId>io.opentracing.contrib</groupId>
    <artifactId>opentracing-spring-messaging-parent</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.opentracing.contrib/opentracing-spring-messaging-parent/
implementation 'io.opentracing.contrib:opentracing-spring-messaging-parent:1.0.0'
// https://jarcasting.com/artifacts/io.opentracing.contrib/opentracing-spring-messaging-parent/
implementation ("io.opentracing.contrib:opentracing-spring-messaging-parent:1.0.0")
'io.opentracing.contrib:opentracing-spring-messaging-parent:pom:1.0.0'
<dependency org="io.opentracing.contrib" name="opentracing-spring-messaging-parent" rev="1.0.0">
  <artifact name="opentracing-spring-messaging-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.opentracing.contrib', module='opentracing-spring-messaging-parent', version='1.0.0')
)
libraryDependencies += "io.opentracing.contrib" % "opentracing-spring-messaging-parent" % "1.0.0"
[io.opentracing.contrib/opentracing-spring-messaging-parent "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • opentracing-spring-messaging
  • opentracing-spring-messaging-starter
  • opentracing-spring-messaging-it

Build Status Released Version

OpenTracing Spring Messaging

This repository provides OpenTracing instrumentation for various frameworks that use Spring Messaging (e.g. Spring Cloud Stream). It can be used with any OpenTracing compatible implementation. It implements Spring Messaging ChannelInterceptor interface and registers as a global channel interceptor.

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-messaging-starter</artifactId>
</dependency>

Spring

Add the following dependency to your pom.xml:

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

And register an interceptor bean:

@Bean
@GlobalChannelInterceptor
public OpenTracingChannelInterceptor openTracingChannelInterceptor(Tracer tracer) {
  return new OpenTracingChannelInterceptor(tracer);
}

Development

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

./mvnw clean install

Release

Follow instructions in RELEASE

io.opentracing.contrib

3rd-Party OpenTracing API Contributions

3rd-party contributions that use OpenTracing. **The repositories in this org are *not* affiliated with the CNCF.**

Versions

Version
1.0.0
0.1.2
0.1.1
0.1.0
0.0.5
0.0.3
0.0.2
0.0.1