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

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

http_jetty_client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

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.28.3</version>
  </dependency>
  <dependency>
    <groupId>io.opencensus</groupId>
    <artifactId>opencensus-contrib-http-jetty-client</artifactId>
    <version>0.28.3</version>
  </dependency>
</dependencies>

For Gradle add to your dependencies:

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

Instrumenting Jetty Http Client

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