Class ZipkinPublisher.Builder
java.lang.Object
io.servicetalk.opentracing.zipkin.publisher.ZipkinPublisher.Builder
- Enclosing class:
- ZipkinPublisher
Builder for
ZipkinPublisher.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the ZipkinPublisher with supplied options.localAddress(InetSocketAddress localAddress) Configures the local address.
-
Constructor Details
-
Builder
Create a new instance.- Parameters:
serviceName- the service name.reporter- aReporterimplementation to sendSpans to
-
-
Method Details
-
localAddress
Configures the local address.- Parameters:
localAddress- the localInetSocketAddress.- Returns:
- this.
-
build
Builds the ZipkinPublisher with supplied options.- Returns:
- A ZipkinPublisher which can publish tracing data using the zipkin Reporter API.
-