public abstract static class JaegerExporterConfiguration.Builder extends Object
JaegerExporterConfiguration.| Modifier and Type | Method and Description |
|---|---|
JaegerExporterConfiguration |
build()
Builds a
JaegerExporterConfiguration. |
abstract JaegerExporterConfiguration.Builder |
setDeadline(io.opencensus.common.Duration deadline)
Sets the deadline for exporting to Jaeger.
|
abstract JaegerExporterConfiguration.Builder |
setServiceName(String serviceName)
Sets the service name.
|
abstract JaegerExporterConfiguration.Builder |
setThriftEndpoint(String thriftEndpoint)
Sets the Thrift endpoint of your Jaeger instance.
|
abstract JaegerExporterConfiguration.Builder |
setThriftSender(io.jaegertracing.thrift.internal.senders.ThriftSender sender)
Sets the Thrift sender.
|
public abstract JaegerExporterConfiguration.Builder setServiceName(String serviceName)
serviceName - the service name.public abstract JaegerExporterConfiguration.Builder setThriftEndpoint(String thriftEndpoint)
At least one of ThriftEndpoint and ThriftSender needs to be specified. If
both ThriftEndpoint and ThriftSender are set, ThriftSender takes
precedence.
thriftEndpoint - the Thrift endpoint.public abstract JaegerExporterConfiguration.Builder setThriftSender(io.jaegertracing.thrift.internal.senders.ThriftSender sender)
At least one of ThriftEndpoint and ThriftSender needs to be specified. If
both ThriftEndpoint and ThriftSender are set, ThriftSender takes
precedence.
sender - the Thrift sender.public abstract JaegerExporterConfiguration.Builder setDeadline(io.opencensus.common.Duration deadline)
deadline - the export deadline.public JaegerExporterConfiguration build()
JaegerExporterConfiguration.JaegerExporterConfiguration.