io.opentracing.contrib:opentracing-vertx-web-parent

OpenTracing instrumentation for Vert.x Web

Лицензия

Лицензия

Группа

Группа

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

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

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

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

1.0.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

io.opentracing.contrib:opentracing-vertx-web-parent
OpenTracing instrumentation for Vert.x Web
Ссылка на сайт

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

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

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

https://github.com/opentracing-contrib/java-vertx-web

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

Имя Файла Размер
opentracing-vertx-web-parent-1.0.0.pom 6 KB
Обзор

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

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

Зависимости

test (3)

Идентификатор библиотеки Тип Версия
io.opentracing : opentracing-util jar 0.33.0
io.opentracing : opentracing-mock jar 0.33.0
junit : junit jar 4.12

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

  • opentracing-vertx-web

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