Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Latest commit

 

History

History
46 lines (37 loc) · 1.91 KB

File metadata and controls

46 lines (37 loc) · 1.91 KB

OpenCensus Jetty HttpClient

Build Status Windows Build Status Maven Central

The OpenCensus Jetty HttpClient for Java is a wrapper for trace instrumentation when using Jetty as HTTP client.

Quickstart

Add the dependencies to your project

For Maven add to your pom.xml:

<dependencies>
  <dependency>
    <groupId>io.opencensus</groupId>
    <artifactId>opencensus-api</artifactId>
    <version>0.26.0</version>
  </dependency>
  <dependency>
    <groupId>io.opencensus</groupId>
    <artifactId>opencensus-contrib-http-jetty-client</artifactId>
    <version>0.26.0</version>
  </dependency>
</dependencies>

For Gradle add to your dependencies:

compile 'io.opencensus:opencensus-api:0.26.0'
compile 'io.opencensus:opencensus-contrib-http-jetty-client:0.26.0'

Instrumenting Jetty Http Client

See http-client example. For build and run instruction click here.