• Home
Name Date Size #Lines LOC

..--

src/03-May-2024-1,281772

README.mdD03-May-20241.5 KiB4235

build.gradleD03-May-2024405 1712

README.md

1# OpenCensus HTTP Util
2[![Build Status][travis-image]][travis-url]
3[![Windows Build Status][appveyor-image]][appveyor-url]
4[![Maven Central][maven-image]][maven-url]
5
6The *OpenCensus HTTP Util for Java* is a collection of utilities for trace instrumentation when
7working with HTTP.
8
9## Quickstart
10
11### Add the dependencies to your project
12
13For Maven add to your `pom.xml`:
14```xml
15<dependencies>
16  <dependency>
17    <groupId>io.opencensus</groupId>
18    <artifactId>opencensus-api</artifactId>
19    <version>0.16.1</version>
20  </dependency>
21  <dependency>
22    <groupId>io.opencensus</groupId>
23    <artifactId>opencensus-contrib-http-util</artifactId>
24    <version>0.16.1</version>
25  </dependency>
26</dependencies>
27```
28
29For Gradle add to your dependencies:
30```gradle
31compile 'io.opencensus:opencensus-api:0.16.1'
32compile 'io.opencensus:opencensus-contrib-http-util:0.16.1'
33```
34
35[travis-image]: https://travis-ci.org/census-instrumentation/opencensus-java.svg?branch=master
36[travis-url]: https://travis-ci.org/census-instrumentation/opencensus-java
37[appveyor-image]: https://ci.appveyor.com/api/projects/status/hxthmpkxar4jq4be/branch/master?svg=true
38[appveyor-url]: https://ci.appveyor.com/project/opencensusjavateam/opencensus-java/branch/master
39[maven-image]: https://maven-badges.herokuapp.com/maven-central/io.opencensus/opencensus-contrib-grpc-util/badge.svg
40[maven-url]: https://maven-badges.herokuapp.com/maven-central/io.opencensus/opencensus-contrib-grpc-util
41[grpc-url]: https://github.com/grpc/grpc-java
42