tree: 2aaac54ca9fa082757052789f6ea691e284d788e [path history] [tgz]
  1. src/
  2. build.gradle
  3. README.md
contrib/http_servlet/README.md

OpenCensus Http Servlet Plugin

Build Status Windows Build Status Maven Central

The OpenCensus Http Servlet Plugin for Java is a plugin for trace instrumentation when using HTTP Servlet 3.0

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-servlet</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-servlet:0.28.3'

Instrumenting HTTP Servlets

See http-server example. Instruction to build and run the example is here.