Class JaegerTracerBuilder

java.lang.Object
io.helidon.tracing.jaeger.JaegerTracerBuilder
All Implemented Interfaces:
Builder<JaegerTracerBuilder,Tracer>, TracerBuilder<JaegerTracerBuilder>, Supplier<Tracer>

public class JaegerTracerBuilder extends Object implements TracerBuilder<JaegerTracerBuilder>
The JaegerTracerBuilder is a convenience builder for Tracer to use with Jaeger.

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

The Jaeger tracer uses environment variables and system properties to override the defaults. Except for protocol and service these are honored, unless overridden in configuration or through the builder methods. See Jaeger documentation for details.

The following table lists jaeger specific defaults and configuration options.

Tracer Configuration Options
option default description
service   Service name
protocol http The protocol to use. By default http is used.
host 127.0.0.1 Host to use
port 14250 Port to be used
path   Path to be used.
exporter-timeout-millis 10 seconds Timeout of exporter
private-key-pem   Client private key in PEM format
client-cert-pem   Client certificate in PEM format
trusted-cert-pem   Trusted certificates in PEM format
sampler-type const with param set to 1 Sampler type const (0 to disable, 1 to always enabled), ratio (sample param contains the ratio as a double)
sampler-param sampler type default Numeric parameter specifying details for the sampler type.
tags   see TracerBuilder
boolean-tags   see TracerBuilder
int-tags   see TracerBuilder