io.opentracing.contrib:asynchttpclient-opentracing

OpenTracing Instrumentation for AsyncHttpClient

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

io.opentracing.contrib
Идентификатор

Идентификатор

asynchttpclient-opentracing
Последняя версия

Последняя версия

0.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

io.opentracing.contrib:asynchttpclient-opentracing
OpenTracing Instrumentation for AsyncHttpClient
Ссылка на сайт

Ссылка на сайт

https://github.com/opentracing-contrib/java-asynchttpclient
Система контроля версий

Система контроля версий

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

Скачать asynchttpclient-opentracing

Как подключить последнюю версию

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.asynchttpclient : async-http-client jar 2.8.1
io.opentracing : opentracing-api jar 0.32.0

test (3)

Идентификатор библиотеки Тип Версия
io.opentracing : opentracing-mock jar 0.32.0
junit : junit jar 4.12
com.github.tomakehurst : wiremock-standalone jar 2.22.0

Модули Проекта

Данный проект не имеет модулей.

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.**

Версии библиотеки

Версия
0.3.0
0.1.0