Class ZipkinTracingOptions

    • Constructor Detail

      • ZipkinTracingOptions

        public ZipkinTracingOptions​(brave.http.HttpTracing httpTracing)
      • ZipkinTracingOptions

        public ZipkinTracingOptions​(brave.Tracing tracing)
      • ZipkinTracingOptions

        public ZipkinTracingOptions()
      • ZipkinTracingOptions

        public ZipkinTracingOptions​(JsonObject json)
    • Method Detail

      • getServiceName

        public String getServiceName()
        Returns:
        the service name
      • setServiceName

        public ZipkinTracingOptions setServiceName​(String serviceName)
        Set the service name to use.
        Parameters:
        serviceName - the service name
        Returns:
        this instance
      • isSupportsJoin

        public boolean isSupportsJoin()
        Returns:
        Tracing.Builder.supportsJoin(boolean) option value
      • setSupportsJoin

        public ZipkinTracingOptions setSupportsJoin​(boolean supportsJoin)
        Configures Tracing.Builder.supportsJoin(boolean) option.
        Parameters:
        supportsJoin - the config value
        Returns:
        this instance
      • getSenderOptions

        public HttpSenderOptions getSenderOptions()
        Returns:
        the sender options
      • setSenderOptions

        public ZipkinTracingOptions setSenderOptions​(HttpSenderOptions senderOptions)
        Set the HTTP sender options to use for reporting spans.
        Parameters:
        senderOptions - the options
        Returns:
        this instance
      • getSampler

        public brave.sampler.Sampler getSampler()
        Returns:
        the Zipkin Sampler
      • setSampler

        public ZipkinTracingOptions setSampler​(brave.sampler.Sampler sampler)
        Set the Zipkin Sampler.
        Parameters:
        sampler - the options
        Returns:
        this instance
      • buildTracer

        public ZipkinTracer buildTracer()
        Build the tracer and return it.