Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OpenTracing Spring Messaging instrumentation

License

NotificationsYou must be signed in to change notification settings

opentracing-contrib/java-spring-messaging

Repository files navigation

Build StatusReleased 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 anio.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@GlobalChannelInterceptorpublicOpenTracingChannelInterceptoropenTracingChannelInterceptor(Tracertracer) {returnnewOpenTracingChannelInterceptor(tracer);}

Development

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

./mvnw clean install

Release

Follow instructions inRELEASE

About

OpenTracing Spring Messaging instrumentation

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp