Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

OpenCensus Datadog Trace Exporter

Build Status Windows Build Status Maven Central

The OpenCensus Datadog Trace Exporter is a trace exporter that exports data to Datadog.



Datadog collects traces using a local agent, which forwards them to the Datadog automatic tracing. Instructions for setting up the agent can be found in the Datadog docs.

Hello Datadog

Add the dependencies to your project

For Maven add to your pom.xml:


For Gradle add to your dependencies:

compile 'io.opencensus:opencensus-api:0.19.2'
compile 'io.opencensus:opencensus-exporter-trace-datadog:0.19.2'
runtime 'io.opencensus:opencensus-impl:0.19.2'

Register the exporter

public class MyMainClass {
  public static void main(String[] args) throws Exception {

    DatadogTraceConfiguration config = DatadogTraceConfiguration.builder()
    // ...

Java Versions

Java 8 or above is required for using this exporter.