io.opentracing.contrib:opentracing-spring-tracer-configuration-starter

Default OpenTracing tracer provider for Spring

License

License

Categories

Categories

Configuration Application Layer Libs config
GroupId

GroupId

io.opentracing.contrib
ArtifactId

ArtifactId

opentracing-spring-tracer-configuration-starter
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

Default OpenTracing tracer provider for Spring

Download opentracing-spring-tracer-configuration-starter

How to add to project

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

Dependencies

compile (5)

Group / Artifact Type Version
io.opentracing : opentracing-noop jar 0.33.0
io.opentracing : opentracing-util jar 0.33.0
io.opentracing.contrib : opentracing-tracerresolver jar 0.1.8
org.springframework.boot : spring-boot-autoconfigure jar
org.springframework : spring-core jar

test (4)

Group / Artifact Type Version
junit : junit jar 4.12
io.opentracing : opentracing-mock jar 0.33.0
io.opentracing : opentracing-util test-jar 0.33.0
org.springframework.boot : spring-boot-starter-test jar

Project Modules

There are no modules declared in this project.

Build Status Released Version

OpenTracing Spring Tracer Configuration

This repository provides a tracer auto-configuration for Spring Boot. The auto-configuration does following:

  1. Returns tracer from GlobalTracer.
  2. Resolves tracer from tracerresolver.
  3. If not tracer has been found it returns NoopTracer.
  4. Registers tracer to GlobalTracer - if it has not been registered.

This auto-configuration is usually configured to run if no tracer bean has been provided (e.g. Jaeger/Zipkin starter).

Development

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

./mvnw clean install

Release

Follow instructions in RELEASE

License

Apache 2.0 License.

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
0.4.0
0.3.1
0.2.0
0.1.0