io.opentracing.Tracer Configuration

Zipkin tracer configuration

Type: io.opentracing.Tracer

This is a standalone configuration type, prefix from configuration root: tracing

Configuration options

Optional configuration options
keytypedefault valuedescription
api-version

Version (V1, V2)

V2

Version of Zipkin API to use. Defaults to Version#V2.

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.