io.opentracing.contrib:opentracing-vertx-web

OpenTracing instrumentation for Vert.x Web

Лицензия

Лицензия

Группа

Группа

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

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

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

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

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

OpenTracing instrumentation for Vert.x Web

Скачать opentracing-vertx-web

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
io.opentracing : opentracing-api jar 0.33.0
io.vertx : vertx-web jar 3.4.2

test (6)

Идентификатор библиотеки Тип Версия
org.awaitility : awaitility jar 3.0.0
io.vertx : vertx-web test-jar 3.4.2
io.vertx : vertx-core test-jar 3.4.2
io.opentracing : opentracing-util jar 0.33.0
io.opentracing : opentracing-mock jar 0.33.0
junit : junit jar 4.12

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

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

Build Status Released Version

OpenTracing Vert.x Web Instrumentation

OpenTracing instrumentation for Vert.x Web project. This repository currently contains handler which traces server requests.

Configuration

Router router = Router.router(vertx);

TracingHandler handler = new TracingHandler(tracer);
router.route()
        .order(-1).handler(handler)
        .failureHandler(handler);

Accessing server span context

Because Vert.x is event loop based, thread local implementations of span source do not work. The current solution is to get span context from RoutingContext and then pass it manually around.

SpanContext serverContext = TracingHandler.serverSpanContext(routingContext);

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

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

Версия
1.0.0
0.1.0
0.0.1