Configuration of distributed tracing.

The Query Engine can use either Open Telemetry (using HTTP) or Zipkin.

All services participating in a distributed tracing must use the same propagation technique - it is important that is configured correctly.

Name

Type

Details

serviceName

Set the service name to use in zipkin spans.

protocol

uk.co.spudsoft.query.main.TracingProtocol

Set the protocol to use to send distributed tracing data.

url

Set the URL to send distributed tracing data to.

sampler

uk.co.spudsoft.query.main.TracingSampler

Set the sampler to use to decide whether or not a given span should be reported.

propagator

uk.co.spudsoft.query.main.TracingPropagator

Get the propagator to use to encode spans in requests sent/received.All services in a given environment must use the same propagator.

rootSampler

uk.co.spudsoft.query.main.TracingSampler

Get the sampler to use when sampler is set to and there is no parent span.If this value is set to it will be treated as . If this value is set to the will be used as the ratio. If sampler is not set to this value is ignored.

sampleRatio

double

Set the sample ratio to use when sample is set to .If sampler is not set to this value is ignored.