# java-asynchttpclient **Repository Path**: mirrors_opentracing-contrib/java-asynchttpclient ## Basic Information - **Project Name**: java-asynchttpclient - **Description**: OpenTracing Instrumentation for https://github.com/AsyncHttpClient/async-http-client - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-02-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov] [![Released Version][maven-img]][maven] [![Apache-2.0 license](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) OpenTracing Instrumentation for org.asynchttpclient ## Requirements - [AsyncHttpClient](https://github.com/AsyncHttpClient/async-http-client) >= 2.0.0 - [OpenTracing Java](https://github.com/opentracing/opentracing-java) = 0.32.0 ## Installation Releases are hosted on Maven Central. pom.xml ```xml io.opentracing.contrib opentracing-asynchttpclient VERSION ``` ## Usage ```java // 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](./LICENSE). [ci-img]: https://travis-ci.org/opentracing-contrib/java-asynchttpclient.svg?branch=master [ci]: https://travis-ci.org/opentracing-contrib/java-asynchttpclient [cov-img]: https://coveralls.io/repos/github/opentracing-contrib/java-asynchttpclient/badge.svg?branch=master [cov]: https://coveralls.io/github/opentracing-contrib/java-asynchttpclient?branch=master [maven-img]: https://img.shields.io/maven-central/v/io.opentracing.contrib/opentracing-asynchttpclient.svg [maven]: http://search.maven.org/#search%7Cga%7C1%7Copentracing-asynchttpclient