TracerBuilder (tracing) Configuration

Tracer configuration.

Type: io.helidon.tracing.TracerBuilder

Configuration options

Optional configuration options
keytypedefault valuedescription
boolean-tags

Map<string, boolean>

 

Tracer level tags that get added to all reported spans.

enabled

boolean

true

When enabled, tracing will be sent. If enabled is false, tracing should use a no-op tracer.

global

boolean

true

When enabled, the created instance is also registered as a global tracer.

host

string

 

Host to use to connect to tracing collector. Default is defined by each tracing integration.

int-tags

Map<string, int>

 

Tracer level tags that get added to all reported spans.

path

string

 

Path on the collector host to use when sending data to tracing collector. Default is defined by each tracing integration.

port

int

 

Port to use to connect to tracing collector. Default is defined by each tracing integration.

protocol

string

 

Protocol to use (such as http or https) to connect to tracing collector. Default is defined by each tracing integration.

service

string

 

Service name of the traced service.

tags

Map<string, string>

 

Tracer level tags that get added to all reported spans.