Zipkin

To enable the Zipkin:

File (TOML)

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

File (YAML)

  1. tracing:
  2. zipkin: {}

CLI

  1. --tracing.zipkin=true

httpEndpoint

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

Zipkin HTTP endpoint used to send data.

File (TOML)

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

File (YAML)

  1. tracing:
  2. 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 (TOML)

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

File (YAML)

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

CLI

  1. --tracing.zipkin.sameSpan=true

id128Bit

Optional, Default=true

Use Zipkin 128 bit trace IDs.

File (TOML)

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

File (YAML)

  1. tracing:
  2. 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 (TOML)

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

File (YAML)

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

CLI

  1. --tracing.zipkin.sampleRate=0.2