This is the OpenTelemetry exporter, sending span data to Jaeger via gRPC.
The Jaeger gRPC span exporter can be configured programmatically.
An example of simple Jaeger gRPC exporter initialization. In this case
spans will be sent to a Jaeger gRPC endpoint running on localhost
:
JaegerGrpcSpanExporter exporter =
JaegerGrpcSpanExporter.builder()
.setEndpoint("http://localhost:14250")
.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+.
The proto files in this repository were copied over from the Jaeger main repository. At this moment, they have to be manually synchronized, but a discussion exists on how to properly consume them in a more appropriate manner.