• Home
Name Date Size #Lines LOC

..--

src/03-May-2024-823405

README.mdD03-May-20241.4 KiB3528

build.gradleD03-May-2024388 1611

README.md

1# OpenCensus Monitored Resources 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 Monitored Resource Util for Java* is a collection of utilities for auto detecting
7monitored resource when exporting stats, based on the environment where the application is running.
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-contrib-monitored-resource-util</artifactId>
19    <version>0.16.1</version>
20  </dependency>
21</dependencies>
22```
23
24For Gradle add to your dependencies:
25```gradle
26compile 'io.opencensus:opencensus-contrib-monitored-resource-util:0.16.1'
27```
28
29[travis-image]: https://travis-ci.org/census-instrumentation/opencensus-java.svg?branch=master
30[travis-url]: https://travis-ci.org/census-instrumentation/opencensus-java
31[appveyor-image]: https://ci.appveyor.com/api/projects/status/hxthmpkxar4jq4be/branch/master?svg=true
32[appveyor-url]: https://ci.appveyor.com/project/opencensusjavateam/opencensus-java/branch/master
33[maven-image]: https://maven-badges.herokuapp.com/maven-central/io.opencensus/opencensus-contrib-monitoredresource-util/badge.svg
34[maven-url]: https://maven-badges.herokuapp.com/maven-central/io.opencensus/opencensus-contrib-monitoredresource-util
35