traefik/docs/content/observability/tracing/zipkin.md
2019-07-22 09:58:04 +02:00

1.7 KiB

Zipkin

To enable the Zipkin:

[tracing]
  [tracing.zipkin]
tracing:
  zipkin: {}
--tracing.zipkin=true

httpEndpoint

Required, Default="http://localhost:9411/api/v1/spans"

Zipkin HTTP endpoint used to send data.

[tracing]
  [tracing.zipkin]
    httpEndpoint = "http://localhost:9411/api/v1/spans"
tracing:
  zipkin:
    httpEndpoint: http://localhost:9411/api/v1/spans
--tracing.zipkin.httpEndpoint="http://localhost:9411/api/v1/spans"

debug

Optional, Default=false

Enable Zipkin debug.

[tracing]
  [tracing.zipkin]
    debug = true
tracing:
  zipkin:
    debug: true
--tracing.zipkin.debug=true

sameSpan

Optional, Default=false

Use Zipkin SameSpan RPC style traces.

[tracing]
  [tracing.zipkin]
    sameSpan = true
tracing:
  zipkin:
    sameSpan: true
--tracing.zipkin.sameSpan=true

id128Bit

Optional, Default=true

Use Zipkin 128 bit root span IDs.

[tracing]
  [tracing.zipkin]
    id128Bit = false
tracing:
  zipkin:
    id128Bit: false
--tracing.zipkin.id128Bit=false

sampleRate

Required, Default=1.0

The rate between 0.0 and 1.0 of requests to trace.

[tracing]
  [tracing.zipkin]
    sampleRate = 0.2
tracing:
  zipkin:
    sampleRate: 0.2
--tracing.zipkin.sampleRate="0.2"