This is the OpenTelemetry exporter, sending span data to Jaeger via Thrift over HTTP.
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.
As with the OpenTelemetry SDK itself, this exporter is compatible with Java 8+ and Android API level 24+.