Tracing

    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:

    By default, Traefik uses Jaeger as tracing backend.

    To enable the tracing:

    File (YAML)

    1. tracing: {}

    CLI

      Required, Default=”traefik”

      Service name used in selected backend.

      File (TOML)

      1. tracing:
      2. serviceName: traefik

      CLI

      1. --tracing.serviceName=traefik

      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 (TOML)

      1. tracing:
      2. spanNameLimit: 150

      CLI