java.lang.Object
io.helidon.tracing.providers.zipkin.ZipkinTracerBuilder
All Implemented Interfaces:
Builder<ZipkinTracerBuilder,Tracer>, OpenTracingTracerBuilder<ZipkinTracerBuilder>, Supplier<Tracer>

@Deprecated(since="4.5.7", forRemoval=true) public class ZipkinTracerBuilder extends Object implements OpenTracingTracerBuilder<ZipkinTracerBuilder>
Deprecated, for removal: This API element is subject to removal in a future version.
Use the OpenTelemetry tracing provider instead.
The ZipkinTracerBuilder is a convenience builder for Tracer to use with Zipkin.

Unless You want to explicitly depend on Zipkin in Your code, please use TracerBuilder.create(String) or TracerBuilder.create(Config) that is abstracted.

The following table lists zipkin specific defaults and configuration options.

Tracer Configuration Options
option default description
api-version 2 Version of the Zipkin API to use, currently supports 1 and 2
service   Required service name
protocol http see TracerBuilder
host 127.0.0.1 see TracerBuilder
port 9411 see TracerBuilder
path /api/v2/spans Default for ZipkinTracerBuilder.Version.V2, which is the default version
tags   see TracerBuilder
boolean-tags   see TracerBuilder
int-tags   see TracerBuilder
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Deprecated, for removal: This API element is subject to removal in a future version.
    Versions available for Zipkin API.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Deprecated, for removal: This API element is subject to removal in a future version.
    Default constructor, does not modify state.
  • Method Summary

    Modifier and Type
    Method
    Description
    addTracerTag(String key, boolean value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Tracer level tags that get added to all reported spans.
    addTracerTag(String key, Number value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Tracer level tags that get added to all reported spans.
    addTracerTag(String key, String value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Tracer level tags that get added to all reported spans.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Builds the Tracer for Zipkin based on the configured parameters.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Host to use to connect to tracing collector.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override path to use.
    collectorPort(int port)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Port to use to connect to tracing collector.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Protocol to use (such as http or https) to connect to tracing collector.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Set the collector URI used for sending tracing data.
    config(Config config)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Load configuration of tracer from configuration of the application.
    create(Config config)
    Deprecated, for removal: This API element is subject to removal in a future version.
    create(Config config)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Create a new builder based on values in configuration.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return whether this tracer is an enabled tracer with a real backend.
    enabled(boolean enabled)
    Deprecated, for removal: This API element is subject to removal in a future version.
    When enabled, tracing will be sent.
    forService(String serviceName)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get a Zipkin Tracer builder for processing tracing data of a service with a given name.
    registerGlobal(boolean global)
    Deprecated, for removal: This API element is subject to removal in a future version.
    When enabled, the created instance is also registered as a global tracer.
    sender(Sender sender)
    Deprecated, for removal: This API element is subject to removal in a future version.
    The sender to use for sending events to Zipkin.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Service name of the traced service.
    <B> B
    unwrap(Class<B> builderClass)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Access the underlying builder by specific type.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Version of Zipkin API to use.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.helidon.common.Builder

    get, identity, update

    Methods inherited from interface io.helidon.tracing.providers.opentracing.OpenTracingTracerBuilder

    config