io.opentracing.contrib:opentracing-okhttp-parent

OpenTracing instrumentation for okhttp client

Лицензия

Лицензия

Группа

Группа

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

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

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

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

3.0.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

io.opentracing.contrib:opentracing-okhttp-parent
OpenTracing instrumentation for okhttp client
Ссылка на сайт

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

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

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

https://github.com/opentracing-contrib/java-okhttp

Скачать opentracing-okhttp-parent

Имя Файла Размер
opentracing-okhttp-parent-3.0.0.pom 5 KB
Обзор

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

  • opentracing-okhttp3

Build Status Released Version

OpenTracing OkHttp Client Instrumentation

OpenTracing instrumentation for OkHttp client.

Configuration

Preferred way how to instrument OkHttpClient is to use TracingCallFactory:

Call.Factory client = new TracingCallFactory(okHttpClient, tracer);
client.newCall(request)...

or use OkHttpClient directly. However when doing multiple async requests simultaneously, parent spans created before invoking the client are not properly inferred.

OkHttpClient client = TracingInterceptor.addTracing(new OkHttpClient.Builder(), tracer)
client.newCall(request)...

Development

./mvnw clean install

Release

Follow instructions in RELEASE

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

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

Версия
3.0.0
2.0.1
2.0.0
0.1.0
0.1.0-RC1
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1