You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
7 months ago
..
src v811_spc009_project 7 months ago
README.md v811_spc009_project 7 months ago
build.gradle v811_spc009_project 7 months ago

README.md

OpenCensus Instana Trace Exporter

Build Status Windows Build Status Maven Central

The OpenCensus Instana Trace Exporter is a trace exporter that exports data to Instana. Instana is a distributed tracing system.

Quickstart

Prerequisites

Instana forwards traces exported by applications instrumented with Census to its backend using the Instana agent processes as proxy. If the agent is used on the same host as Census, please take care to deactivate automatic tracing.

Hello Stan

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.16.1</version>
  </dependency>
  <dependency>
    <groupId>io.opencensus</groupId>
    <artifactId>opencensus-exporter-trace-instana</artifactId>
    <version>0.16.1</version>
  </dependency>
  <dependency>
    <groupId>io.opencensus</groupId>
    <artifactId>opencensus-impl</artifactId>
    <version>0.16.1</version>
    <scope>runtime</scope>
  </dependency>
</dependencies>

For Gradle add to your dependencies:

compile 'io.opencensus:opencensus-api:0.16.1'
compile 'io.opencensus:opencensus-exporter-trace-instana:0.16.1'
runtime 'io.opencensus:opencensus-impl:0.16.1'

Register the exporter

public class MyMainClass {
  public static void main(String[] args) throws Exception {
    InstanaTraceExporter.createAndRegister("http://localhost:42699/com.instana.plugin.generic.trace");
    // ...
  }
}

Java Versions

Java 6 or above is required for using this exporter.