Zipkin

To enable the Zipkin:

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

Zipkin 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

Use Zipkin 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

Use Zipkin 128 bit 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 rate between 0.0 and 1.0 of requests to trace.

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