traefik/docs/content/observability/tracing/zipkin.md
2022-04-15 15:44:08 +02:00

1.7 KiB

title description
Traefik Zipkin Documentation Traefik supports several tracing backends, including Zipkin. Learn how to implement it for observability in Traefik Proxy. Read the technical documentation.

Zipkin

To enable the Zipkin tracer:

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

httpEndpoint

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

HTTP endpoint used to send data.

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

sameSpan

Optional, Default=false

Uses SameSpan RPC style traces.

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

id128Bit

Optional, Default=true

Uses 128 bits trace IDs.

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

sampleRate

Required, Default=1.0

The proportion of requests to trace, specified between 0.0 and 1.0.

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