Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.05 KB

File metadata and controls

29 lines (19 loc) · 1.05 KB

OpenTelemetry - Jaeger Exporter - Thrift

Javadocs

This is the OpenTelemetry exporter, sending span data to Jaeger via Thrift over HTTP.

Configuration

The Jaeger Thrift span exporter can be configured programmatically.

An example of simple Jaeger Thrift exporter initialization. In this case spans will be sent to a Jaeger Thrift endpoint running on localhost:

JaegerThriftSpanExporter exporter =
        JaegerThriftSpanExporter.builder()
            .setEndpoint("http://localhost:14268/api/traces")
            .build();

If you need configuration via environment variables and/or system properties, you will want to use the autoconfigure module.

Compatibility

As with the OpenTelemetry SDK itself, this exporter is compatible with Java 8+ and Android API level 24+.