Zipkin

To enable the Zipkin tracer:

File (YAML)

  1. tracing:
  2. zipkin: {}

File (TOML)

  1. [tracing]
  2. [tracing.zipkin]

CLI

  1. --tracing.zipkin=true

httpEndpoint

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

HTTP endpoint used to send data.

File (YAML)

  1. tracing:
  2. zipkin:
  3. httpEndpoint: http://localhost:9411/api/v2/spans

File (TOML)

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

CLI

  1. --tracing.zipkin.httpEndpoint=http://localhost:9411/api/v2/spans

sameSpan

Optional, Default=false

Uses SameSpan RPC style traces.

File (YAML)

  1. tracing:
  2. zipkin:
  3. sameSpan: true

File (TOML)

  1. [tracing]
  2. [tracing.zipkin]
  3. sameSpan = true

CLI

  1. --tracing.zipkin.sameSpan=true

id128Bit

Optional, Default=true

Uses 128 bits trace IDs.

File (YAML)

  1. tracing:
  2. zipkin:
  3. id128Bit: false

File (TOML)

  1. [tracing]
  2. [tracing.zipkin]
  3. id128Bit = false

CLI

  1. --tracing.zipkin.id128Bit=false

sampleRate

Required, Default=1.0

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

File (YAML)

  1. tracing:
  2. zipkin:
  3. sampleRate: 0.2

File (TOML)

  1. [tracing]
  2. [tracing.zipkin]
  3. sampleRate = 0.2

CLI

  1. --tracing.zipkin.sampleRate=0.2