io.opentracing.contrib:opentracing-grizzly-ahc

OpenTracing Instrumentation for Grizzly AsyncHttpClient

Лицензия

Лицензия

Категории

Категории

Grizzly Сеть Networking
Группа

Группа

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

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

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

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

0.1.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/opentracing-contrib/java-grizzly-ahc

Скачать opentracing-grizzly-ahc

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

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

Зависимости

provided (5)

Идентификатор библиотеки Тип Версия
io.opentracing : opentracing-api jar 0.32.0
io.opentracing : opentracing-util jar 0.32.0
net.bytebuddy : byte-buddy jar 1.9.13
net.bytebuddy : byte-buddy-agent jar 1.9.13
org.glassfish.grizzly : grizzly-http-client jar 1.15

test (4)

Идентификатор библиотеки Тип Версия
io.opentracing : opentracing-mock jar 0.32.0
junit : junit jar 4.12
org.glassfish.grizzly : grizzly-framework jar 2.3.35
org.glassfish.grizzly : grizzly-http-server jar 2.3.35

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

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

OpenTracing Grizzly Async HTTP Client Instrumentation

OpenTracing instrumentation for Grizzly Async HTTP Client.

OpenTracing Agents

When using a runtime agent like java-agent or java-specialagent AsyncHttpClients will be automatically instrumented by injecting a TracingRequestFilter into its AsyncHttpClientConfig. This is the case with the plain AsyncHttpClient or SimpleAsyncHttpClient:

AsyncHttpClient client = new AsyncHttpClient();
Response response = client.prepareGet("http://localhost:8080/root").execute().get();

or

SimpleAsyncHttpClient client = new SimpleAsyncHttpClient.Builder()
 .setUrl("http://localhost:8080/root")
 .build();

Response respose = client.get().get();

Refer to the agents' documentation for how to include this library as an instrumentation plugin.

Non-Agent Configuration

When not using any of the OpenTracing Agents the TracingRequestFiler must be added directly to the AsyncHttpClientConfig.

AsyncHttpClientConfig config = new AsyncHttpClientConfig.Builder()
        .addRequestFilter(new TracingRequestFilter())
        .build();

AsyncHttpClient client = new AsyncHttpClient(config);
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.1.3
0.1.2
0.1.1
0.1.0