Skip to content
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 SignalFx Stats Exporter

The OpenCensus SignalFx Stats Exporter is a stats exporter that exports data to SignalFx, a real-time monitoring solution for cloud and distributed applications. SignalFx ingests that data and offers various visualizations on charts, dashboards and service maps, as well as real-time anomaly detection.



To use this exporter, you must have a SignalFx account and corresponding data ingest token.

Java versions

This exporter requires Java 7 or above.

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-stats-signalfx:0.19.2'
runtime 'io.opencensus:opencensus-impl:0.19.2'

Register the exporter

public class MyMainClass {
  public static void main(String[] args) {
    // SignalFx token is read from Java system properties.
    // Stats will be reported every second by default.

If you want to pass in the token yourself, or set a different reporting interval, use:

// Use token "your_signalfx_token" and report every 5 seconds.
        .setExportInterval(Duration.create(5, 0))
You can’t perform that action at this time.