Tracing
Visualize the Requests Flow
The tracing system allows developers to visualize call flows in their infrastructure.
Traefik uses OpenTracing, an open standard designed for distributed tracing.
Traefik supports six tracing backends:
Configuration
By default, Traefik uses Jaeger as tracing backend.
To enable the tracing:
File (YAML)
tracing: {}
File (TOML)
[tracing]
CLI
--tracing=true
Common Options
serviceName
Required, Default=”traefik”
Service name used in selected backend.
File (YAML)
tracing:
serviceName: traefik
File (TOML)
[tracing]
serviceName = "traefik"
CLI
--tracing.serviceName=traefik
spanNameLimit
Required, Default=0
Span name limit allows for name truncation in case of very long names. This can prevent certain tracing providers to drop traces that exceed their length limits.
0
means no truncation will occur.
File (YAML)
tracing:
spanNameLimit: 150
File (TOML)
[tracing]
spanNameLimit = 150
CLI
--tracing.spanNameLimit=150