io.opentracing.contrib:opentracing-asynchttpclient

OpenTracing Instrumentation for AsyncHttpClient

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

io.opentracing.contrib
ArtifactId

ArtifactId

opentracing-asynchttpclient
Last Version

Last Version

0.3.3
Release Date

Release Date

Type

Type

jar
Description

Description

io.opentracing.contrib:opentracing-asynchttpclient
OpenTracing Instrumentation for AsyncHttpClient
Project URL

Project URL

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

Source Code Management

http://github.com/opentracing-contrib/java-asynchttpclient

Download opentracing-asynchttpclient

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.asynchttpclient : async-http-client jar 2.10.1
io.opentracing : opentracing-api jar 0.33.0

test (3)

Group / Artifact Type Version
io.opentracing : opentracing-mock jar 0.33.0
junit : junit jar 4.12
com.github.tomakehurst : wiremock-standalone jar 2.24.0

Project Modules

There are no modules declared in this project.

Build Status Coverage Status Released Version Apache-2.0 license

OpenTracing Instrumentation for org.asynchttpclient

Requirements

Installation

Releases are hosted on Maven Central.

pom.xml

<dependency>
    <groupId>io.opentracing.contrib</groupId>
    <artifactId>opentracing-asynchttpclient</artifactId>
    <version>VERSION</version>
</dependency>

Usage

// Instantiate tracer
Tracer tracer = ...


// Build TracingAsyncHttpClient
AsyncHttpClient client = new TracingAsyncHttpClient(tracer);

// By default spans are always created
// To trace only if there is an active span
// Build TracingAsyncHttpClient with optional parameter set to true
AsyncHttpClient client = new TracingAsyncHttpClient(tracer, true);

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.3.3
0.3.2
0.3.1