public static class JaegerGrpcSpanExporter.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
JaegerGrpcSpanExporter |
build()
Constructs a new instance of the exporter based on the builder's values.
|
JaegerGrpcSpanExporter.Builder |
setChannel(io.grpc.ManagedChannel channel)
Sets the managed chanel to use when communicating with the backend.
|
JaegerGrpcSpanExporter.Builder |
setDeadline(long deadline)
Sets the max waiting time for the collector to process each span batch.
|
JaegerGrpcSpanExporter.Builder |
setServiceName(String serviceName)
Sets the service name to be used by this exporter.
|
public JaegerGrpcSpanExporter.Builder setServiceName(String serviceName)
serviceName - the service namepublic JaegerGrpcSpanExporter.Builder setChannel(io.grpc.ManagedChannel channel)
channel - the channel to usepublic JaegerGrpcSpanExporter.Builder setDeadline(long deadline)
deadline - the max waiting timepublic JaegerGrpcSpanExporter build()