Description

Common settings for tracers including settings for span processors and secure client connections.

Usages

Configuration options

KeyKindTypeDefault ValueDescription
boolean-tagsMAPBoolean Tracer-level tags with boolean values added to all reported spans
client-cert-pemVALUEi.h.c.c.Resource Client certificate for connecting securely to the tracing collector
enabledVALUEBooleantrueWhether to enable tracing
export-timeoutVALUEDurationPT10SMaximum time a transmission can be in progress before being cancelled
globalVALUEBooleantrueWhether to create and register a tracer as the global tracer
hostVALUEString Host used in connecting to the tracing collector
int-tagsMAPInteger Tracer level tags with integer values added to all reported spans
max-export-batch-sizeVALUEInteger512Maximum number of spans grouped for transmission together; typically does not exceed #maxQueueSize() (batch processing)
max-queue-sizeVALUEInteger2048Maximum number of spans retained before discarding any not sent to the tracing collector (batch processing)
pathVALUEString Path at the collector host and port used when sending trace data to the collector
portVALUEInteger Port used in connecting to the tracing collector
private-key-pemVALUEi.h.c.c.Resource Private key for connecting securely to the tracing collector
protocolVALUEString Protocol (such as http or https) used in connecting to the tracing collector
sampler-paramVALUEDouble1.0Parameter value used by the selected sampler; interpretation depends on the sampler type
sampler-typeVALUEi.h.t.SamplerTypeCONSTANTType of sampler for collecting spans
schedule-delayVALUEDurationPT5SDelay between consecutive transmissions to the tracing collector (batch processing)
serviceVALUEString Service name of the traced service
span-processor-typeVALUEi.h.t.SpanProcessorTypeBATCHType of span processor for accumulating spans before transmission to the tracing collector
tagsMAPString Tracer-level tags with String values added to all reported spans
trusted-cert-pemVALUEi.h.c.c.Resource Trusted certificates for connecting to the tracing collector
uriVALUEURI URI for the collector to which to send tracing data

See the manifest for all available types.