- Notifications
You must be signed in to change notification settings - Fork11
OpenTracing Spring Messaging instrumentation
License
opentracing-contrib/java-spring-messaging
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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.
Note: make sure that an
io.opentracing.Tracerbean is available. It is not provided by this library.
Add the following starter dependency to your pom.xml:
<dependency> <groupId>io.opentracing.contrib</groupId> <artifactId>opentracing-spring-messaging-starter</artifactId></dependency>
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@GlobalChannelInterceptorpublicOpenTracingChannelInterceptoropenTracingChannelInterceptor(Tracertracer) {returnnewOpenTracingChannelInterceptor(tracer);}
Maven checkstyle plugin is used to maintain consistent code style based onGoogle Style Guides
./mvnw clean install
Follow instructions inRELEASE
About
OpenTracing Spring Messaging instrumentation
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.