Zipkin
To enable the Zipkin tracer:
File (YAML)
tracing:
zipkin: {}
File (TOML)
[tracing]
[tracing.zipkin]
CLI
--tracing.zipkin=true
httpEndpoint
Required, Default=”http://localhost:9411/api/v2/spans“
HTTP endpoint used to send data.
File (YAML)
tracing:
zipkin:
httpEndpoint: http://localhost:9411/api/v2/spans
File (TOML)
[tracing]
[tracing.zipkin]
httpEndpoint = "http://localhost:9411/api/v2/spans"
CLI
--tracing.zipkin.httpEndpoint=http://localhost:9411/api/v2/spans
sameSpan
Optional, Default=false
Uses SameSpan RPC style traces.
File (YAML)
tracing:
zipkin:
sameSpan: true
File (TOML)
[tracing]
[tracing.zipkin]
sameSpan = true
CLI
--tracing.zipkin.sameSpan=true
id128Bit
Optional, Default=true
Uses 128 bits trace IDs.
File (YAML)
tracing:
zipkin:
id128Bit: false
File (TOML)
[tracing]
[tracing.zipkin]
id128Bit = false
CLI
--tracing.zipkin.id128Bit=false
sampleRate
Required, Default=1.0
The proportion of requests to trace, specified between 0.0 and 1.0.
File (YAML)
tracing:
zipkin:
sampleRate: 0.2
File (TOML)
[tracing]
[tracing.zipkin]
sampleRate = 0.2
CLI
--tracing.zipkin.sampleRate=0.2