tree: 57b3688493faac436aba61629747c37f69b3f316 [path history] [tgz]
  1. src/
  2. build.gradle
  3. README.md
contrib/resource_util/README.md

OpenCensus Resources Util

Build Status Windows Build Status Maven Central

The OpenCensus Resource Util for Java is a collection of utilities that defines a set of common resources (aws_ec2_instance, gcp_gce_instance, k8s_container, etc.) and offers auto detection for some of the resources, based on the environment where the application is running.

Quickstart

Add the dependencies to your project

For Maven add to your pom.xml:

<dependencies>
  <dependency>
    <groupId>io.opencensus</groupId>
    <artifactId>opencensus-contrib-resource-util</artifactId>
    <version>0.20.0</version>
  </dependency>
</dependencies>

For Gradle add to your dependencies:

compile 'io.opencensus:opencensus-contrib-resource-util:0.20.0'